Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 884 Bytes

README.md

File metadata and controls

40 lines (34 loc) · 884 Bytes

Cypress-demo

An automation test suite for an e-commerce website has been written using Cypress version 12 and following the Page Object Model (POM) design pattern.

Folder-Structure

├── cypress
│   ├── e2e
│   │   ├── home
│   │   │   ├── home.cy.js
│   │   │   ├── home.cy.js
│   ├── fixtures
│   │   ├── user.json
│   │   ├── error.json
│   ├── support
│   │   ├── commands.js
│   │   ├── e2e.js
│   ├── pages
│   │   ├── page.js
│   │   ├── home.page.js
│   │   ├── login.page.js

Setup

To run this project locally, follow these steps:

Clone the repository

git clone https://github.com/tugkanboz/cypress-demo.git

Install the dependencies

npm install

Start the project

npx cypress open