forked from osoc24/loama
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
on holdTemporarily pausedTemporarily paused
Description
Say 20% of the time, when running the automated tests (in the loama subproject), a random number of tests fail.
In all cases, the cause is the same: the initial contents do not appear:
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Resources', exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Resources', exact: true })
at auth.setup.ts:21
19 |
20 |
> 21 | await expect(page.getByRole('link', { name: 'Resources', exact: true })).toBeVisible();
| ^
22 | await expect(page.getByRole('main')).toContainText('home');
23 | }
24 |
at authSetup (/home/mavbraba/projects/solid/loama/loama/tests/auth.setup.ts:21:78)
And no, increasing the timeout does not solve this :-)
Metadata
Metadata
Assignees
Labels
on holdTemporarily pausedTemporarily paused