Given
Login as "piast-admin" and set token of apiUsername "super-admin-piast"
1s 493ms
And
Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200"
419ms
And
Get inputs from database "ADVICE_DELIVERY" "super-admin-piast"
4s 689ms
And
Show all transport types
1s 073ms
And
Click button advice in transport table "DELIVERY"
093ms
And
Set advice window in schedule
2s 886ms
And
Fill advice form
10s 754ms
And
Click advice save button and wait for advice form to disappear
31s 212ms
When
Edit transport by JSON file "EDIT_DELIVERY" as "super-admin-piast" for api version "v1"
921ms
And
Check if response status code equals "200"
000ms
And
Go to "TRANSPORT_TABLE"
206ms
And
Go to transport details "DELIVERY"
2s 631ms
Then
Check are transport values equals
2s 133ms
java.lang.AssertionError: Wartości w formularzu w polu phone-number-prefix są niepoprawne, wartość na stronie: wartość poprawna: 48
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
at ✽.Check are transport values equals(file:Features/Api/Transport.feature:164)