Skip to content

219 — should test due date from Hawaii to London

Description

Cross-timezone check for a Project quick filter whose criterion is Due Date Is <picked date> — created in Hawaii (Pacific/Honolulu) and re-opened in London (Europe/London). 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 = Pacific/Honolulu for the author and later re-opened with timezoneId = Europe/London for the viewer.
  • The author lands on the dashboard.

Steps

  1. In the Hawaii 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" (Hawaii 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 Hawaii-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 Hawaii time.
  5. Close the Hawaii window and re-open the app in a fresh window with the London timezone.
  6. Switch to Project Quick Filters and open "quick filter". Expected: the Due Date input shows the same calendar day, formatted for London.
  7. Hover the Due Date chip. Expected: the chip is orange (cross-timezone indicator) and the tooltip shows the full-day range converted from Hawaii to London.
  • Spec: playwright/tests/integration/dateTime.spec.ts (line 1775)