> For the complete documentation index, see [llms.txt](https://notes.nomanaziz.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.nomanaziz.me/development/testing/cypress-js.md).

# 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

***
