Given
Set token of apiUsername "super-admin-bausch"
240ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 710ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
173ms
And
Mark custom fields as not obligatory
731ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
2s 222ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
658ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
457ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "30m"
647ms
java.text.ParseException: Unparseable date: "2021-09-09T01:00:00.000Z"
at java.text.DateFormat.parse(DateFormat.java:366)
at CucumberTests.Transport.AdviceTransport.prepareAdviceJSON(AdviceTransport.java:378)
at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFileWithInterval(AdviceTransport.java:350)
at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "30m"(file:Features/Atom/Statuses/ConfirmStatuses.feature:412)
And
Login as "super-admin-bausch"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
Then
Confirm next status and expect alert "Status potwierdzony przed czasem"
000ms
And
Wait "1" seconds
000ms
And
Verify that note was added "Status potwierdzony przed czasem"
000ms