Skip to content

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

  1. Open the stopwatch widget and click Start. Expected: a "created" popup appears and the stopwatch begins counting.
  2. Wait 5 seconds. Expected: the running stopwatch reflects the 5-second elapsed time.
  3. Click Delete on the stopwatch. Expected: a delete-confirmation dialog appears asking to discard the running timer.
  4. Confirm the deletion. Expected: a "deleted" confirmation popup appears.
  5. Expected: the stopwatch widget returns to the idle state with no timer running.
  • Spec: playwright/tests/integration/stopwatch.spec.ts (line 219)
  • Spec: playwright/tests/integration/stopwatch.spec.ts (line 219)