Open Bug 1866375 Opened 1 year ago Updated 1 year ago

For WPT Print Reftests, `--reftest-screenshot=always` only logs screenshots of the last page

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jwatt, Unassigned)

Details

For WPT Print Reftests, --reftest-screenshot=always only logs screenshots of the last page in the print output.

For example:

./mach wpt --log-tbpl=$PWD/printing-test.log --reftest-screenshot=always testing/web-platform/tests/css/printing/page-size-001-print.html

The severity field is not set for this bug.
:jgraham, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(james)

I think it's supposed to be the screenshot of the first page that fails, if any: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py#538-544

We could fix this, but we'd need to change the data format to signal that we're sending more than one screenshot; see https://searchfox.org/mozilla-central/source/testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py#266-277

Severity: -- → S3
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.