Skip to content

Commit d301af8

Browse files
committed
Merge remote-tracking branch 'origin/improvement/platform-core-chat' into test/chat-steering-e2e-final
2 parents ac54681 + 3fcc730 commit d301af8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎apps/sim/platform/checks/live/session.ts‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ export async function signIn(page: Page, email: string, target: string) {
5555
return
5656
}
5757
await signInThroughForm(page, email, target)
58-
// The login page returns to the zone root, not to the deep link it was sent from.
59-
await page.goto(target)
58+
// The login page returns to the zone root, not to the deep link it was sent from, and that
59+
// redirect can abort a navigation started while it is still running.
60+
await expect(async () => {
61+
await page.goto(target)
62+
}).toPass({ timeout: 30_000 })
6063
mkdirSync(path.dirname(SESSIONS_FILE), { recursive: true })
6164
writeFileSync(
6265
SESSIONS_FILE,

0 commit comments

Comments
 (0)