From b69b8889fe7f2c03e71384fa7d3949f426d165ab Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Sat, 9 Oct 2021 00:12:17 +0200 Subject: [PATCH] test: fix broken relative outputDir test #9380 --- tests/playwright-test/test-output-dir.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/test-output-dir.spec.ts b/tests/playwright-test/test-output-dir.spec.ts index 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); });