mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 18:22:16 +01:00
Expand e2e test coverage migrate to API-based data setup
This commit is contained in:
@@ -6,9 +6,9 @@ export async function startOrStopTimerWithButton(page: Page) {
|
||||
}
|
||||
|
||||
export async function assertThatTimerHasStarted(page: Page) {
|
||||
await page.locator(
|
||||
'[data-testid="dashboard_timer"] [data-testid="timer_button"].bg-red-400/80'
|
||||
);
|
||||
await expect(
|
||||
page.locator('[data-testid="dashboard_timer"] [data-testid="timer_button"]')
|
||||
).toHaveClass(/bg-red-400\/80/);
|
||||
}
|
||||
|
||||
export function newTimeEntryResponse(
|
||||
|
||||
Reference in New Issue
Block a user