diff --git a/e2e/organization.spec.ts b/e2e/organization.spec.ts index 9baf3636..ebb4a539 100644 --- a/e2e/organization.spec.ts +++ b/e2e/organization.spec.ts @@ -52,7 +52,7 @@ test('test that organization billable rate can be updated with all existing time await page .locator('form') .filter({ hasText: 'Organization Billable' }) - .getByRole('button') + .getByRole('button', { name: 'Save' }) .click(); await Promise.all([ @@ -179,7 +179,9 @@ test('test that format settings are reflected in the dashboard', async ({ page, }) => { // check that 0h 00min is displayed - await expect(page.getByText('0h 00min', { exact: true }).nth(0)).toBeVisible(); + await expect( + page.getByText('0h 00min', { exact: true }).nth(0) + ).toBeVisible(); // First set the format settings await goToOrganizationSettings(page); @@ -230,11 +232,17 @@ test('test that format settings are reflected in the dashboard', async ({ // check that 00:00 is displayed await expect(page.getByText('0:00', { exact: true }).nth(0)).toBeVisible(); // check that 0h 00min is not displayed - await expect(page.getByText('0h 00min', { exact: true }).nth(0)).not.toBeVisible(); + await expect( + page.getByText('0h 00min', { exact: true }).nth(0) + ).not.toBeVisible(); // check that the current date is displayed in the dd/mm/yyyy format on the time page await page.goto(PLAYWRIGHT_BASE_URL + '/time'); - await expect(page.getByText(new Date().toLocaleDateString('en-GB'), { exact: true }).nth(0)).toBeVisible(); + await expect( + page + .getByText(new Date().toLocaleDateString('en-GB'), { exact: true }) + .nth(0) + ).toBeVisible(); }); -// TODO: Test 12-hour clock format \ No newline at end of file +// TODO: Test 12-hour clock format diff --git a/resources/js/Components/Common/Client/ClientTable.vue b/resources/js/Components/Common/Client/ClientTable.vue index d9fa00ce..1928d556 100644 --- a/resources/js/Components/Common/Client/ClientTable.vue +++ b/resources/js/Components/Common/Client/ClientTable.vue @@ -26,10 +26,12 @@ const createClient = ref(false);
+ class="col-span-3 py-24 text-center"> -

No clients found

+

+ No clients found +

Create your first client now!

diff --git a/resources/js/Components/Common/Reporting/ReportingFilterBadge.vue b/resources/js/Components/Common/Reporting/ReportingFilterBadge.vue index 52eac01d..79c02edd 100644 --- a/resources/js/Components/Common/Reporting/ReportingFilterBadge.vue +++ b/resources/js/Components/Common/Reporting/ReportingFilterBadge.vue @@ -28,8 +28,10 @@ const activeClass = computed(() => { activeClass ) "> - - {{ title }} + + {{ title }}
diff --git a/resources/js/packages/ui/src/Client/ClientDropdown.vue b/resources/js/packages/ui/src/Client/ClientDropdown.vue index ac72fd64..10713190 100644 --- a/resources/js/packages/ui/src/Client/ClientDropdown.vue +++ b/resources/js/packages/ui/src/Client/ClientDropdown.vue @@ -1,9 +1,18 @@