To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorTesting Notifications from each trip about the events and exceptions for Employer Login
- Background
-
- Given
- I create companies in database
- Given
- I create employer in database
- Scenarios
-
- Employer receives Trip Notifications
- Employer views Trip Notifications
- Employer can view the historical status of a Trip
- Employer can view count of unresolved notifications
- Employer views the status of an Trip Notification
- Employer can view the unresolved trip notifications
- Employer views available actions for the Trip Notifications
- Employer views available actions for the Trip Notifications
- Employer views the list of reasons to annotate a Trip with exception
- Employer views the list of reasons to annotate a Trip with exception
- Employer receives Trip Notifications
-
- Given
- I create data for Employer Notifications with exception
- Then
- Employer receives notification for every trip in Database
- Employer views Trip Notifications
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- Then
- I should see correct status for every trip in status table for Employer Notifications
- And
- I should see alerted trip in status table for Employer Notification
- Employer can view the historical status of a Trip
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- Then
- I should see correct status for every trip in status table for Employer Notifications
- And
- I should see notification history of a trip in status table for employer login
- Employer can view count of unresolved notifications
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- And
- I should see exception count in status table for employer login
- Employer views the status of an Trip Notification
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- Then
- I should see correct status for every trip in status table for Employer Notifications
- Employer can view the unresolved trip notifications
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- Then
- I should see correct status for every trip in status table for Employer Notifications
- And
- I should see notification history of a trip in status table for employer login
- Employer views available actions for the Trip Notifications
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- Then
- I should see correct status for every trip in status table for Employer Notifications
- And
- I should see alerted trip in status table for Employer Notification
- Then
- I should see "Move To Next Step"
- Employer views available actions for the Trip Notifications
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- And
- I should see alerted trip in status table for Employer Notification
- When
- I click to "#move_to_next_step"
- Then
- I should see trip alerts resolved
- Employer views the list of reasons to annotate a Trip with exception
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- When
- I open the employee trip status -"1"
- When
- Buttons "Complete with Exception" pressed
- Then
- I see multiple options for reasons to annotate a Trip with exception
- When
- I select reason for complete trip with exception
- When
- I click to "#complete-with-exception-submit"
- When
- I open the employee trip status -"1"
- Then
- I should see "Reason for Exception: Wrong Assignment"
- Employer views the list of reasons to annotate a Trip with exception
-
- Given
- I create data for Employer Notifications with exception
- Given
- I am on "/"
- When
- I am try to log in as admin
- Given
- I am on "/trips"
- When
- I click link "Status"
- When
- I open the employee trip status -"1"
- When
- Buttons "Complete with Exception" pressed
- Then
- I see multiple options for reasons to annotate a Trip with exception
Last published almost 5 years ago by ashish lhoiya.