test(web): follow connectFreshWorkspace's staged-directory signature

This commit is contained in:
creatixchu
2026-07-31 18:46:22 +08:00
parent 404c58717a
commit 2dde4e7f09

View File

@@ -57,7 +57,7 @@ describe('web e2e: startup auto-selection', () => {
await page.waitForSelector('[class*="frame"]', { timeout: 30_000 }) await page.waitForSelector('[class*="frame"]', { timeout: 30_000 })
// A registered workspace is the precondition for auto-selection: the first // A registered workspace is the precondition for auto-selection: the first
// load has nothing to select, so the reload below is the path under test. // load has nothing to select, so the reload below is the path under test.
await connectFreshWorkspace(page, 'startup-auto-selection') await connectFreshWorkspace(page, scaffold.workspaceCwd, 'startup-auto-selection')
}, 180_000) }, 180_000)
afterAll(async () => { afterAll(async () => {