- Install Cypress latest version https://www.cypress.io/
- Node LTS or above
- IDE / Text editor (VS Code, WebStorm, Sublime, etc)
{
"baseUrl": "https://sg.speedoc.com/en",
"viewportWidth": 1440,
"viewportHeight": 950,
}
The goal is to make sure all test cases works.
-
Should click 4 menu button Hero on https://sg.speedoc.com/en
- Nurse Visit
- Video Consult
- Ambulance
- Doctor Home Visit
Video: https://drive.google.com/file/d/1Vj4KtYDyjkH3XBv9XmOP2LyI1B6c-RRu/view?usp=sharing
-
On Nursing Care Services page, it should validate if link: https://speedoc.com/sg/home-nursing-care-house-call-nurses
- Simple Wound Dressing === $135.16
- Complex Wound Dressing prices === $257.24
- Indwelling Urinary Catheter (IDC) Insertion prices === $207.10
Video: https://drive.google.com/file/d/1Vj4KtYDyjkH3XBv9XmOP2LyI1B6c-RRu/view?usp=sharing
-
Should access contact-us page from Speedoc homepage via hamburger menu on the header
Link: from https://sg.speedoc.com/en >> https://sg.speedoc.com/en/help/contact-us
Validation: In Kuala Lumpur, Malaysia the 24 Hour Hotline number should +60 11 4166 1178
Video: https://drive.google.com/file/d/1IpX8HL4Oi7QZsALZzblZGBK442OK95rr/view?usp=sharing -
Should check if [Blocked Ear, Back Pain, Bleeding] are available in video consultation symptoms
Link: https://speedoc.com/sg/telemedicine-online-doctors
Validation: Each symptoms should be available.
Video: https://drive.google.com/file/d/1H8CIZkmC6XSc547tuF7APW8muH6cbz5m/view?usp=sharing -
Should be able to select 4 Chronic Condition on Chronic Diseases Management without submitting the request
Link: https://speedoc.com/sg/chronic-diseases-management
Validation: Chronic condition field should contain “Diabetes, High Blood pressure, High Cholesterol, Other”
Video: https://drive.google.com/file/d/1WXIUsOaBnBLMLZPJOjb39Gn6-7YWo9YE/view?usp=sharing
Write test scenarios with gherkin, create folder name features inside cypress/integration and cover all test possibilities for this two pages:
example.feature
Feature: Covid-19 Test Singapore
Scenario: User successfully booked COVID-19 Antigen Rapid Test
Given User on the Covid-19 Test page
When User choose COVID-19 Antigen Rapid Test
And User fill all mandatory field for booking Covid-19 service
And User click Book button
Then User successfully booked COVID-19 Antigen Rapid Test
Scenario: User successfully booked COVID-19 Antigen Rapid Test for 3 person
Given User on the Covid-19 Test page
When User choose COVID-19 Antigen Rapid Test
And User fill all mandatory field for booking service with 3 person
And User click Book button
Then User successfully booked COVID-19 Antigen Rapid Test for 3 person
Git clone, create you branch and send us a pull request. We'll review it and get back to you in order to talk about your submission!