From 5888a1ad5b74ff04f71074a3682fc690d269230d Mon Sep 17 00:00:00 2001
From: Michael Kriese <michael.kriese@visualon.de>
Date: Tue, 19 Nov 2024 10:50:18 +0100
Subject: [PATCH] test: fix e2e test

---
 tests/e2e/dashboard-ci-status.test.e2e.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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