Cypress js

Introduction

  • Used for End to End testing

  • Run our tests in browser in a real world environment

  • We can add it in our package.json script with cypress open which will open the test runner window in our browser

  • Similar to jest, we have to describe test suits with our it test cases inside, in addition to normal tests, we can interact with a button or simulate clicks via jquery like syntax


Last updated