Given
Set token of apiUsername "super-admin-dayco"
091ms
And
Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company
017ms
And
Mark custom fields as not obligatory
006ms
And
Login as "dayco-admin"
989ms
And
Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco"
1s 217ms
And
Get setting "ARCHIVING_JOB_INTERVAL" for "dayco"
029ms
And
Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco"
049ms
When
Go to "TRANSPORT_TABLE"
121ms
And
Click button advice in transport table "OWN_COLLECTION"
1s 948ms
And
Create advice by JSON file "ADVICE_OWN_COLLECTION" as "super-admin-dayco"
000ms
java.lang.NullPointerException
at Utils.JsonApiUtil.getJSON(JsonApiUtil.java:145)
at Utils.JsonApiUtil.getTransportApiJson(JsonApiUtil.java:131)
at CucumberTests.Transport.AdviceTransport.prepareAdviceJSON(AdviceTransport.java:371)
at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:343)
at ✽.Create advice by JSON file "ADVICE_OWN_COLLECTION" as "super-admin-dayco"(file:Features/Atom/Transport/Archive.feature:46)
And
Go to "TRANSPORT_TABLE"
000ms
And
Find transport in table with status "planned-magazyn-tychy"
000ms
And
Confirm statuses until reach "process-ended"
000ms
And
Wait until transport disappear from transport table
000ms
Then
Go to "ARCHIVE_TAB"
000ms
And
Show "OWN_COLLECTION"
000ms
And
Verify that created transport is "true" in transport table
000ms