Project Number Date
ApolloFullRunnerReport develop.282 26 sty 2021, 04:33

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 31s 474ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 545ms
When Go to "TRANSPORT_TABLE" 103ms
Then Check transport is loaded "DELIVERY" 1s 138ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 120ms
When Go to "TRANSPORT_TABLE" 097ms
Then Check transport is loaded "DELIVERY" 1s 188ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 1s 010ms
When Go to "TRANSPORT_TABLE" 112ms
Then Check transport is loaded "DELIVERY" 1s 167ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 044ms
When Go to "TRANSPORT_TABLE" 098ms
Then Check transport is loaded "LOAD" 1s 145ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 070ms
When Go to "TRANSPORT_TABLE" 105ms
Then Check transport is loaded "DELIVERY" 1s 172ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 2s 062ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 239ms
And Delete created transport by API 090ms
When Go to "ARCHIVE_TAB" 190ms
And Show all transport "false" 013ms
Then Check specific column "CONTRACTOR" 171ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 098ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 287ms
And Delete created transport by API 087ms
When Go to "ARCHIVE_TAB" 195ms
And Show all transport "true" 090ms
Then Check specific column "CONTRACTOR" 714ms
Given Set token of apiUsername "super-admin-sempertrans" 095ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 187ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 209ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 004ms
When Login as "sempertrans-admin" 1s 097ms
And Go to "TRANSPORT_TABLE" 192ms
And Select transportType "DELIVERY" 1s 089ms
And Click button advice in transport table "DELIVERY" 130ms
And Set advice window in schedule in the past 2s 283ms
And Fill advice form 9s 500ms
And Click advice save button and wait for advice form to disappear 30s 669ms
And Go to "TRANSPORT_TABLE" 296ms
And Select transportType "DELIVERY" 1s 082ms
Then Check if filters work properly 40s 464ms
After Hooks.deleteAllTransports() 15s 372ms
Given Set token of apiUsername "super-admin-sempertrans" 098ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 191ms
When Login as "sempertrans-admin" 1s 013ms
And Go to "TRANSPORT_TABLE" 157ms
And Show all transport "false" 016ms
And Select transportType "DELIVERY" 1s 094ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 130ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 1s 194ms
And Select transportType "DELIVERY" 1s 118ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 126ms
Then Verify if new transport appear in transport table with polling "true" 100ms
After Hooks.deleteAllTransports() 30s 187ms
Given Set token of apiUsername "super-admin-alrec" 098ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 339ms
When Login as "alrec-admin" 1s 039ms
And Go to "TRANSPORT_TABLE" 128ms
And Show all transport "true" 089ms
And Select transportType "DELIVERY" 1s 128ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 144ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "0" days 1s 280ms
And Select transportType "DELIVERY" 1s 110ms
And Fill text based "CONTRACTOR" filter with "Dostawca Alrec Automat 1" 134ms
Then Verify if new transport appear in transport table with polling "true" 093ms
After Hooks.deleteAllTransports() 30s 157ms
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" 099ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 207ms
When Login as "sempertrans-admin" 1s 020ms
And Go to "TRANSPORT_TABLE" 207ms
And Show all transport "false" 012ms
And Select transportType "DELIVERY" 1s 094ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 139ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "0" days 1s 197ms
And Select transportType "DELIVERY" 1s 120ms
And Fill text based "CONTRACTOR" filter with "Dostawca Sempertrans" 130ms
Then Verify if new transport appear in transport table with polling "false" 101ms
java.lang.AssertionError: Transport z id: 204071389 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 164ms
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" 100ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 104ms
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 232ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 2s 847ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 256ms
When Go to "TRANSPORT_TABLE" 103ms
And Sort transports by "show-mine" 1s 061ms
And Show all transport types 1s 055ms
Then Verify that created transport is "true" in transport table 1s 079ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 142ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 283ms
When Go to "TRANSPORT_TABLE" 114ms
And Sort transports by "show-all" 1s 063ms
And Show all transport types 1s 044ms
Then Verify that created transport is "true" in transport table 1s 083ms
After Hooks.deleteTransportAfterTest() 099ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 118ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 271ms
When Go to "TRANSPORT_TABLE" 110ms
And Sort transports by "show-mine" 1s 074ms
And Show all transport types 1s 049ms
Then Verify that created transport is "false" in transport table 1m 18s 208ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 242ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 262ms
When Go to "TRANSPORT_TABLE" 114ms
And Sort transports by "show-all" 1s 073ms
And Show all transport types 1s 049ms
Then Verify that created transport is "true" in transport table 1s 085ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 2s 185ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 286ms
And Delete created transport by API 105ms
When Go to "ARCHIVE_TAB" 192ms
And Sort transports by "show-mine" 1s 058ms
And Show "SMALLS_IMPORT" 081ms
Then Verify that created transport is "true" in transport table 15s 082ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 267ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 250ms
And Delete created transport by API 086ms
When Go to "ARCHIVE_TAB" 177ms
And Sort transports by "show-all" 1s 060ms
And Show "SMALLS_IMPORT" 083ms
Then Verify that created transport is "true" in transport table 15s 074ms
After Hooks.deleteTransportAfterTest() 085ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 213ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 262ms
And Delete created transport by API 095ms
When Go to "ARCHIVE_TAB" 211ms
And Sort transports by "show-mine" 1s 059ms
And Show "SMALLS_IMPORT" 076ms
Then Verify that created transport is "false" in transport table 1m 32s 164ms
After Hooks.deleteTransportAfterTest() 091ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 276ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 253ms
And Delete created transport by API 091ms
When Go to "ARCHIVE_TAB" 191ms
And Sort transports by "show-all" 1s 061ms
And Show "SMALLS_IMPORT" 094ms
Then Verify that created transport is "true" in transport table 15s 074ms
After Hooks.deleteTransportAfterTest() 094ms
Given Set token of apiUsername "super-admin-alrec" 103ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 15s 275ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 15s 313ms
When Login as "alrec-admin" 1s 045ms
And Go to "TRANSPORT_TABLE" 108ms
And Show all transport "true" 063ms
And Select transportType "TRANSPORT_ORDER" 1s 115ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 24s 894ms
After Hooks.deleteAllTransports() 15s 392ms
Given Set token of apiUsername "super-admin-alrec" 102ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 242ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 1s 223ms
When Login as "alrec-admin" 1s 038ms
And Go to "TRANSPORT_TABLE" 101ms
And Show all transport "true" 072ms
And Select transportType "INBOUND" 1s 091ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 24s 949ms
After Hooks.deleteAllTransports() 15s 386ms
Given Set token of apiUsername "super-admin-alrec" 097ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 251ms
When Login as "alrec-admin" 1s 054ms
And Go to "TRANSPORT_TABLE" 108ms
And Show all transport "true" 069ms
And Select transportType "TRANSPORT_ORDER" 1s 131ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 36s 672ms
After Hooks.deleteTransportAfterTest() 067ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 216ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 295ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 094ms
And Accept transferred transport by Api 104ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 50s 150ms
And Delete created transport by API 107ms
When Go to "ARCHIVE_TAB" 273ms
And Show "SMALLS_IMPORT" 071ms
Then Check if it is possible to search with different date property selects 1m 19s 659ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 239ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 230ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 100ms
And Accept transferred transport by Api 090ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 50s 243ms
And Delete created transport by API 126ms
When Go to "ARCHIVE_TAB" 275ms
And Show "SMALLS_EXPORT" 082ms
Then Check if it is possible to search with different date property selects 1m 19s 218ms
Given Set token of apiUsername "super-admin-neuca" 120ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 010ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 15s 384ms
And Login as "neuca-admin" 2s 637ms
And Go to "TRANSPORT_TABLE" 216ms
Then Verify that created transport is "false" in transport table 1m 32s 273ms
And Toggle transport table days limit filter 077ms
And Verify that created transport is "true" in transport table 15s 090ms
After Hooks.deleteTransportAfterTest() 116ms