Given
Login by Api as "super-admin-piast" and get token and expect status "200"
107ms
And
Set token of apiUsername "super-admin-piast"
247ms
And
Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"
051ms
java.lang.NullPointerException
at io.restassured.path.json.JsonPath.getLong(JsonPath.java:340)
at CucumberTests.Settings.SettingsTest.getSettingFor(SettingsTest.java:49)
at ✽.Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"(file:Features/Api/Transport.feature:81)
And
Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ALT_IDENTIFIER" with "super-admin-piast"
000ms
When
Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200"
000ms
Then
Login as "super-admin-piast"
000ms
And
Check is transport "DELIVERY" created in transport table and set transport id
000ms