Project Number Date
ApolloFullRunnerReport develop.283 27 sty 2021, 04:44

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 30s 215ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 631ms
When Go to "TRANSPORT_TABLE" 104ms
Then Check transport is loaded "DELIVERY" 1s 122ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 101ms
When Go to "TRANSPORT_TABLE" 100ms
Then Check transport is loaded "DELIVERY" 1s 248ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 981ms
When Go to "TRANSPORT_TABLE" 095ms
Then Check transport is loaded "DELIVERY" 1s 176ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 082ms
When Go to "TRANSPORT_TABLE" 102ms
Then Check transport is loaded "LOAD" 1s 154ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 066ms
When Go to "TRANSPORT_TABLE" 106ms
Then Check transport is loaded "DELIVERY" 1s 170ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 1s 839ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 249ms
And Delete created transport by API 095ms
When Go to "ARCHIVE_TAB" 195ms
And Show all transport "false" 011ms
Then Check specific column "CONTRACTOR" 123ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 064ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 327ms
And Delete created transport by API 102ms
When Go to "ARCHIVE_TAB" 182ms
And Show all transport "true" 072ms
Then Check specific column "CONTRACTOR" 716ms
Given Set token of apiUsername "super-admin-sempertrans" 090ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 205ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 190ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 003ms
When Login as "sempertrans-admin" 1s 047ms
And Go to "TRANSPORT_TABLE" 181ms
And Select transportType "DELIVERY" 1s 066ms
And Click button advice in transport table "DELIVERY" 132ms
And Set advice window in schedule in the past 2s 294ms
And Fill advice form 9s 546ms
And Click advice save button and wait for advice form to disappear 30s 686ms
And Go to "TRANSPORT_TABLE" 251ms
And Select transportType "DELIVERY" 1s 095ms
Then Check if filters work properly 40s 469ms
After Hooks.deleteAllTransports() 15s 421ms
Given Set token of apiUsername "super-admin-sempertrans" 099ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 225ms
When Login as "sempertrans-admin" 1s 056ms
And Go to "TRANSPORT_TABLE" 158ms
And Show all transport "false" 011ms
And Select transportType "DELIVERY" 1s 089ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 132ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 1s 189ms
And Select transportType "DELIVERY" 1s 134ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 095ms
Then Verify if new transport appear in transport table with polling "true" 089ms
After Hooks.deleteAllTransports() 30s 107ms
Given Set token of apiUsername "super-admin-alrec" 104ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 308ms
When Login as "alrec-admin" 1s 053ms
And Go to "TRANSPORT_TABLE" 116ms
And Show all transport "true" 082ms
And Select transportType "DELIVERY" 1s 137ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 123ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "0" days 1s 293ms
And Select transportType "DELIVERY" 1s 102ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 132ms
Then Verify if new transport appear in transport table with polling "true" 099ms
After Hooks.deleteAllTransports() 30s 142ms
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" 097ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 241ms
When Login as "sempertrans-admin" 1s 026ms
And Go to "TRANSPORT_TABLE" 208ms
And Show all transport "false" 010ms
And Select transportType "DELIVERY" 1s 089ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 140ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "0" days 1s 198ms
And Select transportType "DELIVERY" 1s 120ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 104ms
Then Verify if new transport appear in transport table with polling "false" 113ms
java.lang.AssertionError: Transport z id: 204222242 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 119ms
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" 101ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 120ms
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.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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 202ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 2s 788ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 280ms
When Go to "TRANSPORT_TABLE" 106ms
And Sort transports by "show-mine" 1s 058ms
And Show all transport types 1s 051ms
Then Verify that created transport is "true" in transport table 1s 091ms
After Hooks.deleteTransportAfterTest() 129ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 163ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 288ms
When Go to "TRANSPORT_TABLE" 118ms
And Sort transports by "show-all" 1s 068ms
And Show all transport types 1s 051ms
Then Verify that created transport is "true" in transport table 1s 089ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 117ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 255ms
When Go to "TRANSPORT_TABLE" 103ms
And Sort transports by "show-mine" 1s 066ms
And Show all transport types 1s 051ms
Then Verify that created transport is "false" in transport table 1m 18s 227ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 262ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 272ms
When Go to "TRANSPORT_TABLE" 125ms
And Sort transports by "show-all" 1s 063ms
And Show all transport types 1s 055ms
Then Verify that created transport is "true" in transport table 1s 085ms
After Hooks.deleteTransportAfterTest() 133ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 094ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 286ms
And Delete created transport by API 102ms
When Go to "ARCHIVE_TAB" 183ms
And Sort transports by "show-mine" 1s 060ms
And Show "SMALLS_IMPORT" 061ms
Then Verify that created transport is "true" in transport table 15s 096ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 220ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 260ms
And Delete created transport by API 096ms
When Go to "ARCHIVE_TAB" 195ms
And Sort transports by "show-all" 1s 046ms
And Show "SMALLS_IMPORT" 085ms
Then Verify that created transport is "true" in transport table 15s 100ms
After Hooks.deleteTransportAfterTest() 068ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 217ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 260ms
And Delete created transport by API 093ms
When Go to "ARCHIVE_TAB" 197ms
And Sort transports by "show-mine" 1s 060ms
And Show "SMALLS_IMPORT" 083ms
Then Verify that created transport is "false" in transport table 1m 32s 150ms
After Hooks.deleteTransportAfterTest() 094ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 187ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 254ms
And Delete created transport by API 083ms
When Go to "ARCHIVE_TAB" 201ms
And Sort transports by "show-all" 1s 056ms
And Show "SMALLS_IMPORT" 089ms
Then Verify that created transport is "true" in transport table 15s 086ms
After Hooks.deleteTransportAfterTest() 095ms
Given Set token of apiUsername "super-admin-alrec" 105ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 15s 331ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 15s 222ms
When Login as "alrec-admin" 1s 042ms
And Go to "TRANSPORT_TABLE" 122ms
And Show all transport "true" 082ms
And Select transportType "TRANSPORT_ORDER" 1s 144ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 24s 931ms
After Hooks.deleteAllTransports() 15s 365ms
Given Set token of apiUsername "super-admin-alrec" 096ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 281ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 1s 222ms
When Login as "alrec-admin" 1s 028ms
And Go to "TRANSPORT_TABLE" 115ms
And Show all transport "true" 086ms
And Select transportType "INBOUND" 1s 090ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 24s 864ms
After Hooks.deleteAllTransports() 15s 339ms
Given Set token of apiUsername "super-admin-alrec" 091ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 294ms
When Login as "alrec-admin" 1s 062ms
And Go to "TRANSPORT_TABLE" 123ms
And Show all transport "true" 085ms
And Select transportType "TRANSPORT_ORDER" 1s 150ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 36s 661ms
After Hooks.deleteTransportAfterTest() 083ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 240ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 221ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 093ms
And Accept transferred transport by Api 092ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 50s 097ms
And Delete created transport by API 137ms
When Go to "ARCHIVE_TAB" 245ms
And Show "SMALLS_IMPORT" 078ms
Then Check if it is possible to search with different date property selects 1m 19s 610ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 244ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 293ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 103ms
And Accept transferred transport by Api 109ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 50s 204ms
And Delete created transport by API 148ms
When Go to "ARCHIVE_TAB" 241ms
And Show "SMALLS_EXPORT" 081ms
Then Check if it is possible to search with different date property selects 1m 19s 359ms
Given Set token of apiUsername "super-admin-neuca" 099ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 008ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 15s 378ms
And Login as "neuca-admin" 2s 685ms
And Go to "TRANSPORT_TABLE" 199ms
Then Verify that created transport is "false" in transport table 1m 32s 172ms
And Toggle transport table days limit filter 074ms
And Verify that created transport is "true" in transport table 15s 095ms
After Hooks.deleteTransportAfterTest() 146ms