|
|
@@ -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 () => {
|