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/Honolulufor the author and later re-opened withtimezoneId = Europe/Londonfor the viewer. - The author lands on the dashboard.
Steps¶
- 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.
- Click Create. Expected: the "Saved" popup appears.
- Re-open the quick filter. Expected: the Due Date input shows the Hawaii-formatted "today + 3 days" value.
- 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.
- Close the Hawaii window and re-open the app in a fresh window with the London timezone.
- Switch to Project Quick Filters and open "quick filter". Expected: the Due Date input shows the same calendar day, formatted for London.
- 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.
Related¶
- Spec:
playwright/tests/integration/dateTime.spec.ts(line 1775)