Update details-session-lifecycle.e2e.ts
This commit is contained in:
@@ -121,7 +121,7 @@ describe.skipIf(MODE === 'record')('web e2e: details panel follows the current S
|
|||||||
expect(await page.getByText('Details', { exact: true }).isVisible()).toBe(false)
|
expect(await page.getByText('Details', { exact: true }).isVisible()).toBe(false)
|
||||||
|
|
||||||
await page.getByRole('button', { name: /^(?:New session|新.*会话)$/ }).last().click()
|
await page.getByRole('button', { name: /^(?:New session|新.*会话)$/ }).last().click()
|
||||||
await page.getByText("Let's start building", { exact: false }).waitFor({ timeout: 15_000 })
|
await page.getByText("Into the unknown", { exact: false }).waitFor({ timeout: 15_000 })
|
||||||
await expect.poll(() => detailsTrack(page), { timeout: 5_000 }).toBe(0)
|
await expect.poll(() => detailsTrack(page), { timeout: 5_000 }).toBe(0)
|
||||||
expect(await page.getByText('Details', { exact: true }).isVisible()).toBe(false)
|
expect(await page.getByText('Details', { exact: true }).isVisible()).toBe(false)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user