3 WebdriverIO Tips: Filtering Items (Tip #1)
Front-end Testing with Kevin
In this WebdriverIO Automated Testing Tutorial, we will be learning how to filter empty text from an array of strings.
Tip #2: https://youtu.be/fQH3rh1ezuQ 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: https://www.kirupa.com/html5/examples/filtering_list_items.htm
Map JavaScript Arrays: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
Filter JavaScript Arrays: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter
Remove empty elements from an array in Javascript: https://stackoverflow.com/questions/281264/remove-empty-elements-from-an-array-in-javascript
WebdriverIO Wednesdays is a video series going through various WebdriverIO concepts, mainly focused around real-world test scripts. ... https://www.youtube.com/watch?v=FiAmVdMCY2k
44663215 Bytes