From f2bd6bbcc14a4f2dccbb9d323c69916e771d0b3d Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 2 Oct 2023 22:32:11 +0200 Subject: [PATCH] Fix path to `globalSetup` in default Playwright config Oversight from #54856 --- packages/scripts/config/playwright.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scripts/config/playwright.config.js b/packages/scripts/config/playwright.config.js index 16ee210bdfb86e..aa484d5462e9fa 100644 --- a/packages/scripts/config/playwright.config.js +++ b/packages/scripts/config/playwright.config.js @@ -25,7 +25,7 @@ const config = defineConfig( { snapshotPathTemplate: '{testDir}/{testFileDir}/__snapshots__/{arg}-{projectName}{ext}', globalSetup: fileURLToPath( - new URL( './playwright/global-setup.ts', 'file:' + __filename ).href + new URL( './playwright/global-setup.js', 'file:' + __filename ).href ), use: { baseURL: process.env.WP_BASE_URL || 'http://localhost:8889',