test(web): align snapshots with responsive chrome
This commit is contained in:
@@ -608,6 +608,9 @@ describe('web e2e: long Chat scroll contract', () => {
|
|||||||
await world.page.getByRole('tab', { name: 'Trajectory', exact: true }).click()
|
await world.page.getByRole('tab', { name: 'Trajectory', exact: true }).click()
|
||||||
await world.page.getByLabel('Trajectory timeline').waitFor({ timeout: 30_000 })
|
await world.page.getByLabel('Trajectory timeline').waitFor({ timeout: 30_000 })
|
||||||
await world.page.setViewportSize({ width: 700, height: 900 })
|
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 world.page.getByRole('tab', { name: 'Chat', exact: true }).click()
|
||||||
await nextPaint(world.page)
|
await nextPaint(world.page)
|
||||||
await expectSameFlowTop(world.page, sessionAnchor)
|
await expectSameFlowTop(world.page, sessionAnchor)
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
- textbox "Describe what you want to build"
|
- textbox "Describe what you want to build"
|
||||||
- button "Commands":
|
- button "Commands":
|
||||||
- img
|
- img
|
||||||
|
- tooltip "Commands"
|
||||||
- 'button "Access mode, current: Workspace Write"': Workspace Write
|
- 'button "Access mode, current: Workspace Write"': Workspace Write
|
||||||
- button "Select model, current DeepSeek-V4-Flash":
|
- button "Select model, current DeepSeek-V4-Flash":
|
||||||
- text: DeepSeek-V4-Flash
|
- text: DeepSeek-V4-Flash
|
||||||
|
|||||||
Reference in New Issue
Block a user