Skip to content

224 — should test filtering project by quick filter from Sydney 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 Sydney author's point of view (Australia/Sydney), 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 = Australia/Sydney for the author and later re-opened with timezoneId = Europe/London for the viewer.
  • The author lands on the dashboard.

Steps

  1. In the Sydney window, create a Project quick filter named "quick filter" with criterion Due Date Is "today + 4 days" (Sydney calendar day). Expected: the Due Date input shows the Sydney-formatted date, the chip is blue and the full-day tooltip matches; the "Saved" popup appears after Create.
  2. 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 Sydney calendar days). Expected: after each Create the projects-list Due Date column shows the matching Sydney-formatted date and the create-form tooltip is blue.
  3. Open Filters → Quick Filters and apply the "quick filter". Expected: the filter card shows the Sydney-formatted "today + 4 days" date, the chip is blue, the tooltip is the Sydney full-day range; after Apply the projects list shows exactly one project — "Project 2".
  4. Close the Sydney window and re-open the app in a fresh window with the London timezone.
  5. 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 Sydney.
  6. 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 Sydney-to-London conversion; after Apply the projects list still shows exactly one project — "Project 2".
  • Spec: playwright/tests/integration/dateTime.spec.ts (line 2312)