Skip to content

This repository automates testing for the Alerts feature on demoqa.com using Cypress. It covers simple, confirmation, and prompt alerts to ensure proper functionality. The suite enhances testing efficiency and accuracy, making it ideal for CI/CD integration.

Notifications You must be signed in to change notification settings

hasanazeerkhan/demoqa-automation-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DemoQA Automation with Cypress

Welcome to the DemoQA Automation with Cypress repository! This project is designed to demonstrate automated testing using the Cypress framework for the DemoQA application.

Table of Contents

Introduction

This repository contains end-to-end tests for the DemoQA application, showcasing various features such as form filling, interaction with web elements, and validation of user inputs. Cypress is a powerful testing framework that allows for easy setup and fast execution of tests.

Features

  • End-to-End Testing: Comprehensive tests covering various user scenarios.
  • Easy Setup: Simple installation process with minimal configuration.
  • Real-Time Reloads: Automatic reloading of tests as you make changes.
  • Detailed Reporting: Clear and concise test reports.

Installation

To get started with this project, follow these steps:

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

Usage

Once the installation is complete, you can start using Cypress:

Open Cypress:

npx cypress open

Choose a test file to run from the Cypress Test Runner.

Running Tests

To run all tests in headless mode, use the following command:

npx cypress run

You can also specify a particular test file:

npx cypress run --spec "cypress/integration/example_spec.js"

Contributing

Contributions are welcome! If you have suggestions for improvements or find bugs, please create an issue or submit a pull request.

  1. Fork the repository.
  2. Create your feature branch:
    git checkout -b feature/YourFeatureName
  3. Commit your changes:
    git commit -m "Add some feature"
  4. Push to the branch:
    git push origin feature/YourFeatureName
  5. Open a pull request.

Feel free to explore and modify this repository as needed! Happy testing!

About

This repository automates testing for the Alerts feature on demoqa.com using Cypress. It covers simple, confirmation, and prompt alerts to ensure proper functionality. The suite enhances testing efficiency and accuracy, making it ideal for CI/CD integration.

Topics

Resources

Stars

Watchers

Forks