Given
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
1s 057ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
212ms
And
Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000"
16s 247ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
196ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
029ms
And
Go to mode of transportation details
106ms
And
Add "WINTER_MAPPING" document to mode of transportation
15s 187ms
And
Add "SUMMER_MAPPING" document to mode of transportation
15s 213ms
And
Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
15s 400ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
258ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
025ms
And
If user is login then logout
100ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
2s 225ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
255ms
And
Go to mode of transportation details
172ms
And
Accept "WINTER_MAPPING" document
15s 671ms
And
Accept "SUMMER_MAPPING" document
15s 098ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
15s 713ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
261ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
027ms
And
Go to mode of transportation details
155ms
And
Approve mode of transportation
059ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
180ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
030ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Z]aakceptowany> but was:<[Niez]aakceptowany>
at org.junit.Assert.assertEquals(Assert.java:115)
at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
at ✽.Check if "Zaakceptowany" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:49)
And
Go to mode of transportation details
000ms
And
Reject "SENSOR_CALIBRATION_CERTIFICATE" document
000ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Check if "Zablokowany" status is visible in mode of transportation table
000ms
And
Go to mode of transportation details
000ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
000ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
000ms
And
Go to mode of transportation details
000ms
And
Reject mode of transportation
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Check if "Odrzucony" status is visible in mode of transportation table
000ms
And
Go to mode of transportation details
000ms
And
Confirm mode of transportation
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
000ms
And
If user is login then logout
000ms
And
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Go to mode of transportation details
000ms
And
Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Check if "Zaktualizowany" status is visible in mode of transportation table
000ms
And
If user is login then logout
000ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Go to mode of transportation details
000ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
000ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
000ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
000ms
And
Disable mode of transportation by API
000ms
And
Show disabled mode of transportations in the table
000ms
And
Go to the last mode of transportations table page
000ms
And
Check if "Wyłączony" status is visible in mode of transportation table
000ms