add outline and secondary variants to TimeTrackerStartStop button to reduce visual complexity

This commit is contained in:
Gregor Vostrak
2026-01-15 18:44:42 +01:00
parent 79999fde28
commit 3fb75ec3d5
6 changed files with 63 additions and 31 deletions

View File

@@ -53,7 +53,7 @@ test('test that starting and stopping an empty time entry shows a new time entry
// Test that description update works
async function assertThatTimeEntryRowIsStopped(newTimeEntry: Locator) {
await expect(newTimeEntry.getByTestId('timer_button')).toHaveClass(/bg-accent-300\/70/);
await expect(newTimeEntry.getByTestId('timer_button')).toHaveClass(/bg-tertiary/);
}
test('test that updating a description of a time entry in the overview works on blur', async ({
@@ -224,7 +224,7 @@ test('test that starting a time entry from the overview works', async ({ page })
const newTimeEntry = timeEntryRows.first();
const startButton = newTimeEntry.getByTestId('timer_button');
await expect(startButton).toHaveClass(/bg-accent-300\/70/);
await expect(startButton).toHaveClass(/bg-tertiary/);
await Promise.all([
page.waitForResponse(async (response) => {