Automating react application
- khyati sehgal
- Aug 15, 2020
- 2 min read
Nowadays we all moving towards frameworks like Angular, react Js, Vue JS, etc.
So for Quality teams we have also started looking for options which support scripting language. But before starting any new things a wise approach is to understand the requirement & then look for suitable solution which full-fill it.
Options I considered
Jest
Nightwatch JS
webdriver JS
selenium

Under all these options which suited best for us were webdriver io & cypress.
Factors considered
Time Travel
Debuggability
Automatic Waiting
Spies, Stubs, and Clocks
Network Traffic Control
Consistent Results
Screenshots and Videos
Cross browser Testing
The comparison – cypress & webdriverio
comparing cypress & webdriverio
Why webdriverio?
Though cypress is a very good option to consider, but for me I have to look for some option which has support for safari. So I chose webdriverio over cypress.
Conclusion
cypress is so easy to work with & it provides a great dashboard. Over & above it had seamless integration with AWS amplify which we chose for CI-CD in our project. Cypress documentation is thorough & written with a unique style. cypress
Webdriverio has a support safari and all the diverse browsers you can think of as it used selenium & appium capabilities. Webdriver has some boiler plates which you can use directly & start working on the project. With some basic knowledge of node, npm/yarn, selenium you can start working on it. webdriverio
Comments