1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-02 10:07:07 -05:00

test: fix e2e test

This commit is contained in:
Michael Kriese 2024-11-19 10:50:18 +01:00
parent 475c16f627
commit 5888a1ad5b
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

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)$/);
});