Given
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
1s 103ms
When
Create default mode of transportation by API with "pba1-carrier"
1s 272ms
And
Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier"
058ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API
1s 100ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
234ms
And
Go to mode of transportation details
149ms
Then
Approve mode of transportation
056ms
And
Check if confirm mode of transportation button is visible
2s 310ms
Then
Go to "MODE_OF_TRANSPORTATION_TAB"
168ms
And
Verify that user is redirected to mode of transportation tab
023ms
Then
Check if "Zaakceptowany" status is visible in mode of transportation table
024ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Zaakceptowany]> but was:<[Accepted]>
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:120)