test(tracker-web): stabilize dashboard e2e assertion
This commit is contained in:
parent
359d99b67f
commit
6c49296d40
@ -272,7 +272,9 @@ test.describe('Tracker — Authenticated dashboard', () => {
|
||||
|
||||
await expect(page).toHaveURL(/\/dashboard/, { timeout: 10000 });
|
||||
await expect(page.getByRole('heading', { name: 'Dashboard' })).toBeVisible();
|
||||
await expect(page.getByText('42')).toBeVisible();
|
||||
await expect(
|
||||
page.getByTestId('bl-number-flow').filter({ hasText: '42' }).first()
|
||||
).toBeVisible();
|
||||
await expect(page.getByText('admin@example.com')).toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user