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 Assigning Driver to Trips with Female Employee in odd times by Employer Login
- Scenarios
-
- Employer views all Manifests with female exception
- Employer views a selected Manifest with a female exception
- Employer views a list of available Security Guards
- Employer views a list of available Security Guards
- [BUG]Employer can edit the assigned Security Guard
- [BUG]Employer can auto-assign multiple Security Guards
- Employer views all Manifests with female exception
-
- Given
- Filling database and login as admin using cookies
- Given
- I create "0" male employees and "1" female employees in database
- Given
- I create guard in database
- When
- I create new shift with check_in "02:00" and check_out "04:00"
- Then
- I create trip for employee -"2" for "Today"
- Given
- I am on "/trips"
- Given
- I click link "Manifest"
- Then
- I should see alert sign for trip -"1"
- Employer views a selected Manifest with a female exception
-
- Given
- Filling database and login as admin using cookies
- Given
- I create "0" male employees and "1" female employees in database
- Given
- I create guard in database
- When
- I create new shift with check_in "02:00" and check_out "04:00"
- Then
- I create trip for employee -"2" for "Today"
- Given
- I am on "/trips"
- Given
- I click link "Manifest"
- Then
- I should see alert sign for trip -"1"
- When
- I open the employee trip Manifest -"1"
- Then
- I should see "Add Guard"
- Employer views a list of available Security Guards
-
- Given
- Filling database and login as admin using cookies
- Given
- I create "0" male employees and "1" female employees in database
- Given
- I create guard in database
- When
- I create new shift with check_in "02:00" and check_out "04:00"
- Then
- I create trip for employee -"2" for "Today"
- Given
- I am on "/trips"
- Given
- I click link "Manifest"
- When
- I open the employee trip Manifest -"1"
- Given
- I click link "Add Guard"
- Then
- should see name of Guard -"1"
- Employer views a list of available Security Guards
-
- Given
- Filling database and login as admin using cookies
- Given
- I create "0" male employees and "1" female employees in database
- Given
- I create guard in database
- When
- I create new shift with check_in "02:00" and check_out "04:00"
- Then
- I create trip for employee -"2" for "Today"
- Given
- I am on "/trips"
- Given
- I click link "Manifest"
- When
- I open the employee trip Manifest -"1"
- Given
- I click link "Add Guard"
- Then
- should see name of Guard -"1"
- Given
- I select guard - "1"
- When
- I open the employee trip Manifest -"1"
- Then
- should see name of Guard -"1"
- [BUG]Employer can edit the assigned Security Guard
-
- Given
- Filling database and login as admin using cookies
- Given
- I create "0" male employees and "1" female employees in database
- Given
- I create guard in database
- When
- I create new shift with check_in "02:00" and check_out "04:00"
- Then
- I create trip for employee -"2" for "Today"
- Given
- I am on "/trips"
- Given
- I click link "Manifest"
- When
- I open the employee trip Manifest -"1"
- Given
- I click link "Add Guard"
- Then
- should see name of Guard -"1"
- Given
- I select guard - "1"
- When
- I open the employee trip Manifest -"1"
- Given
- I delete assigned guard
- [BUG]Employer can auto-assign multiple Security Guards
-
- Given
- Filling database and login as admin using cookies
- Given
- I create "0" male employees and "2" female employees in database
- Given
- I create guard in database
- Given
- I create guard in database
- When
- I create new shift with check_in "02:00" and check_out "04:00"
- Then
- I create trip for employee -"2" for "Today"
- Then
- I create trip for employee -"3" for "Today"
- Given
- I am on "/trips"
- Given
- I click link "Manifest"
- Then
- I should see alert sign for trip -"1"
- Then
- I should see alert sign for trip -"2"
- When
- Buttons "Auto Assign Guard" pressed
- When
- I open the employee trip Manifest -"1"
- When
- Buttons "×" pressed
- When
- I open the employee trip Manifest -"2"
Last published almost 5 years ago by ashish lhoiya.