top of page
  • Writer's picturekhyati sehgal

Automating react application

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

  1. Jest

  2. Nightwatch JS

  3. webdriver JS

  4. selenium

Under all these options which suited best for us were webdriver io & cypress.

Factors considered

  1. Time Travel

  2. Debuggability

  3. Automatic Waiting

  4. Spies, Stubs, and Clocks

  5. Network Traffic Control

  6. Consistent Results

  7. Screenshots and Videos

  8. 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
4 views0 comments

Recent Posts

See All
bottom of page