Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test(screencast): do print actual pixels on failure (#3442)
Yury Semikhatsky4bad89fa37b4
diff --git a/test/screencast.spec.ts b/test/screencast.spec.tsindex 9440fa8cfa..171b6733b2 100644--- a/test/screencast.spec.ts+++ b/test/screencast.spec.ts@@ -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;}}