Skip to content

chore(vscode): reenabling tests#5071

Merged
benfdking merged 1 commit intomainfrom
reenabling_tests
Jul 30, 2025
Merged

chore(vscode): reenabling tests#5071
benfdking merged 1 commit intomainfrom
reenabling_tests

Conversation

@benfdking
Copy link
Contributor

  • some of these were flaky but this should fix them and make them more reliable
  • as working on pieces that affect this bit of the codebase we want these tests working

- some of these were flaky but this should fix them and make them more reliable
- as working on pieces that affect this bit of the codebase we want these tests working
@benfdking benfdking requested a review from Copilot July 30, 2025 20:13
Copy link
Contributor

Copilot AI left a 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 re-enables flaky tests in the VS Code extension test suite by improving test reliability through better element selection and fixing timing issues.

  • Replaces brittle CSS selector with more robust role-based element selection
  • Improves file name matching by using basename instead of full path
  • Re-enables a previously skipped test that was experiencing flakiness

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
vscode/extension/tests/utils.ts Updates file opening utility to use more reliable element selection and file name matching
vscode/extension/tests/bad_setup.spec.ts Re-enables a previously skipped test case

@benfdking benfdking merged commit 245e8c9 into main Jul 30, 2025
27 checks passed
@benfdking benfdking deleted the reenabling_tests branch July 30, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants