This repository contains a collection of test automation scenarios implemented using the Cypress test framework. The tests in this repository are designed to showcase functional, UI, and API test automation. They cover a wide range of common and frequently encountered functionality found on the web, including some challenging and complex scenarios.
The main purpose of this project is to serve as a platform for practicing test automation techniques and demonstrating how to write effective tests using Cypress. It provides real-world examples of testing various web functionalities and showcases best practices for test organization, assertions, and reporting.
- Functional tests: Covers end-to-end testing of various web functionalities, user interface, and user interactions.
- API tests: Demonstrates testing of APIs and backend functionalities.
- Challenging scenarios: Includes tests for complex scenarios that require careful handling.
- Node.js and npm (Node Package Manager) installed on your system.
-
Clone the repository:
git clone https://github.com/infinixbolt/Automation-Webapp.git
-
Navigate to the project directory:
cd test-Automation-Webapp
-
Install the dependencies:
npm install
To run the tests, use the following command:
npx cypress open
This command will execute the Cypress test runner, which will open a browser window and run the test suite.
The tests are organized into different directories based on their functional areas. The directory structure is as follows:
cypress
├── e2e
│ ├── Assertions
│ ├── DemoApps
│ ├── DemoRESTAPIs
│ └── WebExamples
Feel free to explore each directory to find specific tests and scenarios.
Contributions to this project are welcome! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push the branch to your fork.
- Submit a pull request, explaining your changes and their benefits.
- You can also email [email protected].
Special thanks to Tawfik Nouri (LinkedIn Profile), the developer and maintainer of this platform. This project uses Practice Expand Testing for writing functional, UI, and API test automation. We appreciate their efforts in providing this valuable resource to the community.
Thanks to the Cypress test framework community for their contributions and support.
Feel free to customize this template to fit the specific details of your project. Include any additional information that may be relevant or necessary for users of your repository.