Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00

Merge pull request 'test: fix e2e test' (#6045) from viceice/test/e2e-fix into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6045
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-11-22 10:49:14 +00:00
commit d3f442a209

View file

@ -19,5 +19,5 @@ test('Correct link and tooltip', async ({browser}, workerInfo) => {
// wait for network activity to cease (so status was loaded in frontend)
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('data-tooltip-content', 'Failure');
await expect(repoStatus).toHaveAttribute('data-tooltip-content', /^(Error|Failure)$/);
});