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: fix broken relative outputDir test #9380
Max Schmittb69b8889fe7f
diff --git a/tests/playwright-test/test-output-dir.spec.ts b/tests/playwright-test/test-output-dir.spec.tsindex ccb8555b33..dcb349ba72 100644--- a/tests/playwright-test/test-output-dir.spec.ts+++ b/tests/playwright-test/test-output-dir.spec.ts@@ -413,7 +413,7 @@ test('should have output dir based on rootDir (cwd)', async ({ runInlineTest },`,}, {}, {}, { usesCustomOutputDir: true });expect(result.exitCode).toBe(0);- expect(fs.existsSync(testInfo.outputPath('test-results', 'example-hello-world', 'hello')));+ expect(fs.existsSync(testInfo.outputPath('test-results', 'example-hello-world', 'foo.txt'))).toBe(true);});