From 4635fec016706e989f0dd7c164eb858c9d732e21 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Tue, 20 May 2025 14:59:44 +0200 Subject: [PATCH] adapt test to respect new formatting for hours-minutes-colon-seperated --- e2e/organization.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/organization.spec.ts b/e2e/organization.spec.ts index ebb4a539..3b1e046e 100644 --- a/e2e/organization.spec.ts +++ b/e2e/organization.spec.ts @@ -230,7 +230,9 @@ test('test that format settings are reflected in the dashboard', async ({ await expect(page.getByText('0.00€')).toBeVisible(); // check that 00:00 is displayed - await expect(page.getByText('0:00', { exact: true }).nth(0)).toBeVisible(); + await expect( + page.getByText('0:00 h', { exact: true }).nth(0) + ).toBeVisible(); // check that 0h 00min is not displayed await expect( page.getByText('0h 00min', { exact: true }).nth(0)