Skip to content
Tuğkan Boz edited this page Jan 14, 2023 · 1 revision

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 
Clone this wiki locally