Skip to content

This repo contains various example E2E & API tests for "DemoBlaze Store" & "Restful-Booker" using Cypress and Page Object Model.

Notifications You must be signed in to change notification settings

monikakonieczna/ui-api-cypress-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practice test automation with Cypress Logo on Demoblaze Store & Restful-Booker

Note

  • Demoblaze Store is a basic online store with optional login from BlazeMeter. Great for example web UI tests.
  • Restful-Booker is an online site for bed & breakfast bookings from Mark Winteringham. The frontend is a React app, and the backend is a REST API.

Cypress Features

This tests are purely for Cypress features practice, usage of Page Object Model and API testing.

Getting Started

Prerequisites

The only requirement for this project is to have Node.js version 18.12.1 installed on your machine.

Useful Commands

Open Cypress

npm run cy:open

Run all tests in Cypress for Restful-Booker

npm run test:booker

Run all tests in Cypress for Demoblaze Store

npm run test:demoblaze

Run smoke tests

npm run test:smoke

Run regression tests

npm run test:regression

Note

In this case Grep plugin is used. It can filter tests to run using part of their title via grep, and via explicit tags via grepTags Cypress environment variables.

About

This repo contains various example E2E & API tests for "DemoBlaze Store" & "Restful-Booker" using Cypress and Page Object Model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published