epic(legibility): pre-flight — make tests trustworthy (#402) #430
@@ -92,7 +92,9 @@ test.describe('Notification deep-link scroll', () => {
|
|||||||
await openDeepLink(page);
|
await openDeepLink(page);
|
||||||
|
|
||||||
// Transcribe mode was auto-entered — Fertig button is visible
|
// Transcribe mode was auto-entered — Fertig button is visible
|
||||||
await expect(page.getByRole('button', { name: 'Fertig' })).toBeVisible({ timeout: 15_000 });
|
await expect(page.getByRole('button', { name: 'Fertig', exact: true })).toBeVisible({
|
||||||
|
timeout: 15_000
|
||||||
|
});
|
||||||
|
|
||||||
// The target comment article is in the DOM and visible
|
// The target comment article is in the DOM and visible
|
||||||
const article = page.locator(`#comment-${commentId}`);
|
const article = page.locator(`#comment-${commentId}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user