Given
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
1s 028ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
203ms
And
Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000"
16s 228ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
205ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
030ms
And
Go to mode of transportation details
125ms
And
Add "WINTER_MAPPING" document to mode of transportation
15s 236ms
And
Add "SUMMER_MAPPING" document to mode of transportation
15s 201ms
And
Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
15s 383ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
233ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
031ms
And
If user is login then logout
087ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
1s 458ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
260ms
And
Go to mode of transportation details
167ms
And
Accept "WINTER_MAPPING" document
15s 700ms
And
Accept "SUMMER_MAPPING" document
15s 771ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
15s 145ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
276ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
029ms
And
Go to mode of transportation details
163ms
And
Approve mode of transportation
053ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
231ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
024ms
And
Go to mode of transportation details
131ms
And
Reject "SENSOR_CALIBRATION_CERTIFICATE" document
15s 907ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected
037ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
192ms
And
Check if "Zablokowany" status is visible in mode of transportation table
024ms
And
Go to mode of transportation details
146ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
346ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
036ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
197ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
029ms
And
Go to mode of transportation details
143ms
And
Reject mode of transportation
066ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
164ms
And
Check if "Odrzucony" status is visible in mode of transportation table
029ms
And
Go to mode of transportation details
143ms
And
Confirm mode of transportation
058ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
181ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
028ms
And
If user is login then logout
101ms
And
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
2s 905ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
252ms
And
Go to mode of transportation details
173ms
And
Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
105ms
org.junit.ComparisonFailure: Brak lub niepoprawna data w formularzu dokumentu typu:SENSOR_CALIBRATION_CERTIFICATE expected:<1[7].03.2021> but was:<1[6].03.2021>
at org.junit.Assert.assertEquals(Assert.java:115)
at Pages.ModesOfTransportation.MOTDetailsPage.checkExpirationDateFrom(MOTDetailsPage.java:119)
at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkDefaultValuesInDocumentForm(MOTDetailsTest.java:55)
at CucumberTests.ModeOfTransportation.MOTDetailsTest.addAnotherStringDocumentToModeOfTransportation(MOTDetailsTest.java:289)
at ✽.Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:83)
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
Check if "Wyłączony" status is visible in mode of transportation table
000ms