Last active
July 13, 2021 08:05
-
-
Save sakshamgurung/5c3693f027c793e225b94a8d28760dfb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# staff.feature | |
# this is a background keyword learn more here: https://cucumber.io/docs/gherkin/reference/#background | |
Background: | |
Given a company has been created with following information and default attributes | |
# this is a data table you can learn more from: https://dev.to/jankaritech/datatables-used-in-a-gherkin-feature-file-2i89 | |
| email | pkrwaste@gmail.com | | |
| mobileNo | 9816564565 | | |
| password | password | | |
And super admin has accepted the company | |
And company has logged in with email "" and password "" using the webUI | |
And company has added a staff with following information and default attributes | |
| email | pwstaff1@gmail.com | | |
| mobileNo | 9876542635 | | |
| password | password | | |
Scenario: Staff memebers are listed | |
When the company browses to the staff page using the webUI | |
Then staff with following information should be listed in the webUI | |
| email | pwstaff1@gmail.com | | |
| mobileNo | 9876542635 | | |
Scenario: Delete staff | |
When the company deletes the staff with following information usint the webUI | |
| email | pwstaff1@gmail.com | | |
| mobileNo | 9876542635 | | |
Then staff with following information should be listed in the webUI | |
| email | pwstaff1@gmail.com | | |
| mobileNo | 9876542635 | | |
#vehicle.feature | |
Scenario: Vehicles are listed | |
Scenario: Delete vehicle | |
#work.feature | |
Scenario: Works are listed | |
Given the company creates following works with default attributes | |
| work-title | | |
| unique-work-tile | | |
| unique-work-tile | | |
When the company browses to the work page using the webUI | |
Then following works should be listed in the webUI | |
| work-title | | |
| unique-work-tile | | |
| unique-work-tile | | |
#customerRequest.feature | |
Scenario: Customer requests are listed | |
Scenario: Accept one-time customer request | |
Scenario: Denie one-time customer request | |
Scenario: Accept subscription request | |
Scenario: Denie subscription request | |
#subscription.feature | |
Scenario: Company subscriber are listed | |
Scenario: Subscriber information are displayed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment