mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
test(web-shell): reach the owning conversation before retrying a foreign pending
A pending prompt owned by another conversation no longer offers retry in the foreign session: it renders "Open the original conversation" instead. The spec still clicked "Retry the same request" straight from the foreign session, so the two foreign variants timed out waiting for a button that is deliberately absent from this head while the owner variant passed. Follow the redirect first, then retry. Owner variant unchanged. Co-authored-by: Qwen-Coder <[email protected]> Patrol-Run: qwen-pr-closeout/jmvwo8rnm58
This commit is contained in:
1 parent
ff4c519cb4
commit
932a61d8dc
1 file changed
+6
@@ -119,6 +119,12 @@ for (const retryFrom of ['owner', 'foreign', 'restored-foreign']) {
|
||||
if (retryFrom === 'owner') {
|
||||
await choose('A');
|
||||
await expect(editor).toContainText('Accepted A input');
|
||||
} else {
|
||||
// A foreign session owns no retry affordance: it redirects to the
|
||||
// conversation holding the pending prompt instead.
|
||||
await page
|
||||
.getByRole('button', { name: 'Open the original conversation' })
|
||||
.click();
|
||||
}
|
||||
|
||||
await page.getByRole('button', { name: 'Retry the same request' }).click();
|
||||
|
||||
Reference in new issue
Block a user