mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-14 04:01:35 +00:00
test(web): await sidebar collapse before snapshots
This commit is contained in:
@@ -433,6 +433,8 @@ describe('web e2e: seeded history renders through cold resume', () => {
|
||||
// Put the column back so the later goldens see the default frame.
|
||||
await column.locator('[data-sidebar-right-toggle]').click()
|
||||
await expect.poll(() => frame.getAttribute('data-rightbar-collapsed'), { timeout: 5_000 }).toBe('true')
|
||||
await page.getByRole('button', { name: 'Open the sidebar', exact: true }).waitFor({ state: 'visible' })
|
||||
await page.getByRole('navigation', { name: 'Turn navigation', exact: true }).waitFor({ state: 'visible' })
|
||||
})
|
||||
|
||||
it.skipIf(MODE === 'record')('expands the cold-resumed compact summary', async () => {
|
||||
|
||||
@@ -4,9 +4,14 @@
|
||||
- button "Session log":
|
||||
- text: Session log
|
||||
- img
|
||||
- button "Open the sidebar":
|
||||
- img
|
||||
- tablist:
|
||||
- tab "Chat" [selected]
|
||||
- tab "Trajectory"
|
||||
- navigation "Turn navigation":
|
||||
- button "Jump to turn 1"
|
||||
- button "Jump to turn 2"
|
||||
- button "System prompt":
|
||||
- img
|
||||
- img
|
||||
|
||||
@@ -4,9 +4,14 @@
|
||||
- button "Session log":
|
||||
- text: Session log
|
||||
- img
|
||||
- button "Open the sidebar":
|
||||
- img
|
||||
- tablist:
|
||||
- tab "Chat" [selected]
|
||||
- tab "Trajectory"
|
||||
- navigation "Turn navigation":
|
||||
- button "Jump to turn 1"
|
||||
- button "Jump to turn 2"
|
||||
- button "System prompt":
|
||||
- img
|
||||
- img
|
||||
|
||||
Reference in New Issue
Block a user