markjsapp / Cypress-Framework

A UI E2E focused test automation framework for Reverb.com

Repository from Github https://github.commarkjsapp/Cypress-FrameworkRepository from Github https://github.commarkjsapp/Cypress-Framework

Cypress Gardens

Overview

This project is a Cypress based automated testing framework designed for testing the musical instrument website Reverb.com 🎸. It includes a number of pre-written tests and page objects, as well as configuration files and other utilities to make writing and executing tests easier.

Installation

To install this project, follow these steps:

Clone the repository to your local machine.
Navigate to the project directory in your terminal or command prompt.
Run npm install to install the necessary dependencies.
Run npm run cy:open to open the Cypress Test Runner.

Usage

To run the tests, use the Cypress Test Runner:

Navigate to the project directory in your terminal or command prompt.
Run npm run cy:open to open the Cypress Test Runner.
Click on the test file or individual tests you want to run.

Alternatively, you can run the tests headlessly by running npm run cy:run in your terminal or command prompt.

File Structure

The project file structure is as follows:

β”œβ”€β”€ src
β”‚   β”œβ”€β”€ data
β”‚   β”œβ”€β”€ features
β”‚   β”œβ”€β”€ plugins
β”‚   β”œβ”€β”€ screenshots
β”‚   β”œβ”€β”€ support
β”‚   └── videos
β”œβ”€β”€ node_modules
β”œβ”€β”€ node_modules
β”œβ”€β”€ node_modules

β”œβ”€β”€ cypress.json
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md 

🌳 cypress: This directory contains all of the Cypress-related code, including test files, fixtures, plugins, support files, and videos of test runs.

πŸ’Ώnode_modules: This directory contains all of the project's dependencies.

πŸ“· screenshots: This directory will contain screenshots captured during test runs.

πŸ”Œcypress.json: This file contains configuration options for the Cypress Test Runner.

πŸ”Œpackage.json: This file contains information about the project and its dependencies.

πŸ–¨οΈREADME.md: This file contains information about the project, its purpose, and how to use it.

Contributing

If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes. This project was created by Mark S. MIT License

About

A UI E2E focused test automation framework for Reverb.com

License:MIT License


Languages

Language:Gherkin 55.3%Language:JavaScript 41.3%Language:Shell 3.4%