Given
Login as "dayco-admin" and set token of apiUsername "super-admin-dayco"
2s 240ms
And
Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco"
2s 176ms
And
Get setting "ARCHIVING_JOB_INTERVAL" for "dayco"
115ms
And
Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco"
007ms
java.lang.IllegalStateException: Transaction already active
at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:75)
at Utils.JpaUtils.Apollo.SelectService.ApolloUpdateDbService.setCompanySettingsByName(ApolloUpdateDbService.java:20)
at CucumberTests.Settings.SettingsTest.prepareSettingWithValueWith(SettingsTest.java:55)
at ✽.Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco"(file:Features/Atom/Transport/Archive.feature:39)
When
Go to "TRANSPORT_TABLE"
000ms
And
Click button advice in transport table "OWN_COLLECTION"
000ms
And
Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
And
Find transport in table with status "planned-magazyn-tychy"
000ms
And
Confirm statuses until reach "process-ended"
000ms
And
Wait "12" seconds
000ms
Then
Go to "ARCHIVE_TAB"
000ms
And
Show "OWN_COLLECTION"
000ms
And
Verify that created transport is "true" in transport table
000ms