Skip to content

476 — should edit stopwatch and set date to 2 days ago, and hours/minutes by 4

Description

Verifies that setting the stopwatch's start date 2 days back and shifting the start time back by 4 hours and 4 minutes before starting yields the expected backdated elapsed duration.

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 switch to detailed view.
  2. Open the Start Date picker and pick the date 2 days ago (today − 2 days).
  3. Open the Start Time picker and shift the time back by 4 hours and 4 minutes, then close it.
  4. Click Start. Expected: a "created" popup appears and the stopwatch begins counting from the backdated start.
  5. Expected: the full elapsed time reads 2 days, 4 hours, 4 minutes, with hour value 4, minute value 4, and days value 2.
  • Spec: playwright/tests/integration/stopwatch.spec.ts (line 256)
  • Spec: playwright/tests/integration/stopwatch.spec.ts (line 256)