We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
8.35.0
20
WDIO Testrunner
{ browserName: 'chrome' }
I have encountered strange behavior with auto-inserting unwanted parentheses around WDIO methods in VSCode.
Perhaps this is due to the way VSCode interprets types and doesn't recognize that this methods can be chained. Or could it be a bug in the WDIO types?
Maybe someone has encountered such behavior and can give advice or a solution.
No response
Repo to reproduce: https://github.com/k03mad/wdio-reproduce-autocomplete Created with the default npm init wdio@latest .
npm init wdio@latest .
Reproduced in both GitHub Codespaces and local VSCode installations. Please refer to the GIF below.
File: wdio-reproduce-autocomplete/test/pageobjects/login.page.js
wdio-reproduce-autocomplete/test/pageobjects/login.page.js
The text was updated successfully, but these errors were encountered:
@k03mad thanks for raising the issue. This is a know problem. I had some ideas how we might be able to resolve this for v9.
Sorry, something went wrong.
@k03mad if it helps I disabled these settings in VSCode and it's better than having to remove the brackets every time
Wait... But the first option disables the suggestions entirely :) The second disabled option alone doesn't work to prevent extra parentheses.
No branches or pull requests
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
8.35.0
Node.js Version
20
Mode
WDIO Testrunner
Which capabilities are you using?
What happened?
I have encountered strange behavior with auto-inserting unwanted parentheses around WDIO methods in VSCode.
Perhaps this is due to the way VSCode interprets types and doesn't recognize that this methods can be chained.
Or could it be a bug in the WDIO types?
Maybe someone has encountered such behavior and can give advice or a solution.
What is your expected behavior?
No response
How to reproduce the bug.
Repo to reproduce: https://github.com/k03mad/wdio-reproduce-autocomplete
Created with the default
npm init wdio@latest .
Reproduced in both GitHub Codespaces and local VSCode installations.
Please refer to the GIF below.
Relevant log output
File:
wdio-reproduce-autocomplete/test/pageobjects/login.page.js
Code of Conduct
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: