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
fix(test): display correct error when golden files mismatch (#3234)
Joel Einbinder08916781a8d9
diff --git a/test/jest/playwrightEnvironment.js b/test/jest/playwrightEnvironment.jsindex b89d753e18..de71ce92b3 100644--- a/test/jest/playwrightEnvironment.js+++ b/test/jest/playwrightEnvironment.js@@ -151,7 +151,7 @@ class PlaywrightEnvironment extends NodeEnvironment {snapshotState.matched++;elsesnapshotState.unmatched++;- return {pass, message};+ return {pass, message: () => message};};this.global.expect.extend({ toBeGolden });}