doamaral / cypress-magento-store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress Testing sample project

project status

This project uses Cypress with Cucumber to automate test scenarios for a sample e-commerce online shop. It's also using Page Objects Model Pattern to deal with pages and components throughout the application. It's running Github Actions for each update to master branch

Project Setup

  • Clone this repo and navigate to the folder
  • Rename the .env.sample file to .env
  • Set expected values for each environment variable in .env
  • run npm install to install all project dependencies

Running tests

Running headless

  • npm test

Running on Cypress GUI

  • npm run open

Dev

To improve your dev experience consider using:

References

About


Languages

Language:JavaScript 87.6%Language:Gherkin 12.4%