205 — should test start date and due date from London to Hawaii¶
Description¶
Cross-timezone check for a client's Start Date (the "Since" date) between an author in London (Europe/London) and a viewer in Hawaii (Pacific/Honolulu). Verifies that the calendar day picked in London is displayed unchanged in the client detail page and on the start-date tooltip when the same client is opened from Hawaii.
Preconditions¶
- Signed-in tenant seeded via fixtures with one freshly created client (no dates yet).
- Browser context is opened with
timezoneId = Europe/Londonfor the author and later re-opened withtimezoneId = Pacific/Honolulufor the viewer. - The author lands on the dashboard.
Steps¶
- In the London window, navigate to Clients and open the seeded client.
- Click Start Date and pick "today + 3 days" (London calendar day), then click Save. Expected: the "Updated" confirmation popup appears.
- Reload the page. Expected: the "Since" field shows the London-formatted "today + 3 days" date in US format.
- Hover the Start Date chip. Expected: the chip is blue (same-timezone indicator) and the tooltip shows the chosen date as a London time.
- Close the London window and re-open the same app in a fresh window with the Hawaii timezone.
- Navigate to Clients and open the same client. Expected: the Start Date field shows the Hawaii-formatted "today + 3 days" value and the "Since" field shows the same calendar day in US format (no shift to the previous day).
- Hover the Start Date chip. Expected: the chip is orange (cross-timezone indicator) and the tooltip shows the originally picked London moment converted to Hawaii local time.
Related¶
- Spec:
playwright/tests/integration/dateTime.spec.ts(line 662)