redhat-developer / vscode-extension-tester

ExTester: Your Essential UI Testing Companion for Visual Studio Code Extensions! Seamlessly execute UI tests with Selenium WebDriver, ensuring robustness and reliability in your extension development journey. Simplify UI testing for your VS Code extensions and elevate the quality of your user interface effortlessly.
Apache License 2.0
257 stars 70 forks source link

Support VS Code 1.53.0 #221

Closed apupier closed 3 years ago

apupier commented 3 years ago
 NoSuchElementError: no such element: Unable to locate element: {"method":"css selector","selector":".editor-instance"}
jrichter1 commented 3 years ago

I've published a (hopefully) fixed version of the page object modules. Make sure your project is pulling the right versions

apupier commented 3 years ago

What about releasing a new version of the project that requires these dependencies?

apupier commented 3 years ago

it is not fixing the problem with open file fialog https://app.circleci.com/pipelines/github/camel-tooling/camel-lsp-client-vscode/267/workflows/d562842a-205e-44cf-93a5-b0e266639ffa/jobs/299 https://github.com/camel-tooling/camel-lsp-client-vscode/pull/541

jrichter1 commented 3 years ago

I've published page objects 1.4.2, should have a fix for the open file dialog. Could you try it out? If it works, I can release the whole package.

apupier commented 3 years ago

it is going further btu there are other errors https://app.circleci.com/pipelines/github/camel-tooling/camel-lsp-client-vscode/268/workflows/64ac55f7-d2c2-4430-abf8-f7023cb9df35/jobs/300

jrichter1 commented 3 years ago

Right, I've ended up trying out your code. The problem is that the new title bar menu handling is a bit slower because it waits for the whole context menu to load when a menu item is clicked. That can add about a second of test time per invocation. On the other hand, the menuItemReady should no longer be of any value.

All in all, your problems are now caused by _clean running longer than 2 seconds.

apupier commented 3 years ago

working with a timeout of 6 seconds and removing the menuItemReady conditional wait https://app.circleci.com/pipelines/github/camel-tooling/camel-lsp-client-vscode/271/workflows/cf3b89e1-f63d-4bd4-8610-8b1f73cc2094/jobs/304

apupier commented 3 years ago

If it works, I can release the whole package.

please ping me when it is released