Given
Set token of apiUsername "super-admin-bausch"
257ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 809ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
163ms
And
Mark custom fields as not obligatory
773ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
2s 243ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
621ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
407ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "30m"
4s 663ms
And
Login as "super-admin-bausch"
6s 491ms
And
Go to "TRANSPORT_TABLE"
501ms
Then
Confirm next status and expect alert "Status potwierdzony przed czasem"
1s 617ms
And
Verify that note was added "Status potwierdzony przed czasem"
1s 321ms
java.lang.AssertionError: Nie znaleziono notatki zawierającej podaną treść: Status potwierdzony przed czasem
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at Pages.Transport.TransportsPage.checkIfNoteExists(TransportsPage.java:399)
at CucumberTests.StatusTests.ConfirmStatuses.verifyThatNoteWasAdded(ConfirmStatuses.java:309)
at ✽.Verify that note was added "Status potwierdzony przed czasem"(file:Features/Atom/Statuses/ConfirmStatuses.feature:412)