UI Testing

 

Agenda

  • The problem
  • UI Tests
  • Demo: Cypress.io
  • Demo: CucumberJS
  • Demo: NightwatchJS
  • Projects comparison
  • Decide next steps

Problem

Increase our confidence in changes to be deployed

Automated tests through the UI

Happy path covered by simulating user behaviour

Automated tests through the UI

They tend to be quite flakey

Hard to find errors when tests fail

Automated tests through the UI

Give confidence that different block can work together

High level steps as it was the user

Demo: Cypress.io

Demo: CucumberJS

Demo: NightwatchJS

Projects comparison

Contrib. Commits Issues Starts Last C. StackOv. Qs
Cypress 41 11166 523 4683 9th Ap 103
CucumberJS 103 916 19 3010 9th Ap. 409
Nightwatch 59 1174 315 8014 5th M. 1037

Next Steps

- Choose

- Implement

- Integrate in CI

UI Testing

By Juan Antonio Vicaria

UI Testing

  • 44