Skip to content

217 — should test due date from London to Hawaii

Description

Cross-timezone check for a Project quick filter whose criterion is Due Date Is <picked date> — created in London (Europe/London) and re-opened in Hawaii (Pacific/Honolulu). Verifies that the saved date is shown as the same calendar day in both timezones inside the quick-filter editor and that the hover tooltip explains the cross-timezone conversion.

Preconditions

  • Signed-in tenant with no existing quick filters.
  • Browser context is opened with timezoneId = Europe/London for the author and later re-opened with timezoneId = Pacific/Honolulu for the viewer.
  • The author lands on the dashboard.

Steps

  1. In the London window, switch to Project Quick Filters and click Add Quick Filter. Name it "quick filter", add a "Due Date" criterion with operator "Is" and pick "today + 3 days" (London calendar day) in the date input.
  2. Click Create. Expected: the "Saved" popup appears.
  3. Re-open the quick filter. Expected: the Due Date input shows the London-formatted "today + 3 days" value.
  4. Hover the Due Date chip in the quick filter. Expected: the chip is blue (same-timezone indicator) and the full-day tooltip shows the chosen "today + 3 days" date as a London time.
  5. Close the London window and re-open the app in a fresh window with the Hawaii timezone.
  6. Switch to Project Quick Filters and open "quick filter". Expected: the Due Date input shows the same calendar day, formatted for Hawaii.
  7. Hover the Due Date chip. Expected: the chip is orange (cross-timezone indicator) and the tooltip shows the full-day range converted from London to Hawaii.
  • Spec: playwright/tests/integration/dateTime.spec.ts (line 1649)