Skip to content

nadirbasalamah/saucedemo-testing-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saucedemo-testing-cypress

Web testing example using Cypress with BDD support.

Notes

  1. There are two branches in this repository:
  • main: complete version with BDD support.
  • simple: simple version without BDD support.

Each branch has specific How to Use guide. Please read that guide based on the branch that chosen.

  1. The web application that is used for testing is saucedemo.com.

  2. This is the list of features that are already tested.

Feature Name Test File
Login login.js
Logout logout.js
Cart cart.js
  1. The Gherkin syntax declarations for each feature are available in features directory.

How to Use

  1. Clone this repository.

  2. Install the dependencies.

npm install
  1. Run the tests.
npx cypress run

About

Web testing example using Cypress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published