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 operator provisioning
- Background
-
- Given
- Go to Operator Provisioning page
- Scenarios
-
- Operator has the ability to add new customers
- Operator has the ability to delete customers
- Operator has the ability to edit new employers
- [BUG]Operator has the ability to add new employers
- Operator has the ability to add new customers
- Operator has the ability to add business associate
- Operator has the ability to add new Vehicles
- Operator has the ability to add new Drivers
- Operator has the ability to add new customers
-
- Given
- Go to Operator Provisioning page ".employee-company" tab
- When
- I click to ".add-new-item"
- Then
- Wait for operator modal "Add New Company"
- When
- I submit new customer form
- Then
- I should see "The company name length must be more than 3 characters"
- Given
- Fill form new customer data
- When
- I submit new customer form
- Then
- I should see new customer
- Operator has the ability to delete customers
-
- Given
- Go to Operator Provisioning page ".employee-company" tab
- When
- I click to ".editor_remove"
- Then
- Wait for operator modal "Delete company"
- When
- I click to ".modal-content .btn-primary"
- Then
- I should see no customer
- Operator has the ability to edit new employers
-
- Given
- Go to Operator Provisioning page ".employers" tab
- When
- I click to ".employer_edit"
- Then
- Wait for operator modal "Edit customer"
- Then
- I should see employer's details
- [BUG]Operator has the ability to add new employers
-
- Given
- Go to Operator Provisioning page ".employers" tab
- When
- I click to ".add-new-item"
- Then
- Wait for operator modal "Add New Customer"
- Operator has the ability to add new customers
-
- Given
- I create operator shift manager
- Given
- Go to Operator Provisioning page ".operator_shift_managers" tab
- When
- I click to ".profile-nav .fa-angle-down"
- Then
- I should see "Log Out"
- When
- I click link "Log Out"
- When
- I reset password of Operator Shift Manager
- And
- I fill password fields with new passwords for regression
- Then
- I should see "You need to sign in or sign up before continuing."
- Operator has the ability to add business associate
-
- Given
- Go to Operator Provisioning page ".business-associates" tab
- When
- I click to ".add-new-item"
- Then
- Wait for operator new business associate form with label "Primary Administrator:"
- When
- I submit new business associate form
- Then
- I should see "Pan can't be blank"
- And
- I should see "Pan is the wrong length (should be 10 characters)"
- And
- I should see "Tan can't be blank"
- And
- I should see "Tan is the wrong length (should be 10 characters)"
- And
- I should see "Name can't be blank"
- And
- I should see "Legal name can't be blank"
- And
- I should see "Hq address can't be blank"
- And
- I should see "Service tax no is the wrong length (should be 15 characters)"
- When
- I click to ".add-new-item"
- Then
- Wait for operator new business associate form with label "Primary Administrator:"
- Given
- Operator fills form new business associate data
- When
- I submit new business associate form
- Then
- I should see new business associate
- Operator has the ability to add new Vehicles
-
- Given
- Go to Operator Provisioning page ".vehicles" tab
- When
- I click to ".add-new-item"
- Then
- Wait for operator vehicle form with label "Info:"
- When
- I submit new vehicle form
- Then
- I should see "Plate number can't be blank"
- And
- I should see "Make can't be blank"
- And
- I should see "Model can't be blank"
- And
- I should see "Colour can't be blank"
- And
- I should see "Rc book no can't be blank"
- And
- I should see "Registration date can't be blank"
- And
- I should see "Insurance date can't be blank"
- And
- I should see "Permit type can't be blank"
- And
- I should see "Permit validity date can't be blank"
- And
- I should see "Make year can't be blank"
- And
- I should see "Device can't be blank"
- When
- I click to ".add-new-item"
- Then
- Wait for operator vehicle form with label "Info:"
- Given
- Fill form new vehicle data
- When
- I submit new vehicle form
- Then
- I should see "Vehicle was successfully created"
- Then
- I should see new vehicle
- Operator has the ability to add new Drivers
-
- Given
- Go to Operator Provisioning page ".drivers" tab
- When
- I click to ".add-new-item"
- Then
- Wait for operator new driver form with label "Driver attributes:"
- When
- I submit new driver form
- Then
- I should see "can't be blank"
- Given
- Operator fills form new driver data
- When
- I submit new driver form
- Then
- I should see new driver
Last published almost 5 years ago by ashish lhoiya.