Skip to content

This repository is part of my personal portfolio as a QA Automation Engineer. It showcases my skills in building automation frameworks from scratch using Cypress, Javascript and Mocha. The project highlights my expertise in test case design, execution, reporting

License

Notifications You must be signed in to change notification settings

WkjuniorDiaz/Cypress-Web-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Test Automation Framework

Overview

This repository contains a Cypress-based test automation framework designed to streamline end-to-end testing for web applications. The framework is built with scalability, maintainability, and ease of use in mind.

Features

  • Comprehensive Test Coverage: Covers UI testing.
  • Modular Design: Follows the Page Object Model (POM) to ensure test cases are easy to maintain and extend.
  • Custom Commands: Includes reusable custom commands to simplify test writing.
  • Cross-Browser Testing: Supports running tests across different browsers.
  • Reporting: Generates detailed reports using Mochawesome.

Prerequisites

  • Node.js (version 16 or higher)
  • npm (version 8 or higher)
  • Cypress (version 13 or higher)

Installation

  1. Clone the repository:
    git clone https://github.com/WkjuniorDiaz/Cypress-Web-Automation.git
  2. Navigate to the project directory:
    cd your-repo
  3. Install the dependencies:
    npm install

Running Tests

Run All Tests

To run all the test cases:

npm run test

Open Cypress Test Runner

To open the interactive Cypress Test Runner:

npm run cy:open

Project Structure

  • cypress/fixtures: Contains test data files.
  • cypress/integration: Contains the test cases.
  • cypress/support: Contains custom commands and support files.
  • cypress/reports: Stores test reports.

Custom Commands

Custom commands can be found in the cypress/support/commands.js file. These commands help reduce redundancy in test cases.

Reporting

Reports are automatically generated after test execution and can be found in the cypress/reports directory.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository is part of my personal portfolio as a QA Automation Engineer. It showcases my skills in building automation frameworks from scratch using Cypress, Javascript and Mocha. The project highlights my expertise in test case design, execution, reporting

Topics

Resources

License

Stars

Watchers

Forks