Upgrade to Pro — share decks privately, control downloads, hide ads and more …

End to End Testing: How to test frontend?

End to End Testing: How to test frontend?

Avatar for imprashast

imprashast

May 10, 2019
Tweet

Other Decks in Programming

Transcript

  1. Motivation? • Why should you even test the frontend? •

    Whats the worse that could happen? • I have unit tested my js code and api’s. So I don’t need this, right?
  2. Benefits • A simple integration test will make sure that

    you never break existing features while making new stuff. • You won’t be scared to update npm dependencies. • You will have more confidence in your production app. • Developer experience will be quite smooth. Etc…
  3. Cypress The web has evolved. 
 Finally, testing has too.

    Fast, easy and reliable testing for anything that runs in a browser.
  4. What have we achieved? • Full confidence over our frontend*

    • UI is consistent 99% of the time* • Upgrade design system changes with confidence*
  5. • Visual Regression Testing • API Testing • Javascript Testing

    • Test Runner • Build Artifacts What this talk is all about
  6. – Anonymous (or maybe me) “If you don’t like testing

    your product, most likely your customers won’t like to test it either.”