mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 03:02:15 +01:00
Compare commits
4 Commits
v0.9.0
...
feature/ro
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb41d60a21 | ||
|
|
6a740015b7 | ||
|
|
be873c72fe | ||
|
|
bbfa411f32 |
@@ -114,8 +114,8 @@ test('test that project filtering works in reporting', async ({ page }) => {
|
|||||||
await page.waitForLoadState('networkidle');
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
// Verify only project1 time entries are shown
|
// Verify only project1 time entries are shown
|
||||||
await expect(page.getByTestId('reporting_view').getByText(project1)).toBeVisible();
|
await expect(page.getByText(project1)).toBeVisible();
|
||||||
await expect(page.getByTestId('reporting_view').getByText(project2)).not.toBeVisible();
|
await expect(page.getByText(project2)).not.toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('test that tag filtering works in reporting', async ({ page }) => {
|
test('test that tag filtering works in reporting', async ({ page }) => {
|
||||||
@@ -142,7 +142,7 @@ test('test that tag filtering works in reporting', async ({ page }) => {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// Verify only time entries with tag1 are shown
|
// Verify only time entries with tag1 are shown
|
||||||
await expect(page.getByTestId('reporting_view').getByText('1h 00min').first()).toBeVisible();
|
await expect(page.getByText('1h 00min').first()).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('test that billable status filtering works in reporting', async ({ page }) => {
|
test('test that billable status filtering works in reporting', async ({ page }) => {
|
||||||
@@ -164,7 +164,7 @@ test('test that billable status filtering works in reporting', async ({ page })
|
|||||||
]);
|
]);
|
||||||
await page.waitForLoadState('networkidle');
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
await expect(page.getByTestId('reporting_view').getByText('1h 00min').first()).toBeVisible();
|
await expect(page.getByText('1h 00min').first()).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ function onSelectChange(checked: boolean) {
|
|||||||
"></BillableToggleButton>
|
"></BillableToggleButton>
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<button
|
<button
|
||||||
:class="twMerge('text-text-secondary px-1 py-1.5 bg-transparent text-center hover:bg-card-background rounded-lg border border-transparent hover:border-card-border text-sm font-medium focus-visible:outline-none focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:bg-tertiary', organization?.time_format === '12-hours' ? 'w-[170px]' : 'w-[120px]')"
|
:class="twMerge('text-text-secondary w-[110px] px-1 py-1.5 bg-transparent text-center hover:bg-card-background rounded-lg border border-transparent hover:border-card-border text-sm font-medium focus-visible:outline-none focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:bg-tertiary', organization?.time_format === '12-hours' ? 'w-[160px]' : 'w-[110px]')"
|
||||||
@click="expanded = !expanded">
|
@click="expanded = !expanded">
|
||||||
{{ formatStartEnd(timeEntry.start, timeEntry.end, organization?.time_format) }}
|
{{ formatStartEnd(timeEntry.start, timeEntry.end, organization?.time_format) }}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user