From 2d9f33387e6fd6eb80f6ea3884612c95ce8e2ea3 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Tue, 10 Feb 2026 17:51:37 +0100 Subject: [PATCH] improve format settings e2e test consistency; improve euro icon sizing consistency --- e2e/organization.spec.ts | 6 +++++- resources/js/packages/ui/src/Icons/EuroIcon.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/e2e/organization.spec.ts b/e2e/organization.spec.ts index 7e23e72e..dceb4b02 100644 --- a/e2e/organization.spec.ts +++ b/e2e/organization.spec.ts @@ -223,9 +223,13 @@ test('test that format settings are reflected in the dashboard', async ({ page } // check that the current date is displayed in the dd/mm/yyyy format on the time page await page.goto(PLAYWRIGHT_BASE_URL + '/time'); + // Wait for time entries to load so organization data is available for date formatting + await page.waitForResponse( + (response) => response.url().includes('/time-entries') && response.status() === 200 + ); await expect( page.getByText(new Date().toLocaleDateString('en-GB'), { exact: true }).nth(0) - ).toBeVisible(); + ).toBeVisible({ timeout: 10000 }); }); test('test that organization time entry settings can be toggled', async ({ page }) => { diff --git a/resources/js/packages/ui/src/Icons/EuroIcon.vue b/resources/js/packages/ui/src/Icons/EuroIcon.vue index 98ac607d..e40d8a1b 100644 --- a/resources/js/packages/ui/src/Icons/EuroIcon.vue +++ b/resources/js/packages/ui/src/Icons/EuroIcon.vue @@ -1,7 +1,7 @@