Skip to content
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

Re-enable Lightspeed UI tests #1088

Merged
merged 9 commits into from
Mar 4, 2024

Conversation

TamiTakamiya
Copy link
Collaborator

@TamiTakamiya TamiTakamiya commented Feb 9, 2024

Re-enable Lightspeed UI tests, which have been commented out and not executed for a while. Changes include:

  • Applied changes corresponding to the latest Lightspeed code base (e.g. side panel section name: "Ansible Lightspeed" --> "Ansbile Lightspeed Login")
  • Replaced a few vscode-extension-tester fucntions, which seemed not working as expected, with findElement/findElements calls with XPath locators. Although this might be somehow controversial one, I think this is a realistic approach for writing reliable UI tests for VS Code now.
  • Intentionally kept original codes for the reference purpose. We may want to clean them up in the future.

Codes were tested with yarn test-ui-current command. yarn test-ui-oldest fails due to current extension's vscode version requirement.

@TamiTakamiya TamiTakamiya merged commit 93e9d57 into main Mar 4, 2024
8 of 9 checks passed
@TamiTakamiya TamiTakamiya deleted the TamiTakamiya/enable-lightspeed-ui-tests branch March 4, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants