Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zafir100100/web-automation-with-cypress
Our Cypress-based automated testing suite for the CURA Healthcare Service website includes tests for logging in, creating appointments, and verifying module functionality. It comes with a Mocha Awesome Report and a video demo.
https://github.com/zafir100100/web-automation-with-cypress
automation cypress javascript mochawesome-report web-automation
Last synced: 5 days ago
JSON representation
Our Cypress-based automated testing suite for the CURA Healthcare Service website includes tests for logging in, creating appointments, and verifying module functionality. It comes with a Mocha Awesome Report and a video demo.
- Host: GitHub
- URL: https://github.com/zafir100100/web-automation-with-cypress
- Owner: zafir100100
- Created: 2023-03-25T08:33:20.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-06T11:48:31.000Z (over 1 year ago)
- Last Synced: 2023-08-01T03:12:34.585Z (over 1 year ago)
- Topics: automation, cypress, javascript, mochawesome-report, web-automation
- Language: HTML
- Homepage:
- Size: 619 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web-Automation-with-Cypress
## What is Automation?
Automation is the process of using software tools and scripts to perform tasks that would typically be done manually by a human. In the context of software testing, automation involves using tools to execute test cases and compare the actual results with the expected results automatically.
## Why we use Cypress?
There are several reasons why you should use Cypress for web automation:
Fast and efficient: Cypress is built on a unique architecture that allows it to execute tests in the same run loop as the application being tested. This means that tests run faster and more efficiently than with other testing frameworks.
Real-time testing: Cypress provides a real-time view of your application as it runs, making it easy to debug issues as they arise.
Automatic waiting: Cypress automatically waits for the DOM elements to become available before interacting with them. This eliminates the need for explicit waits and reduces the likelihood of flaky tests.
Easy setup: Cypress has a simple and intuitive setup process. You can get up and running with Cypress quickly and easily.
Powerful API: Cypress provides a powerful API for interacting with your application. You can easily simulate user interactions, make HTTP requests, and interact with the DOM.
Continuous Integration: Cypress can be easily integrated with Continuous Integration (CI) tools like Jenkins, CircleCI, and TravisCI. This allows you to automate your testing process and catch issues before they make it to production.
Overall, Cypress is a powerful and efficient tool for web automation that can help you to test your application more effectively and catch issues early in the development process.
## Technology used:
- Cypress
- Visual Studio Code
- Javascript
- cypress-mochawesome-reporter## How to run this project
- Clone this project
- First install dependencies:
```npm install```
- Then run the test:
```npx cypress run```## Scenerio:
1. Visit https://katalon-demo-cura.herokuapp.com/
2. Login
3. Make an appointment
4. Facility - Seoul CURA Healthcare Center
5. Check on "Apply for hospital readmission"
6. Healthcare Program - Medicaid
7. Select a visiting date
8. Add a comment
7. Book an Appointment
8. Verify the appointment## Test case check list based on the Scenerio:
- User Login with valid credential.
- User makes an appointment.## Mocha Awesome Report:
![Screenshot (19)](https://github.com/zafir100100/Web-Automation-with-Cypress/blob/master/cypress/screenshots/MochawesomeReport.PNG)
## Automation Output Video:
https://user-images.githubusercontent.com/55599023/227712331-3a731901-3e67-4da4-97ed-0d6d53e02b49.mp4