Given
Set token of apiUsername "super-admin-dayco"
220ms
And
Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company
128ms
And
Mark custom fields as not obligatory
005ms
And
Login as "dayco-admin"
2s 308ms
And
Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco"
2s 078ms
And
Get setting "ARCHIVING_JOB_INTERVAL" for "dayco"
135ms
And
Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco"
202ms
When
Go to "TRANSPORT_TABLE"
363ms
And
Click button advice in transport table "OWN_COLLECTION"
1s 318ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-dayco"
3s 531ms
And
Go to "TRANSPORT_TABLE"
357ms
And
Find transport in table with status "planned-magazyn-tychy"
3s 713ms
And
Confirm statuses until reach "process-ended"
38s 300ms
java.lang.AssertionError: Wartość on-the-area-magazyn-tychy atrybutu data-status-name nie zmieniła się w webelemencie [[ChromeDriver: chrome on LINUX (06a06e739653df18588b7b7cabd64f20)] -> xpath: //td[contains(@data-status-name, 'planned-magazyn-tychy')]]
at org.junit.Assert.fail(Assert.java:88)
at Utils.StatusUtil.waitUntilAttributeOfWebElementChangeValue(StatusUtil.java:43)
at Pages.Transport.TransportsPage.confirmNextStatus(TransportsPage.java:310)
at Pages.Transport.TransportsPage.confirmStatuses(TransportsPage.java:297)
at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReach(ConfirmStatuses.java:88)
at ✽.Confirm statuses until reach "process-ended"(file:Features/Atom/Transport/Archive.feature:49)
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