mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 11:01:49 +01:00
test: fix e2e test
This commit is contained in:
parent
475c16f627
commit
5888a1ad5b
1 changed files with 1 additions and 1 deletions
|
@ -19,5 +19,5 @@ test('Correct link and tooltip', async ({browser}, workerInfo) => {
|
||||||
// wait for network activity to cease (so status was loaded in frontend)
|
// wait for network activity to cease (so status was loaded in frontend)
|
||||||
await page.waitForLoadState('networkidle'); // eslint-disable-line playwright/no-networkidle
|
await page.waitForLoadState('networkidle'); // eslint-disable-line playwright/no-networkidle
|
||||||
await expect(repoStatus).toHaveAttribute('href', '/user2/test_workflows/actions', {timeout: 10000});
|
await expect(repoStatus).toHaveAttribute('href', '/user2/test_workflows/actions', {timeout: 10000});
|
||||||
await expect(repoStatus).toHaveAttribute('data-tooltip-content', 'Failure');
|
await expect(repoStatus).toHaveAttribute('data-tooltip-content', /^(Error|Failure)$/);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue