-
Notifications
You must be signed in to change notification settings - Fork 82
Restore the native file menu tests #6279
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
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6279 +/- ##
==========================================
+ Coverage 84.94% 84.97% +0.02%
==========================================
Files 108 108
Lines 45568 45568
==========================================
+ Hits 38708 38720 +12
+ Misses 6860 6848 -12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…app logic for e2e
…cene file menu test
…the scroll to view code will not trigger which breaks end to end tests
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.
LFG
…g-app into restore-file-menu-tests
…e of race condition if the input is not written fast enough?
Issue
Native file menu tests were flaky
Implementation
setTimeout
next tick because you can navigate to a settings path instantly and the scroll to view code will not run which will fail the E2E test.Testing
I ran
yarn test:playwright:electron:ubuntu:local --workers 1 --quiet ./e2e/playwright/native-file-menu.spec.ts --repeat-each="10"
but then ended it after ~307` tests. The 5 failures came fromWhich have nothing to do with the tests I implemented. This means the engine could not connect with 15 seconds.