test(web): wait for model selection menu closure
This commit is contained in:
1 parent
43846e7032
commit
fd5d68586f
1 file changed
+2
@@ -82,6 +82,8 @@ describe.each(MODE === 'record' ? ['deepseek-official'] : ['deepseek-official',
|
||||
await page.getByRole('menuitem', { name: /^Model\b/ }).click()
|
||||
await page.getByRole('menuitemradio', { name, exact: true }).click()
|
||||
await expect.poll(() => trigger.getAttribute('aria-label')).toContain(name)
|
||||
// The durable projection can update the label before the selection reply closes the menu.
|
||||
await expect.poll(() => trigger.getAttribute('aria-expanded'), { timeout: 10_000 }).toBe('false')
|
||||
}
|
||||
|
||||
beforeAll(async () => {
|
||||
|
||||
Reference in new issue
Block a user