222 — should test filtering project by quick filter from London to Sydney¶
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 London author's point of view (Europe/London), then from the Sydney viewer (Australia/Sydney). 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 = Europe/Londonfor the author and later re-opened withtimezoneId = Australia/Sydneyfor the viewer. - The author lands on the dashboard.
Steps¶
- In the London window, create a Project quick filter named "quick filter" with criterion
Due Date Is "today + 4 days"(London calendar day). Expected: the Due Date input shows the London-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 London calendar days). Expected: after each Create the projects-list Due Date column shows the matching London-formatted date and the create-form tooltip is blue.
- Open Filters → Quick Filters and apply the "quick filter". Expected: the filter card shows the London-formatted "today + 4 days" date, the chip is blue, the tooltip is the London full-day range; after Apply the projects list shows exactly one project — "Project 2".
- Close the London window and re-open the app in a fresh window with the Sydney timezone.
- Open the projects list. Expected: Project 1, Project 2 and Project 3 each show their Due Date column converted into Sydney local time, same calendar day as picked in London.
- Open Filters → Quick Filters and apply "quick filter". Expected: the filter card shows the Sydney-formatted "today + 4 days" date, the chip is orange, the tooltip explains the London-to-Sydney conversion; after Apply the projects list still shows exactly one project — "Project 2".
Related¶
- Spec:
playwright/tests/integration/dateTime.spec.ts(line 2038)