Skip to content

Commit

Permalink
Fix path to globalSetup in default Playwright config
Browse files Browse the repository at this point in the history
Oversight from #54856
  • Loading branch information
swissspidy committed Oct 2, 2023
1 parent e3a253e commit f2bd6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/config/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f2bd6bb

Please sign in to comment.