Project Number Date
ApolloFullRunnerReport apollo-test-2.52 23 cze 2021, 05:41

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 17s 506ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 142ms
When Go to "TRANSPORT_TABLE" 519ms
Then Check transport is loaded "DELIVERY" 1s 347ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 547ms
When Go to "TRANSPORT_TABLE" 398ms
Then Check transport is loaded "DELIVERY" 1s 405ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 2s 387ms
When Go to "TRANSPORT_TABLE" 368ms
Then Check transport is loaded "DELIVERY" 1s 354ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 515ms
When Go to "TRANSPORT_TABLE" 343ms
Then Check transport is loaded "LOAD" 1s 299ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 298ms
When Go to "TRANSPORT_TABLE" 390ms
Then Check transport is loaded "DELIVERY" 1s 407ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 7s 368ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 005ms
And Delete created transport by API 651ms
When Go to "ARCHIVE_TAB" 475ms
And Show all transport "false" 165ms
Then Check specific column "CONTRACTOR" 444ms
After Hooks.deleteAllTransports() 1m 16s 955ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 473ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 308ms
And Delete created transport by API 589ms
When Go to "ARCHIVE_TAB" 495ms
And Show all transport "true" 313ms
Then Check specific column "CONTRACTOR" 1s 123ms
After Hooks.deleteAllTransports() 48s 144ms
Given Set token of apiUsername "super-admin-sempertrans" 323ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 008ms
When Login as "sempertrans-admin" 2s 252ms
And Go to "TRANSPORT_TABLE" 426ms
And Show all transport "false" 170ms
And Select transportType "DELIVERY" 1s 193ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 252ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 2s 058ms
And Select transportType "DELIVERY" 1s 219ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 244ms
Then Verify if new transport appear in transport table with polling "true" 5s 109ms
After Hooks.deleteAllTransports() 1m 3s 177ms
Given Set token of apiUsername "super-admin-alrec" 263ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 927ms
When Login as "alrec-admin" 2s 285ms
And Go to "TRANSPORT_TABLE" 367ms
And Show all transport "true" 299ms
And Select transportType "DELIVERY" 1s 241ms
And Fill text based "CONTRACTOR" filter with "DAA1" 244ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 2s 762ms
And Select transportType "DELIVERY" 1s 246ms
And Fill text based "CONTRACTOR" filter with "DAA1" 276ms
Then Verify if new transport appear in transport table with polling "true" 5s 124ms
After Hooks.deleteAllTransports() 48s 739ms
Given Set token of apiUsername "super-admin-sempertrans" 264ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 967ms
When Login as "sempertrans-admin" 2s 369ms
And Go to "TRANSPORT_TABLE" 473ms
And Show all transport "false" 164ms
And Select transportType "DELIVERY" 1s 266ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 268ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 2s 112ms
And Select transportType "DELIVERY" 1s 248ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 266ms
Then Verify if new transport appear in transport table with polling "false" 20s 111ms
After Hooks.deleteAllTransports() 1m 3s 253ms
Given Set token of apiUsername "super-admin-alrec" 267ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 803ms
When Login as "alrec-admin" 2s 377ms
And Go to "TRANSPORT_TABLE" 350ms
And Show all transport "true" 298ms
And Select transportType "DELIVERY" 1s 252ms
And Fill text based "CONTRACTOR" filter with "DAA1" 208ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 2s 796ms
And Select transportType "DELIVERY" 1s 207ms
And Fill text based "CONTRACTOR" filter with "DAA1" 309ms
Then Verify if new transport appear in transport table with polling "false" 20s 071ms
After Hooks.deleteAllTransports() 48s 991ms
Given Set token of apiUsername "swisskrono-purchasing-department" 271ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 211ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 9s 886ms
When Go to "TRANSPORT_TABLE" 374ms
And Sort transports by "show-mine" 1s 216ms
And Show all transport types 1s 187ms
Then Verify that created transport is "true" in transport table 1s 239ms
After Hooks.deleteTransportAfterTest() 635ms
Given Set token of apiUsername "swisskrono-purchasing-department" 242ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 287ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 787ms
When Go to "TRANSPORT_TABLE" 438ms
And Sort transports by "show-all" 1s 140ms
And Show all transport types 1s 178ms
Then Verify that created transport is "true" in transport table 1s 277ms
After Hooks.deleteTransportAfterTest() 674ms
Given Set token of apiUsername "swisskrono-admin" 251ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 246ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 759ms
When Go to "TRANSPORT_TABLE" 386ms
And Sort transports by "show-mine" 1s 162ms
And Show all transport types 1s 180ms
Then Verify that created transport is "false" in transport table 1m 18s 498ms
After Hooks.deleteTransportAfterTest() 662ms
Given Set token of apiUsername "swisskrono-admin" 232ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 145ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 654ms
When Go to "TRANSPORT_TABLE" 385ms
And Sort transports by "show-all" 1s 164ms
And Show all transport types 1s 192ms
Then Verify that created transport is "true" in transport table 1s 261ms
After Hooks.deleteTransportAfterTest() 715ms
Given Set token of apiUsername "swisskrono-purchasing-department" 257ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 234ms
And Delete created transport by API 692ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 813ms
When Go to "ARCHIVE_TAB" 467ms
And Sort transports by "show-mine" 1s 143ms
And Show "SMALLS_IMPORT" 177ms
Then Verify that created transport is "true" in transport table 15s 137ms
After Hooks.deleteTransportAfterTest() 655ms
Given Set token of apiUsername "swisskrono-purchasing-department" 252ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 16s 113ms
And Delete created transport by API 670ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 670ms
When Go to "ARCHIVE_TAB" 496ms
And Sort transports by "show-all" 1s 141ms
And Show "SMALLS_IMPORT" 147ms
Then Verify that created transport is "true" in transport table 15s 154ms
After Hooks.deleteTransportAfterTest() 731ms
Given Set token of apiUsername "swisskrono-admin" 253ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 054ms
And Delete created transport by API 687ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 862ms
When Go to "ARCHIVE_TAB" 471ms
And Sort transports by "show-mine" 1s 147ms
And Show "SMALLS_IMPORT" 177ms
Then Verify that created transport is "false" in transport table 1m 32s 398ms
After Hooks.deleteTransportAfterTest() 786ms
Given Set token of apiUsername "swisskrono-admin" 248ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 149ms
And Delete created transport by API 607ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 950ms
When Go to "ARCHIVE_TAB" 468ms
And Sort transports by "show-all" 1s 151ms
And Show "SMALLS_IMPORT" 171ms
Then Verify that created transport is "true" in transport table 15s 180ms
After Hooks.deleteTransportAfterTest() 632ms
Given Set token of apiUsername "super-admin-alrec" 270ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 16s 106ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 16s 092ms
When Login as "alrec-admin" 2s 465ms
And Go to "TRANSPORT_TABLE" 399ms
And Show all transport "true" 344ms
And Select transportType "TRANSPORT_ORDER" 1s 305ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 26s 432ms
After Hooks.deleteAllTransports() 48s 490ms
Given Set token of apiUsername "super-admin-alrec" 277ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 331ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 2s 294ms
When Login as "alrec-admin" 2s 298ms
And Go to "TRANSPORT_TABLE" 402ms
And Show all transport "true" 345ms
And Select transportType "INBOUND" 1s 250ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 26s 260ms
After Hooks.deleteAllTransports() 48s 330ms
Given Set token of apiUsername "super-admin-alrec" 259ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 362ms
When Login as "alrec-admin" 2s 220ms
And Go to "TRANSPORT_TABLE" 362ms
And Show all transport "true" 323ms
And Select transportType "TRANSPORT_ORDER" 1s 286ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 37s 314ms
After Hooks.deleteTransportAfterTest() 585ms
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 735ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 166ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 707ms
And Accept transferred transport by Api 012ms
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() 882ms
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 400ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 048ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 815ms
And Accept transferred transport by Api 015ms
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() 891ms
Given Set token of apiUsername "super-admin-neuca" 365ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 029ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 2s 991ms
And Login as "neuca-admin" 2s 062ms
And Go to "TRANSPORT_TABLE" 470ms
Then Verify that created transport is "false" in transport table 1m 32s 308ms
And Toggle transport table days limit filter 194ms
And Verify that created transport is "true" in transport table 15s 172ms
After Hooks.deleteTransportAfterTest() 909ms
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 249ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 148ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 033ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 860ms
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() 902ms
After Hooks.rollbackSettings() 183ms