Project Number Date
ApolloFullRunnerReport develop.279 23 sty 2021, 04:40

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Filters 175 2 9 0 0 186 24 2 26 15m 32s 155ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 597ms
When Go to "TRANSPORT_TABLE" 105ms
Then Check transport is loaded "DELIVERY" 1s 143ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 143ms
When Go to "TRANSPORT_TABLE" 092ms
Then Check transport is loaded "DELIVERY" 1s 206ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 1s 047ms
When Go to "TRANSPORT_TABLE" 109ms
Then Check transport is loaded "DELIVERY" 1s 165ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 099ms
When Go to "TRANSPORT_TABLE" 093ms
Then Check transport is loaded "LOAD" 1s 140ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 068ms
When Go to "TRANSPORT_TABLE" 102ms
Then Check transport is loaded "DELIVERY" 1s 179ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 2s 439ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 225ms
And Delete created transport by API 074ms
When Go to "ARCHIVE_TAB" 150ms
And Show all transport "false" 008ms
Then Check specific column "CONTRACTOR" 113ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 078ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 331ms
And Delete created transport by API 100ms
When Go to "ARCHIVE_TAB" 173ms
And Show all transport "true" 074ms
Then Check specific column "CONTRACTOR" 712ms
Given Set token of apiUsername "super-admin-sempertrans" 099ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 151ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 178ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 003ms
When Login as "sempertrans-admin" 1s 091ms
And Go to "TRANSPORT_TABLE" 195ms
And Select transportType "DELIVERY" 1s 092ms
And Click button advice in transport table "DELIVERY" 129ms
And Set advice window in schedule in the past 2s 291ms
And Fill advice form 9s 507ms
And Click advice save button and wait for advice form to disappear 30s 678ms
And Go to "TRANSPORT_TABLE" 285ms
And Select transportType "DELIVERY" 1s 091ms
Then Check if filters work properly 40s 406ms
After Hooks.deleteAllTransports() 15s 401ms
Given Set token of apiUsername "super-admin-sempertrans" 096ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 227ms
When Login as "sempertrans-admin" 1s 066ms
And Go to "TRANSPORT_TABLE" 162ms
And Show all transport "false" 012ms
And Select transportType "DELIVERY" 1s 074ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 111ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 1s 178ms
And Select transportType "DELIVERY" 1s 120ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 107ms
Then Verify if new transport appear in transport table with polling "true" 097ms
After Hooks.deleteAllTransports() 30s 158ms
Given Set token of apiUsername "super-admin-alrec" 098ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 318ms
When Login as "alrec-admin" 1s 025ms
And Go to "TRANSPORT_TABLE" 113ms
And Show all transport "true" 085ms
And Select transportType "DELIVERY" 1s 125ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 132ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "0" days 1s 284ms
And Select transportType "DELIVERY" 1s 110ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 120ms
Then Verify if new transport appear in transport table with polling "true" 101ms
After Hooks.deleteAllTransports() 30s 158ms
Scenario Outline Check if transports are visible in table when using filter that does\doesn't apply to all created transports
Steps
Given Set token of apiUsername "super-admin-sempertrans" 095ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 246ms
When Login as "sempertrans-admin" 1s 056ms
And Go to "TRANSPORT_TABLE" 209ms
And Show all transport "false" 012ms
And Select transportType "DELIVERY" 1s 092ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 102ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "0" days 1s 190ms
And Select transportType "DELIVERY" 1s 122ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 126ms
Then Verify if new transport appear in transport table with polling "false" 110ms
java.lang.AssertionError: Transport z id: 203899667 jest nadal widoczny
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Filters.FilterTransportTest.verifyThatClassificationResourceIsInClassificationsTable(FilterTransportTest.java:74)
	at ✽.Verify if new transport appear in transport table with polling "false"(file:Features/Atom/Filters/Filter.feature:59)
