diff --git a/packages/scripts/config/playwright.config.js b/packages/scripts/config/playwright.config.js index 16ee210bdfb86..aa484d5462e9f 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',