Given
Set token of apiUsername "super-admin-dayco"
229ms
And
Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company
127ms
And
Mark custom fields as not obligatory
005ms
And
Login as "dayco-admin"
2s 279ms
And
Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco"
2s 070ms
And
Get setting "ARCHIVING_JOB_INTERVAL" for "dayco"
161ms
And
Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco"
210ms
When
Go to "TRANSPORT_TABLE"
361ms
And
Click button advice in transport table "OWN_COLLECTION"
1s 293ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_OWN_COLLECTION" as "super-admin-dayco"
3s 739ms
And
Go to "TRANSPORT_TABLE"
375ms
And
Find transport in table with status "planned-magazyn-tychy"
3s 715ms
And
Confirm statuses until reach "process-ended"
38s 365ms
java.lang.AssertionError: Wartość on-the-area-magazyn-tychy atrybutu data-status-name nie zmieniła się w webelemencie [[ChromeDriver: chrome on LINUX (cc46d83b08edba653bf87ec993385712)] -> 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