diff --git a/tests/e2e/dashboard-ci-status.test.e2e.ts b/tests/e2e/dashboard-ci-status.test.e2e.ts index 531955209a..e25403ad9a 100644 --- a/tests/e2e/dashboard-ci-status.test.e2e.ts +++ b/tests/e2e/dashboard-ci-status.test.e2e.ts @@ -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)$/); });