223 — should test filtering project by quick filter from Hawaii to London¶
Description¶
End-to-end cross-timezone check that a Due Date Is <picked date> Project quick filter actually filters the project list correctly — first from the Hawaii author's point of view (Pacific/Honolulu), then from the London viewer (Europe/London). Verifies that the same single project matches in both timezones.
Preconditions¶
- Signed-in tenant with no projects and no 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, create a Project quick filter named "quick filter" with criterion
Due Date Is "today + 4 days"(Hawaii calendar day). Expected: the Due Date input shows the Hawaii-formatted date, the chip is blue and the full-day tooltip matches; the "Saved" popup appears after Create. - Create three Agile projects ("Project 1", "Project 2", "Project 3") with Due Dates "today + 3 days", "today + 4 days" and "today + 5 days" respectively (all Hawaii calendar days). Expected: after each Create the projects-list Due Date column shows the matching Hawaii-formatted date and the create-form tooltip is blue.
- Open Filters → Quick Filters and apply the "quick filter". Expected: the filter card shows the Hawaii-formatted "today + 4 days" date, the chip is blue, the tooltip is the Hawaii full-day range; after Apply the projects list shows exactly one project — "Project 2".
- Close the Hawaii window and re-open the app in a fresh window with the London timezone.
- Open the projects list. Expected: Project 1, Project 2 and Project 3 each show their Due Date column converted into London local time, same calendar day as picked in Hawaii.
- Open Filters → Quick Filters and apply "quick filter". Expected: the filter card shows the London-formatted "today + 4 days" date, the chip is orange, the tooltip explains the Hawaii-to-London conversion; after Apply the projects list still shows exactly one project — "Project 2".
Related¶
- Spec:
playwright/tests/integration/dateTime.spec.ts(line 2175)