|
|
@@ -608,6 +608,9 @@ describe('web e2e: long Chat scroll contract', () => {
|
|
|
await world.page.getByRole('tab', { name: 'Trajectory', exact: true }).click()
|
|
|
await world.page.getByLabel('Trajectory timeline').waitFor({ timeout: 30_000 })
|
|
|
await world.page.setViewportSize({ width: 700, height: 900 })
|
|
|
+ // The narrow breakpoint auto-collapses the sidebar. Re-open it because
|
|
|
+ // this scenario switches sessions while pinning the narrow Chat scroll owner.
|
|
|
+ await world.page.getByRole('button', { name: 'Open sidebar', exact: true }).click()
|
|
|
await world.page.getByRole('tab', { name: 'Chat', exact: true }).click()
|
|
|
await nextPaint(world.page)
|
|
|
await expectSameFlowTop(world.page, sessionAnchor)
|