Skip to content

Conversation

@ZogStriP
Copy link
Member

The DST handling system tests were flaky because they only set the user's profile timezone preference, not the browser's actual timezone. The tests expected times displayed in Europe/Paris or America/New_York, but the browser used the CI machine's default timezone instead.

Added timezone: metadata to the test contexts, which Playwright uses to set the browser's timezoneId. This ensures consistent behavior regardless of the machine running the tests.

The DST handling system tests were flaky because they only set the
user's profile timezone preference, not the browser's actual timezone.
The tests expected times displayed in Europe/Paris or America/New_York,
but the browser used the CI machine's default timezone instead.

Added `timezone:` metadata to the test contexts, which Playwright uses
to set the browser's `timezoneId`. This ensures consistent behavior
regardless of the machine running the tests.
@ZogStriP ZogStriP merged commit 0549c46 into main Dec 14, 2025
15 checks passed
@ZogStriP ZogStriP deleted the fix-flaky-dst-handling branch December 14, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants