Merge pull request 'Stabilize the nonblocking choice browser baseline' (#91) from fix/workbench-choice-browser-wait into main
This commit was merged in pull request #91.
This commit is contained in:
@@ -159,6 +159,8 @@ test('keeps optional choices nonblocking and supports defer, reopen, free input
|
|||||||
await page.getByRole('button', { name: '发送', exact: true }).click()
|
await page.getByRole('button', { name: '发送', exact: true }).click()
|
||||||
await expect.poll(() => state.sent?.text).toBe('先聊一下本周的安排')
|
await expect.poll(() => state.sent?.text).toBe('先聊一下本周的安排')
|
||||||
expect(state.sent?.taskRef).toBeUndefined()
|
expect(state.sent?.taskRef).toBeUndefined()
|
||||||
|
// Receiving the POST is earlier than rendering its legitimate foreground reply.
|
||||||
|
await expect(page.locator('.msg.assistant[data-msg-id="live:run1"]')).toBeVisible()
|
||||||
const assistantCount = await page.locator('.msg.assistant').count()
|
const assistantCount = await page.locator('.msg.assistant').count()
|
||||||
await inline.getByRole('button', { name: '继续选择', exact: true }).click()
|
await inline.getByRole('button', { name: '继续选择', exact: true }).click()
|
||||||
await inline.getByRole('checkbox', { name: '生成摘要', exact: true }).check()
|
await inline.getByRole('checkbox', { name: '生成摘要', exact: true }).check()
|
||||||
|
|||||||
Reference in New Issue
Block a user