Debugging WebdriverIO Tests in VSCode
Front-end Testing with Kevin
Important for TypeScript users... at the end of the video I show a sample launch.json config, but forgot to mention that you need to be sure you have "sourceMap": true
in your tsconfig.json as well, otherwise it won't work...
In this WebdriverIO Automated Testing Tutorial, we will be learning how to use the VSCode debugger to more easily find issues in our tests. We'll be using the node debugger to pause and inspect our tests are we're running them.
If you enjoy these videos and would like to support more videos, take a look at my WebdriverIO course to see if it may help you: https://learn.webdriver.io
Or, check out my upcoming book: https://leanpub.com/webapp-testing-guidebook
Links: https://webdriver.io/docs/debugging.html#debugging-with-visual-studio-code-vscode https://www.youtube.com/watch?v=xWwP-3B_YyE ... https://www.youtube.com/watch?v=7ewSTCeI3W0
29379928 Bytes