mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-01 18:07:00 +01:00
Merge branch 'codex/speko-voice-ui' into codex/speko-voice-qualification
* codex/speko-voice-ui: test: begin exact run retry at canonical agent route
This commit is contained in:
commit
fbd4a7ae88
1 file changed
+3
-3
@@ -1435,12 +1435,12 @@ test.describe("Exact failed chat run retry", () => {
|
||||
|
||||
const startPath =
|
||||
surface === "agent run"
|
||||
? `/${seed.prefix}/agents/${seed.agentId}/runs/${failedRunId}`
|
||||
? `/${seed.prefix}/agents/maya/runs/${failedRunId}`
|
||||
: `/${seed.prefix}/inbox/all`;
|
||||
await page.goto(startPath);
|
||||
if (surface === "agent run") {
|
||||
// Canonicalization reloads the agent query. Interact after that
|
||||
// navigation so a remount cannot discard the retry mutation result.
|
||||
// Begin on the canonical route: observing the URL replacement
|
||||
// alone can race the remount and discard retry mutation feedback.
|
||||
await expect(page).toHaveURL(
|
||||
new RegExp(`/${seed.prefix}/agents/maya/runs/${failedRunId}$`),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user