Skip to content

Commit e4af12e

Browse files
committed
fix: correct wpAdminbase path for multisite mode in flat files setup
1 parent da2faf9 commit e4af12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/flat-files.setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, test as setup } from '@playwright/test'
22

33
setup('enable flat files', async ({ page }) => {
4-
const wpAdminbase = process.env.WP_E2E_MULTISITE_MODE ? '/wp-admin' : '/wp-admin/network'
4+
const wpAdminbase = process.env.WP_E2E_MULTISITE_MODE ? '/wp-admin/network' : '/wp-admin'
55

66
await page.goto(`${wpAdminbase}/admin.php?page=snippets-settings`)
77
await page.waitForSelector('#wpbody-content')

0 commit comments

Comments
 (0)