3 WebdriverIO Tips: Managing Multiple Environments (Tip #2)
Front-end Testing with Kevin
In this WebdriverIO Automated Testing Tutorial, we will be learning how to manage multiple test environments using environment variables and conditionals.
Tip #1: https://youtu.be/FiAmVdMCY2k Tip #3: https://youtu.be/Jm_tHrieqXA
✅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 your can show your support with a one-time donation 💵 https://paypal.me/klamping/5
💻Code 💻 https://github.com/wdio-wed/three-tips
🔗Links 🔗
Example being tested: http://the-internet.herokuapp.com/login
Property value shorthands: https://alligator.io/js/object-property-shorthand-es6/
Node's Process.env: https://nodejs.org/api/process.html#process_process_env
Ternary (not tertiary!) operator: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator ... https://www.youtube.com/watch?v=fQH3rh1ezuQ
39114816 Bytes