-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix flaky mod definitions test #9532
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9532 +/- ##
==========================================
+ Coverage 74.24% 75.82% +1.57%
==========================================
Files 1332 1429 +97
Lines 40817 43176 +2359
Branches 7634 7948 +314
==========================================
+ Hits 30306 32737 +2431
+ Misses 10511 10439 -72 ☔ View full report in Codecov by Sentry. |
Playwright test resultsDetails Open report ↗︎ Flaky testschrome › tests/telemetry/errors.spec.ts › can report an indexdb error to telemetry service Skipped testschrome › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options |
@@ -151,14 +151,25 @@ test("load mod definitions and save one", async () => { | |||
API_PATHS.REGISTRY_BRICKS, | |||
]); | |||
|
|||
// Avoid race where mod definitions/editable package queries aren't loaded in the useSaveMod hook yet | |||
await waitFor(async () => { |
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.
NIT: Prefer waitForElementToBeRemoved
What does this PR do?
Remaining Work
For more information on our expectations for the PR process, see the
code review principles doc