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 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 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 over 4 years ago by ashish lhoiya.