improve format settings e2e test consistency; improve euro icon sizing

consistency
This commit is contained in:
Gregor Vostrak
2026-02-10 17:51:37 +01:00
parent b68d68a2a2
commit 2d9f33387e
2 changed files with 6 additions and 2 deletions

View File

@@ -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 }) => {

View File

@@ -1,7 +1,7 @@
<template>
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M9.44214 2.80599C8.64364 1.84779 7.44588 1.20898 6.0485 1.20898C3.85262 1.20898 2.05599 3.36494 2.05599 6C2.05599 8.63506 3.85262 10.791 6.0485 10.791C7.44588 10.791 8.64364 10.1522 9.44214 9.19401M1.05786 4.80225H6.64738M1.05786 7.19775H6.64738"
d="M9.02045 3.12728C8.30227 2.26547 7.22499 1.69092 5.96818 1.69092C3.99319 1.69092 2.37728 3.63001 2.37728 6C2.37728 8.37 3.99319 10.3091 5.96818 10.3091C7.22499 10.3091 8.30227 9.73453 9.02045 8.87272M1.47955 4.92274H6.50682M1.47955 7.07727H6.50682"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"