After Hooks.deleteAllTransports() 30s 126ms
Scenario Outline Check if transports are visible in table when using filter that does\doesn't apply to all created transports
Steps
Given Set token of apiUsername "super-admin-alrec" 097ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 123ms
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.GeneratedMethodAccessor92.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.GeneratedMethodAccessor91.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:65)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:79)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec"(file:Features/Atom/Filters/Filter.feature:50)
When Login as "alrec-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport "true" 000ms
And Select transportType "DELIVERY" 000ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 000ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "0" days 000ms
And Select transportType "DELIVERY" 000ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 000ms
Then Verify if new transport appear in transport table with polling "false" 000ms
After Hooks.deleteAllTransports() 30s 179ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 3s 009ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 283ms
When Go to "TRANSPORT_TABLE" 101ms
And Sort transports by "show-mine" 1s 064ms
And Show all transport types 1s 051ms
Then Verify that created transport is "true" in transport table 1s 087ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 183ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 255ms
When Go to "TRANSPORT_TABLE" 097ms
And Sort transports by "show-all" 1s 054ms
And Show all transport types 1s 047ms
Then Verify that created transport is "true" in transport table 1s 107ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 180ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 271ms
When Go to "TRANSPORT_TABLE" 120ms
And Sort transports by "show-mine" 1s 056ms
And Show all transport types 1s 046ms
Then Verify that created transport is "false" in transport table 1m 18s 225ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 252ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 260ms
When Go to "TRANSPORT_TABLE" 108ms
And Sort transports by "show-all" 1s 075ms
And Show all transport types 1s 053ms
Then Verify that created transport is "true" in transport table 1s 090ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 120ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 267ms
And Delete created transport by API 095ms
When Go to "ARCHIVE_TAB" 180ms
And Sort transports by "show-mine" 1s 066ms
And Show "SMALLS_IMPORT" 072ms
Then Verify that created transport is "true" in transport table 15s 069ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 193ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 248ms
And Delete created transport by API 112ms
When Go to "ARCHIVE_TAB" 180ms
And Sort transports by "show-all" 1s 075ms
And Show "SMALLS_IMPORT" 089ms
Then Verify that created transport is "true" in transport table 15s 047ms
After Hooks.deleteTransportAfterTest() 062ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 238ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 240ms
And Delete created transport by API 089ms
When Go to "ARCHIVE_TAB" 187ms
And Sort transports by "show-mine" 1s 073ms
And Show "SMALLS_IMPORT" 069ms
Then Verify that created transport is "false" in transport table 1m 32s 214ms
After Hooks.deleteTransportAfterTest() 075ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 295ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 260ms
And Delete created transport by API 097ms
When Go to "ARCHIVE_TAB" 196ms
And Sort transports by "show-all" 1s 063ms
And Show "SMALLS_IMPORT" 074ms
Then Verify that created transport is "true" in transport table 15s 094ms
After Hooks.deleteTransportAfterTest() 091ms
Given Set token of apiUsername "super-admin-alrec" 109ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 15s 370ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 15s 359ms
When Login as "alrec-admin" 1s 019ms
And Go to "TRANSPORT_TABLE" 099ms
And Show all transport "true" 068ms
And Select transportType "TRANSPORT_ORDER" 1s 134ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 24s 884ms
After Hooks.deleteAllTransports() 15s 441ms
Given Set token of apiUsername "super-admin-alrec" 093ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 284ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 1s 250ms
When Login as "alrec-admin" 1s 086ms
And Go to "TRANSPORT_TABLE" 101ms
And Show all transport "true" 074ms
And Select transportType "INBOUND" 1s 094ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 24s 894ms
After Hooks.deleteAllTransports() 15s 341ms
Given Set token of apiUsername "super-admin-alrec" 102ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 255ms
When Login as "alrec-admin" 1s 093ms
And Go to "TRANSPORT_TABLE" 116ms
And Show all transport "true" 077ms
And Select transportType "TRANSPORT_ORDER" 1s 118ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 36s 655ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 266ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 251ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 160ms
And Accept transferred transport by Api 193ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 50s 679ms
And Delete created transport by API 146ms
When Go to "ARCHIVE_TAB" 240ms
And Show "SMALLS_IMPORT" 085ms
Then Check if it is possible to search with different date property selects 1m 19s 695ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 278ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 287ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 105ms
And Accept transferred transport by Api 118ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 50s 253ms
And Delete created transport by API 142ms
When Go to "ARCHIVE_TAB" 245ms
And Show "SMALLS_EXPORT" 088ms
Then Check if it is possible to search with different date property selects 1m 19s 313ms
Given Set token of apiUsername "super-admin-neuca" 106ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 009ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 15s 440ms
And Login as "neuca-admin" 2s 708ms
And Go to "TRANSPORT_TABLE" 199ms
Then Verify that created transport is "false" in transport table 1m 32s 186ms
And Toggle transport table days limit filter 089ms
And Verify that created transport is "true" in transport table 15s 082ms
After Hooks.deleteTransportAfterTest() 124ms