Skip to content

This Cypress automation project uses the Page Object Model to test end-to-end e-commerce flows on the TutorialsNinja website, from registration to purchase.

Notifications You must be signed in to change notification settings

PromojitPaul/cypress-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Automation Testing Project

Overview

This project is a Cypress-based automation testing suite designed to validate the functionality of a web application. It follows industry best practices to ensure robust, scalable, and maintainable test automation.

Key Highlights

  • Implemented end-to-end test automation using Cypress.
  • Followed the Page Object Model (POM) for better test organization and maintainability.
  • Validated critical user flows, UI elements, and business logic.
  • Integrated test execution reports for better visibility.
  • Configurable environment settings for different test scenarios.

Technologies Used

  • Cypress: JavaScript-based end-to-end test automation framework.
  • JavaScript/Node.js: Used for scripting and execution.
  • Mocha & Chai: Assertion libraries for test validations.
  • Mochawesome: HTML report generation for test execution.
  • GitHub: Version control and repository management.

Installation & Setup

  1. Clone the repository:
    git clone https://github.com/PromojitPaul/cypress-project.git
  2. Navigate to the project directory:
    cd cypress-project
  3. Install dependencies:
    npm install

Running Tests

  • Open Cypress Test Runner:
    npx cypress open
  • Execute tests in headless mode:
    npx cypress run

Test Coverage

  • Login Functionality: Valid and invalid login scenarios.
  • Search & Filter: Testing various search parameters and filter options.
  • Cart & Checkout: Validations for adding/removing items and payment workflows.
  • UI & Performance: Ensuring responsive layouts and fast loading times.

Folder Structure

├── cypress/
│   ├── fixtures/        # Test data files
│   ├── integration/     # Test cases
│   ├── plugins/         # Cypress plugins
│   ├── support/         # Custom commands and utilities
├── cypress.json         # Cypress configuration file
├── package.json         # Project dependencies
├── README.md            # Documentation

Reporting & Logs

  • Cypress test execution logs are available in the terminal.
  • Test results are generated using Mochawesome for detailed reporting.
  • Screenshots and videos are captured on test failures for debugging.

Conclusion

This Cypress automation project showcases expertise in automated testing, framework implementation, and best practices. It is structured to be scalable and adaptable for various testing needs.

Contact

For further details, feel free to check the repository or connect via GitHub.

About

This Cypress automation project uses the Page Object Model to test end-to-end e-commerce flows on the TutorialsNinja website, from registration to purchase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published