-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BrowserTest] Fix flaky gallery test #2150
base: main
Are you sure you want to change the base?
Conversation
I am going to disable these tests first before they are fixed. #2158 |
It's difficult to debug because I cannot reproduce locally. The flakiness only occurs on the gallery tests. |
Options to increase flakiness:
|
Those are good ideas. I tried options 1 and 3 but it's difficult to find the exact right amount of throttling. Tests begin to fail as I increase network and processor throttling but many other tests fail as well. I will try option 2 tomorrow with this. |
Using act works well: act pull_request \
--secret GITHUB_TOKEN=$GH_TOKEN \
--secret ACTIONS_RUNTIME_TOKEN=$GH_TOKEN \
--env PLAYWRIGHT_TEST_URL=http://127.0.0.1:8188 \
--artifact-server-path "$PWD/playwright-report" \
-j playwright-tests-chromium Can run (cores - 1) workers and still repro test env errors reliably. I am able to fix the flakiness by increasing the global timeout in the playwright config beyond 15s. I will try to find a better solution if it's possible. |
Make tests added in #2125 more robust by:
┆Issue is synchronized with this Notion page by Unito