Show "marked as failure" messages from Browsertime. (#3272)
And send that data automatically to the data storage.
This commit is contained in:
parent
15b96b0a22
commit
c819ee0717
|
|
@ -31,5 +31,6 @@ module.exports = [
|
|||
'statistics.pageinfo.layoutShift',
|
||||
'statistics.pageinfo.domElements',
|
||||
'statistics.extras.*',
|
||||
'statistics.android.batteryTemperature.*'
|
||||
'statistics.android.batteryTemperature.*',
|
||||
'markedAsFailure'
|
||||
];
|
||||
|
|
|
|||
|
|
@ -15,6 +15,13 @@ block content
|
|||
b #{d.browsertime.pageSummary.info.title}
|
||||
p !{d.browsertime.pageSummary.info.description}
|
||||
|
||||
if d.browsertime && d.browsertime.pageSummary && d.browsertime.pageSummary.markedAsFailure
|
||||
.errors
|
||||
b This test was marked as a failure with the following #{h.plural(d.browsertime.pageSummary.failureMessages.length, 'message')}:
|
||||
ul
|
||||
each failureMessage in d.browsertime.pageSummary.failureMessages
|
||||
li #{failureMessage}
|
||||
|
||||
p
|
||||
.large All runs:
|
||||
each val, index in runPages
|
||||
|
|
|
|||
Loading…
Reference in New Issue