mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test(screencast): do print actual pixels on failure (#3442)
This commit is contained in:
parent
d9727c62df
commit
4bad89fa37
@ -91,7 +91,7 @@ function expectAll(pixels, rgbaPredicate) {
|
||||
checkPixel(i);
|
||||
} catch(e) {
|
||||
// Log pixel values on failure.
|
||||
console.log(pixels);
|
||||
e.message += `\n\nActual pixels=[${pixels}]`;
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user