Install and Run Cypress

Learn to install and run cypress for E2E testing.

Installing Cypress (E2E testing)

First, we’ll need to install the dependencies and package for the tool that we’re using to run E2E tests (Cypress).

apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb

npm install cypress --save-dev

Get hands-on with 1200+ tech skills courses.