mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 08:30:50 +00:00
Parallelize playwright tests
- allow running with multiple workers (tested with up to four workers locally which
didn't show signs of flakiness)
- prevent race condition with webauthn tests (running them in parallel
on the same user could prevent another test from logging in)
- fix flakiness on CI action status (Chromium sometimes needs a long
time to fill the href field, firefox is always faster)
This reverts commit e8585eff5c
.
This commit is contained in:
parent
83e9e9230a
commit
3695f5d096
3 changed files with 8 additions and 12 deletions
|
@ -16,6 +16,6 @@ test('Correct link and tooltip', async ({browser}, workerInfo) => {
|
|||
|
||||
const repoStatus = page.locator('.dashboard-repos .repo-owner-name-list > li:nth-child(1) > a:nth-child(2)');
|
||||
|
||||
await expect(repoStatus).toHaveAttribute('href', '/user2/test_workflows/actions');
|
||||
await expect(repoStatus).toHaveAttribute('href', '/user2/test_workflows/actions', {timeout: 10000});
|
||||
await expect(repoStatus).toHaveAttribute('data-tooltip-content', 'Failure');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue