Project Number Date
ApolloFullRunnerReport apollo-test-2.51 22 cze 2021, 10:35

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Filters 171 3 14 0 0 188 23 3 26 12m 14s 855ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 087ms
When Go to "TRANSPORT_TABLE" 507ms
Then Check transport is loaded "DELIVERY" 1s 339ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 534ms
When Go to "TRANSPORT_TABLE" 481ms
Then Check transport is loaded "DELIVERY" 1s 415ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 2s 393ms
When Go to "TRANSPORT_TABLE" 335ms
Then Check transport is loaded "DELIVERY" 1s 336ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 252ms
When Go to "TRANSPORT_TABLE" 329ms
Then Check transport is loaded "LOAD" 1s 289ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 271ms
When Go to "TRANSPORT_TABLE" 330ms
Then Check transport is loaded "DELIVERY" 1s 361ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 4s 824ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 040ms
And Delete created transport by API 739ms
When Go to "ARCHIVE_TAB" 461ms
And Show all transport "false" 167ms
Then Check specific column "CONTRACTOR" 509ms
After Hooks.deleteAllTransports() 1m 16s 972ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 616ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 398ms
And Delete created transport by API 713ms
When Go to "ARCHIVE_TAB" 530ms
And Show all transport "true" 347ms
Then Check specific column "CONTRACTOR" 1s 325ms
After Hooks.deleteAllTransports() 48s 214ms
Given Set token of apiUsername "super-admin-sempertrans" 267ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 002ms
When Login as "sempertrans-admin" 2s 190ms
And Go to "TRANSPORT_TABLE" 477ms
And Show all transport "false" 165ms
And Select transportType "DELIVERY" 1s 241ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 284ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 2s 068ms
And Select transportType "DELIVERY" 1s 260ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 274ms
Then Verify if new transport appear in transport table with polling "true" 5s 127ms
After Hooks.deleteAllTransports() 1m 3s 381ms
Given Set token of apiUsername "super-admin-alrec" 252ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 3s 001ms
When Login as "alrec-admin" 2s 276ms
And Go to "TRANSPORT_TABLE" 413ms
And Show all transport "true" 344ms
And Select transportType "DELIVERY" 1s 287ms
And Fill text based "CONTRACTOR" filter with "DAA1" 248ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 2s 856ms
And Select transportType "DELIVERY" 1s 215ms
And Fill text based "CONTRACTOR" filter with "DAA1" 231ms
Then Verify if new transport appear in transport table with polling "true" 5s 099ms
After Hooks.deleteAllTransports() 49s 097ms
Given Set token of apiUsername "super-admin-sempertrans" 271ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 017ms
When Login as "sempertrans-admin" 2s 207ms
And Go to "TRANSPORT_TABLE" 422ms
And Show all transport "false" 162ms
And Select transportType "DELIVERY" 1s 191ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 253ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 1s 997ms
And Select transportType "DELIVERY" 1s 211ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 265ms
Then Verify if new transport appear in transport table with polling "false" 20s 060ms
After Hooks.deleteAllTransports() 1m 3s 443ms
Given Set token of apiUsername "super-admin-alrec" 263ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 872ms
When Login as "alrec-admin" 2s 337ms
And Go to "TRANSPORT_TABLE" 406ms
And Show all transport "true" 332ms
And Select transportType "DELIVERY" 1s 284ms
And Fill text based "CONTRACTOR" filter with "DAA1" 226ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 2s 901ms
And Select transportType "DELIVERY" 1s 235ms
And Fill text based "CONTRACTOR" filter with "DAA1" 230ms
Then Verify if new transport appear in transport table with polling "false" 20s 102ms
After Hooks.deleteAllTransports() 48s 962ms
Given Set token of apiUsername "swisskrono-purchasing-department" 242ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 277ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 9s 422ms
When Go to "TRANSPORT_TABLE" 402ms
And Sort transports by "show-mine" 1s 124ms
And Show all transport types 1s 163ms
Then Verify that created transport is "true" in transport table 1s 220ms
After Hooks.deleteTransportAfterTest() 739ms
Given Set token of apiUsername "swisskrono-purchasing-department" 263ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 179ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 576ms
When Go to "TRANSPORT_TABLE" 386ms
And Sort transports by "show-all" 1s 127ms
And Show all transport types 1s 147ms
Then Verify that created transport is "true" in transport table 1s 245ms
After Hooks.deleteTransportAfterTest() 755ms
Given Set token of apiUsername "swisskrono-admin" 262ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 245ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 644ms
When Go to "TRANSPORT_TABLE" 381ms
And Sort transports by "show-mine" 1s 162ms
And Show all transport types 1s 172ms
Then Verify that created transport is "false" in transport table 1m 18s 440ms
After Hooks.deleteTransportAfterTest() 844ms
Given Set token of apiUsername "swisskrono-admin" 257ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 291ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 908ms
When Go to "TRANSPORT_TABLE" 398ms
And Sort transports by "show-all" 1s 158ms
And Show all transport types 1s 195ms
Then Verify that created transport is "true" in transport table 1s 295ms
After Hooks.deleteTransportAfterTest() 785ms
Given Set token of apiUsername "swisskrono-purchasing-department" 249ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 256ms
And Delete created transport by API 745ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 807ms
When Go to "ARCHIVE_TAB" 448ms
And Sort transports by "show-mine" 1s 125ms
And Show "SMALLS_IMPORT" 151ms
Then Verify that created transport is "true" in transport table 15s 143ms
After Hooks.deleteTransportAfterTest() 841ms
Given Set token of apiUsername "swisskrono-purchasing-department" 250ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 16s 134ms
And Delete created transport by API 717ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 753ms
When Go to "ARCHIVE_TAB" 471ms
And Sort transports by "show-all" 1s 144ms
And Show "SMALLS_IMPORT" 179ms
Then Verify that created transport is "true" in transport table 15s 148ms
After Hooks.deleteTransportAfterTest() 922ms
Given Set token of apiUsername "swisskrono-admin" 260ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 154ms
And Delete created transport by API 669ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 875ms
When Go to "ARCHIVE_TAB" 486ms
And Sort transports by "show-mine" 1s 143ms
And Show "SMALLS_IMPORT" 178ms
Then Verify that created transport is "false" in transport table 1m 32s 374ms
After Hooks.deleteTransportAfterTest() 905ms
Given Set token of apiUsername "swisskrono-admin" 250ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 164ms
And Delete created transport by API 769ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 858ms
When Go to "ARCHIVE_TAB" 434ms
And Sort transports by "show-all" 1s 128ms
And Show "SMALLS_IMPORT" 141ms
Then Verify that created transport is "true" in transport table 15s 139ms
After Hooks.deleteTransportAfterTest() 834ms
Given Set token of apiUsername "super-admin-alrec" 276ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 16s 156ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 16s 145ms
When Login as "alrec-admin" 2s 235ms
And Go to "TRANSPORT_TABLE" 347ms
And Show all transport "true" 298ms
And Select transportType "TRANSPORT_ORDER" 1s 260ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 26s 269ms
After Hooks.deleteAllTransports() 48s 633ms
Given Set token of apiUsername "super-admin-alrec" 261ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 332ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 2s 277ms
When Login as "alrec-admin" 2s 351ms
And Go to "TRANSPORT_TABLE" 411ms
And Show all transport "true" 343ms
And Select transportType "INBOUND" 1s 247ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 26s 382ms
After Hooks.deleteAllTransports() 48s 568ms
Given Set token of apiUsername "super-admin-alrec" 247ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 305ms
When Login as "alrec-admin" 2s 316ms
And Go to "TRANSPORT_TABLE" 404ms
And Show all transport "true" 306ms
And Select transportType "TRANSPORT_ORDER" 1s 284ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 37s 274ms
After Hooks.deleteTransportAfterTest() 668ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 759ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 184ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 680ms
And Accept transferred transport by Api 016ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Filters/Filter.feature:135)
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 000ms
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "SMALLS_IMPORT" 000ms
Then Check if it is possible to search with different date property selects 000ms
After Hooks.deleteTransportAfterTest() 940ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 489ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 217ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 660ms
And Accept transferred transport by Api 014ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Filters/Filter.feature:135)
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 000ms
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "SMALLS_EXPORT" 000ms
Then Check if it is possible to search with different date property selects 000ms
After Hooks.deleteTransportAfterTest() 964ms
Given Set token of apiUsername "super-admin-neuca" 271ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 025ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 3s 225ms
And Login as "neuca-admin" 2s 112ms
And Go to "TRANSPORT_TABLE" 460ms
Then Verify that created transport is "false" in transport table 1m 32s 356ms
And Toggle transport table days limit filter 193ms
And Verify that created transport is "true" in transport table 15s 180ms
After Hooks.deleteTransportAfterTest() 1s 014ms
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 260ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 157ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 026ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 681ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at CucumberTests.Transport.CreateTransport.createMultipleByJSONFileAs(CreateTransport.java:71)
	at ✽.Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/Filters/Filter.feature:165)
Then Login as "neuca-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if sorting by 'Finished' status is working correctly 000ms
After Hooks.deleteTransportsAfterTest() 1s 096ms
After Hooks.rollbackSettings() 170ms