-
Notifications
You must be signed in to change notification settings - Fork 7k
fix: flaky check for editor search bar #5347
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
|
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.
Pull Request Overview
This PR fixes a flaky e2e test by removing a visibility check for the editor search bar that was causing unnecessary test failures.
- Removes the flaky
toBeVisible()
assertion for the editor search bar - Adds a small delay to the editor menu click for better reliability
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.
rubber stamping
Coverage ReportExtension CoverageBase branch: 47% PR branch: 48% ✅ Coverage increased or remained the same Webview CoverageBase branch: 17% PR branch: 17% Consider adding tests to cover your changes. Overall AssessmentPlease consider adding tests to maintain or improve coverage. Last updated: 2025-08-04T18:48:46.481644 |
Related Issue
Issue: #XXXX
Description
Remove the visible check during e2e test set up as that one is flaky and cause the tests fail unnecessarily.
Test Procedure
CI should be green
Type of Change
Pre-flight Checklist
npm test
) and code is formatted and linted (npm run format && npm run lint
)npm run changeset
(required for user-facing changes)Screenshots
Additional Notes
Important
Removes flaky visibility check in
runCommandPalette()
and adjusts click delays inhelpers.ts
to improve test reliability.editorSearchBar
inrunCommandPalette()
inhelpers.ts
.editorMenu
andeditorSearchBar
to 100ms to ensure focus.e2e
test setup inhelpers.ts
.This description was created by
for 7e8c784. You can customize this summary. It will automatically update as commits are pushed.