fix(ci): await token stats before aria snapshot
This commit is contained in:
@@ -128,6 +128,7 @@ describe('web e2e: message IconActions and clocks on settled history', () => {
|
|||||||
onTestFailed(() => saveFailureShot(page, 'web-e2e-message-actions-aria'))
|
onTestFailed(() => saveFailureShot(page, 'web-e2e-message-actions-aria'))
|
||||||
await page.getByRole('button', { name: /^Select model, current/ })
|
await page.getByRole('button', { name: /^Select model, current/ })
|
||||||
.waitFor({ timeout: 10_000 })
|
.waitFor({ timeout: 10_000 })
|
||||||
|
await page.getByText(/Cache hit \d+%/u).first().waitFor({ timeout: 10_000 })
|
||||||
// Keep a footer focused so opacity-hidden actions stay in the a11y tree
|
// Keep a footer focused so opacity-hidden actions stay in the a11y tree
|
||||||
// as an active/focused control during the capture.
|
// as an active/focused control during the capture.
|
||||||
await page.getByRole('button', { name: 'Copy' }).first().focus()
|
await page.getByRole('button', { name: 'Copy' }).first().focus()
|
||||||
|
|||||||
Reference in New Issue
Block a user