exc304 / cypress-mot-project-2

Ministy of Testing - Marie Drake course for Introduction to Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cypress-mot-project

My imperfect cypress test automation repo. Brought to you by the tutorial from Marie Drake available on The Ministry of Testing website.

Getting Started

These instructions assume you're using a recent macOSX. If you're using Windows, you may want to look into using Windows Subsytem for Linux 2 as the basis for your work.

Pre-requisites

Install Project Dependencies Creates .zshrc file if one is not already present
touch ~/.zshrc

Download and install Node.js

Install Cypress version 8.4.0

npm i -D cypress@8.4.0

Cypress Test Runner

To open up the Cypress Test Runner and run the example test, execute npx cypress open on the project root. This will load up the Cypress Test Runner and add directory dependencies.

Running Tests Headlessly

To run the tests on the command line, execute npx cypress run

About

Ministy of Testing - Marie Drake course for Introduction to Cypress