Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

hugocruz/cypress-workshop

Repository files navigation

Cypress Workshop

This repo contains an example React App, TodoMVC, with the goal of learning how to use Cypress.io

This repo is heavily inspired in the cypress-example-TodoMVC repo from Cypress.io

Help

The steps below will allow to start this workshop

Fork or clone this repository

After forking this project in Github, run these commands:

## cd into the repo
cd cypress-workshop

## install the node_modules
npm install

## start the local webserver with the API
npm start

The npm start script will spawn:

  • a web server on port 8080 which hosts the TodoMVC app.
  • An API on port 3030 wich serves the data for the webapp.

You can verify this by opening your browser and navigating to: Web API

You should see the TodoMVC app up and running. We are now ready to run Cypress tests.

For exercises check here

For extended support in vscode for the cypress syntax add the following header

// type definitions for Cypress object "cy"
/// <reference types="cypress" />

Cypress References

API

Why Cypress

Introduction to Cypress

Releases

No releases published

Packages

No packages published