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): fix plugins test on win (#13860)
Pavel Feldman1ffd18f131c0
diff --git a/tests/playwright-test/plugins.spec.ts b/tests/playwright-test/plugins.spec.tsindex 2df73c104e..1ccee77738 100644--- a/tests/playwright-test/plugins.spec.ts+++ b/tests/playwright-test/plugins.spec.ts@@ -22,7 +22,7 @@ test('event order', async ({ runInlineTest, legacyConfigLoader }, testInfo) => {const result = await runInlineTest({'log.ts': `import { appendFileSync } from 'fs';- const log = (...args) => appendFileSync('${log}', args.join(' ') + '\\n');+ const log = (...args) => appendFileSync('${log.replace(/\\/g, '\\\\')}', args.join(' ') + '\\n');export default log;`,'test.spec.ts': `