Given
Login as "piast-admin" and set token of apiUsername "super-admin-piast"
6s 427ms
And
Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200"
1s 395ms
And
Get inputs from database "ADVICE_DELIVERY" "super-admin-piast"
2s 599ms
And
Show all transport types
1s 186ms
And
Click button advice in transport table "DELIVERY"
237ms
And
Set advice window in schedule
3s 820ms
And
Fill advice form
13s 377ms
And
Click advice save button and wait for advice form to disappear
33s 959ms
When
Edit transport by JSON file "EDIT_DELIVERY" as "super-admin-piast" for api version "v1"
5s 194ms
And
Check if response status code equals "200"
000ms
And
Go to "TRANSPORT_TABLE"
481ms
And
Go to transport details "DELIVERY"
2s 968ms
Then
Check are transport values equals
2s 626ms
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)