Test React Apps with WebdriverIO
Front-end Testing with Kevin
Support these videos by checking out my full course on WebdriverIO: http://learn.webdriver.io
Apologies for the odd audio. I forgot to convert Stereo to Mono in my export settings. D'oh!
I've always wanted to test React applications using WebdriverIO, so that's what I covered this week.
Testing in React turns out not to be too bad, as React is pretty nice with websites and Selenium seems to be blissfully unaware of what's going on in the background.
All hail the waitForText command: browser.waitForText('[data-reactroot]');
Don't click that second Moana link :D
Links: https://github.com/klamping/react-webdriverio-example https://skempin.github.io/reactjs-tmdb-app/
Recorded Live, Sept 6th, 2017 ... https://www.youtube.com/watch?v=DuGMvfe0bvc
217036833 Bytes