Cypress Workshop

Setup

To get started, ensure that you have at least Node v12 installed. You can verify what version you have installed by running

node --version

from your terminal. Then, fork this repository to your personal Github account. As you make changes to the codebase during this workshop you will be pushing your changes to your personal fork. You can learn more about forks here.

Once you have forked this repository, clone your fork to your development machine. Then run the following command using your terminal from the root of the repository to install dependencies.

npm install

With the dependencies installed run the app to verify everything is working correctly.

Running the app

To run the app execute the following command from your terminal:

npm start

Then in another terminal run:

npm run backend

The app should now be running at http://localhost:4200

Running the tests

To run the Cypress e2e tests execute the following command from your terminal:

npm run test