Given
Set token of apiUsername "super-admin-bausch"
230ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 775ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
186ms
And
Mark custom fields as not obligatory
762ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
2s 252ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
640ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
414ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "30m"
4s 672ms
And
Login as "super-admin-bausch"
6s 338ms
And
Go to "TRANSPORT_TABLE"
512ms
Then
Confirm next status and expect alert "Status potwierdzony przed czasem"
1s 637ms
And
Verify that note was added "Status potwierdzony przed czasem"
1s 319ms
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)