Welcome to the DemoQA Automation with Cypress repository! This project is designed to demonstrate automated testing using the Cypress framework for the DemoQA application.
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.
- 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.
To get started with this project, follow these steps:
- Clone the repository:
git clone https://github.com/hasanazeerkhan/demoqa-automation-cypress.git
- Navigate to the project directory:
cd demoqa-automation-cypress
- Install dependencies:
npm install
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.
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"
Contributions are welcome! If you have suggestions for improvements or find bugs, please create an issue or submit a pull request.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/YourFeatureName
- Commit your changes:
git commit -m "Add some feature"
- Push to the branch:
git push origin feature/YourFeatureName
- Open a pull request.
Feel free to explore and modify this repository as needed! Happy testing!