test(web): refresh running-turn snapshots
This commit is contained in:
parent
a2a79ada82
commit
aa121e409f
9 changed files with 8 additions and 5 deletions
|
|
@ -134,7 +134,10 @@ describe('web e2e: live-turn interactions (cancel / error / retry)', () => {
|
|||
// The marker IS the synchronization: the stream is provably parked in the
|
||||
// hang (prefix chunks delivered to the loop) before the stop click.
|
||||
await expect.poll(() => existsSync(marker), { timeout: 15_000 }).toBe(true)
|
||||
await expect(page.getByRole('status').filter({ hasText: 'Deep diving...' }).isVisible()).resolves.toBe(true)
|
||||
await expect.poll(
|
||||
() => page.getByRole('status').filter({ hasText: 'Deep diving...' }).isVisible(),
|
||||
{ timeout: 10_000 },
|
||||
).toBe(true)
|
||||
const loadingSnapshot = await captureStableAria(page, '[class*="centerCol"]', scaffold!.workspaceCwd)
|
||||
await compareOrRefreshGolden(LOADING_EXPECTED, loadingSnapshot, MODE)
|
||||
await page.getByRole('button', { name: 'Stop generating' }).click()
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
- img
|
||||
- button "Edit":
|
||||
- img
|
||||
- button "Context injection"
|
||||
- paragraph: partial
|
||||
- text: Stopped
|
||||
- button "Copy":
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
- img
|
||||
- button "Edit":
|
||||
- img
|
||||
- button "Context injection"
|
||||
- textbox "Message the agent"
|
||||
- button "Commands":
|
||||
- img
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
- img
|
||||
- button "Edit":
|
||||
- img
|
||||
- button "Context injection"
|
||||
- paragraph: partial
|
||||
- status: Deep diving...
|
||||
- textbox "Message the agent"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
- img
|
||||
- button "Edit":
|
||||
- img
|
||||
- button "Context injection"
|
||||
- group:
|
||||
- status: Retried model request (1/2) · {{duration}}
|
||||
- button "Think The user is asking for a one-sentence description of event sourcing. This is a straightforward knowledge question that doesn't require any skill loading or tool calls.":
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
- button "Edit":
|
||||
- img
|
||||
- paragraph: partial
|
||||
- status: Deep diving...
|
||||
- button "2 queued messages"
|
||||
- textbox "Message the agent"
|
||||
- button "Commands":
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
- button "Edit":
|
||||
- img
|
||||
- paragraph: partial
|
||||
- status: Deep diving...
|
||||
- button "2 queued messages" [disabled] [expanded]
|
||||
- list:
|
||||
- listitem:
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
- button "Edit":
|
||||
- img
|
||||
- paragraph: partial
|
||||
- status: Deep diving...
|
||||
- list:
|
||||
- listitem:
|
||||
- text: Edited queue item
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
- img
|
||||
- img
|
||||
- text: Ask question waiting
|
||||
- status: Deep diving...
|
||||
- region "Ready to continue?":
|
||||
- text: Checkpoint
|
||||
- heading "Ready to continue?" [level=2]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue