ansible / vscode-ansible

vscode/vscodium extension for providing Ansible auto-completion and integrating quality assurance tools like ansible-lint, ansible syntax check, yamllint, molecule and ansible-test.
https://ansible.readthedocs.io/projects/vscode-ansible/
MIT License
337 stars 77 forks source link

Lightspeed Authentication UI test on macos #1410

Closed TamiTakamiya closed 5 days ago

TamiTakamiya commented 1 week ago

This is the continuation of #1405. On macos, we are going to support the login test only due to functional limitations of vscode-extension-tester on macos, i.e., even though we can open the Accounts menu for sign out like:

Screen Shot 2024-06-30 at 7 49 25 PM

there is no way to select a menu item on this and I could not find out a workaround.

Once we could have a solution on this issue, I will update the code to support the sign out test case on macos.

This PR also contains a change on the mock Lightspeed server. While #1405 included a change on the openUrl method to read the environment variable UI_TEST to change the behavior, this PR modified code to use the --ui-test command option, which would be more organized than a use of an environment variable.