-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[Snaps E2E] Remove / Replace superflous arbitrary delays in snaps E2E tests #22821
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
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #22821 +/- ##
===========================================
- Coverage 68.48% 68.47% -0.01%
===========================================
Files 1088 1088
Lines 42897 42902 +5
Branches 11425 11424 -1
===========================================
- Hits 29378 29377 -1
- Misses 13519 13525 +6 ☔ View full report in Codecov by Sentry. |
Builds ready [6028508]
Page Load Metrics (773 ± 30 ms)
Bundle size diffs
|
Builds ready [8c67b3f]
Page Load Metrics (772 ± 22 ms)
Bundle size diffs
|
Builds ready [b48ab87]
Page Load Metrics (816 ± 34 ms)
Bundle size diffs
|
FrederikBolding
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete all the commented out lines before we merge this
Builds ready [6679084]
Page Load Metrics (699 ± 13 ms)
Bundle size diffs
|
|
comments removed |
Builds ready [6792e5a]
Page Load Metrics (835 ± 93 ms)
Bundle size diffs
|
FrederikBolding
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spotted a few more
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Builds ready [5176b1e]
Page Load Metrics (858 ± 54 ms)
Bundle size diffs
|
Builds ready [f184bcb]
Page Load Metrics (780 ± 15 ms)
Bundle size diffs
|
Description
This PR is intended to reduce the amount of CI time used by the snaps E2E tests by removing or replacing as many delays as possible without having a negative impact on test flakiness.
Fixes: 76 1000ms delays removed
24 500ms delays removed
old test-e2e-chrome-flask speeds (using v 11.10 as benchmark) -
shortest snaps test - 1m29s
longest snaps test - 2m23s
longest test in run - 3m16s (longest test is from accounts)
(see this page for details)
new test-e2e-chrome-flask speeds
shortest snaps test - 1m10s
longest snaps test - 1m52
(see this page for details) (edited)
Related issues
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist