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.
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