474 — should delete stopwatch¶
Description¶
Verifies that a running stopwatch can be deleted via the confirmation dialog and that the widget returns to the idle state with no time record created.
Preconditions¶
- Signed-in owner user.
- Calendar opened in Week view on the current week with no active timer running.
Steps¶
- Open the stopwatch widget and click Start. Expected: a "created" popup appears and the stopwatch begins counting.
- Wait 5 seconds. Expected: the running stopwatch reflects the 5-second elapsed time.
- Click Delete on the stopwatch. Expected: a delete-confirmation dialog appears asking to discard the running timer.
- Confirm the deletion. Expected: a "deleted" confirmation popup appears.
- Expected: the stopwatch widget returns to the idle state with no timer running.
Related¶
- Spec:
playwright/tests/integration/stopwatch.spec.ts(line 219)
Related¶
- Spec:
playwright/tests/integration/stopwatch.spec.ts(line 219)