adapt test to respect new formatting for hours-minutes-colon-seperated

This commit is contained in:
Gregor Vostrak
2025-05-20 14:59:44 +02:00
parent f1cce79678
commit 4635fec016

View File

@@ -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)