Skip to content

198 — should test start date and due date from London to Sydney

Description

Cross-timezone check for the project Start Date and Due Date fields between an author in London (Europe/London) and a viewer in Sydney (Australia/Sydney). Verifies that the calendar day picked in London is displayed unchanged on the project list, project detail page, and on the start/due date hover tooltips when the same project is opened from Sydney.

Preconditions

  • Signed-in tenant seeded via fixtures with one freshly created project (no dates yet).
  • Browser context is opened with timezoneId = Europe/London for the author and later re-opened with timezoneId = Australia/Sydney for the viewer.
  • The author lands on the projects list with the seeded project visible.

Steps

  1. In the London window, open the projects list. Expected: the seeded project shows an empty Due Date column.
  2. Open the project, switch to the Details tab, click Start Date and pick "today + 3 days" (London calendar day), then click Due Date and pick "today + 4 days" (London calendar day).
  3. Hover the Start Date chip. Expected: the chip is blue (same-timezone indicator) and the tooltip shows the chosen "today + 3 days" date as a London time.
  4. Hover the Due Date chip. Expected: the chip is blue and the tooltip shows the chosen "today + 4 days" date as a London time.
  5. Click Save. Expected: the "Updated" confirmation popup appears.
  6. Go back to All Projects. Expected: the Due Date column for this project shows the London "today + 4 days" date.
  7. Close the London window and re-open the same app in a fresh window with the Sydney timezone.
  8. Open the projects list. Expected: the Due Date column shows the same calendar day, formatted for Sydney (no shift to the next day even though Sydney is ~10–11 hours ahead of London).
  9. Open the project Details tab. Expected: Start Date displays the Sydney-formatted "today + 3 days" value and Due Date displays the Sydney-formatted "today + 4 days" value.
  10. Hover Start Date and Due Date chips. Expected: chips are orange (cross-timezone indicator) and tooltips show the originally picked London moments converted to Sydney local time.
  • Spec: playwright/tests/integration/dateTime.spec.ts (line 141)