Project Number Date
ApolloFullRunnerReport develop.379 14 kwi 2021, 05:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Filters 163 5 18 0 0 186 21 5 26 15m 39s 993ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 547ms
When Go to "TRANSPORT_TABLE" 107ms
Then Check transport is loaded "DELIVERY" 1s 108ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 120ms
When Go to "TRANSPORT_TABLE" 109ms
Then Check transport is loaded "DELIVERY" 1s 173ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 963ms
When Go to "TRANSPORT_TABLE" 104ms
Then Check transport is loaded "DELIVERY" 1s 149ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 056ms
When Go to "TRANSPORT_TABLE" 116ms
Then Check transport is loaded "LOAD" 1s 117ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 008ms
When Go to "TRANSPORT_TABLE" 110ms
Then Check transport is loaded "DELIVERY" 1s 131ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 1s 837ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 213ms
And Delete created transport by API 087ms
When Go to "ARCHIVE_TAB" 194ms
And Show all transport "false" 012ms
Then Check specific column "CONTRACTOR" 122ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 017ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 320ms
And Delete created transport by API 077ms
When Go to "ARCHIVE_TAB" 184ms
And Show all transport "true" 064ms
Then Check specific column "CONTRACTOR" 698ms
Scenario Outline Check every filter in table
Steps
Given Set token of apiUsername "super-admin-sempertrans" 105ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 165ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 195ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 003ms
When Login as "sempertrans-admin" 1s 069ms
And Go to "TRANSPORT_TABLE" 214ms
And Select transportType "DELIVERY" 1s 084ms
And Click button advice in transport table "DELIVERY" 110ms
And Set advice window in schedule in the past 2s 303ms
And Fill advice form 9s 443ms
And Click advice save button and wait for advice form to disappear 30s 639ms
And Go to "TRANSPORT_TABLE" 241ms
And Select transportType "DELIVERY" 1s 083ms
Then Check if filters work properly 38s 994ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='UNLOAD_TIME_WINDOW']//button"}
  (Session info: headless chrome=89.0.4389.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.Oy61eC}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=89.0.4389.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 092551964c2566e5caa169a8ac692d37
*** Element info: {Using=xpath, value=//td[@data-column-name='UNLOAD_TIME_WINDOW']//button}
	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.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.Filters.FiltersPage.isTransportFiltered(FiltersPage.java:175)
	at Pages.Filters.FiltersPage.fillEveryFilter(FiltersPage.java:98)
	at CucumberTests.Filters.FilterTransportTest.checkIfFiltersWorkProperly(FilterTransportTest.java:42)
	at ✽.Check if filters work properly(file:Features/Atom/Filters/Filter.feature:42)
After Hooks.deleteAllTransports() 1m 1s 580ms
Given Set token of apiUsername "super-admin-sempertrans" 103ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 162ms
When Login as "sempertrans-admin" 985ms
And Go to "TRANSPORT_TABLE" 187ms
And Show all transport "false" 007ms
And Select transportType "DELIVERY" 1s 073ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 075ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 1s 179ms
And Select transportType "DELIVERY" 1s 101ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 084ms
Then Verify if new transport appear in transport table with polling "true" 5s 040ms
After Hooks.deleteAllTransports() 1m 1s 538ms
Given Set token of apiUsername "super-admin-alrec" 103ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 276ms
When Login as "alrec-admin" 977ms
And Go to "TRANSPORT_TABLE" 119ms
And Show all transport "true" 089ms
And Select transportType "DELIVERY" 1s 106ms
And Fill text based "CONTRACTOR" filter with "DAA1" 097ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 1s 302ms
And Select transportType "DELIVERY" 1s 092ms
And Fill text based "CONTRACTOR" filter with "DAA1" 083ms
Then Verify if new transport appear in transport table with polling "true" 5s 035ms
After Hooks.deleteAllTransports() 46s 596ms
Given Set token of apiUsername "super-admin-sempertrans" 103ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 162ms
When Login as "sempertrans-admin" 962ms
And Go to "TRANSPORT_TABLE" 186ms
And Show all transport "false" 011ms
And Select transportType "DELIVERY" 1s 069ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 096ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 1s 185ms
And Select transportType "DELIVERY" 1s 097ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 080ms
Then Verify if new transport appear in transport table with polling "false" 20s 050ms
After Hooks.deleteAllTransports() 1m 1s 524ms
Given Set token of apiUsername "super-admin-alrec" 100ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 298ms
When Login as "alrec-admin" 967ms
And Go to "TRANSPORT_TABLE" 126ms
And Show all transport "true" 071ms
And Select transportType "DELIVERY" 1s 115ms
And Fill text based "CONTRACTOR" filter with "DAA1" 085ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 1s 326ms
And Select transportType "DELIVERY" 1s 100ms
And Fill text based "CONTRACTOR" filter with "DAA1" 083ms
Then Verify if new transport appear in transport table with polling "false" 20s 017ms
After Hooks.deleteAllTransports() 46s 715ms
Scenario Outline Check if transport is marked based on the creating user
Steps
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 3s 390ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 059ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department"(file:Features/Atom/Filters/Filter.feature:70)
When Go to "TRANSPORT_TABLE" 000ms
And Sort transports by "show-mine" 000ms
And Show all transport types 000ms
Then Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if transport is marked based on the creating user
Steps
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 123ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 010ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.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:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department"(file:Features/Atom/Filters/Filter.feature:70)
When Go to "TRANSPORT_TABLE" 000ms
And Sort transports by "show-all" 000ms
And Show all transport types 000ms
Then Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 116ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 282ms
When Go to "TRANSPORT_TABLE" 151ms
And Sort transports by "show-mine" 1s 070ms
And Show all transport types 1s 054ms
Then Verify that created transport is "false" in transport table 1m 18s 203ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 301ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 310ms
When Go to "TRANSPORT_TABLE" 146ms
And Sort transports by "show-all" 1s 058ms
And Show all transport types 1s 048ms
Then Verify that created transport is "true" in transport table 1s 079ms
After Hooks.deleteTransportAfterTest() 115ms
Scenario Outline Check if transport in archive is marked based on the creating user
Steps
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 179ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 013ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.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:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department"(file:Features/Atom/Filters/Filter.feature:85)
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Sort transports by "show-mine" 000ms
And Show "SMALLS_IMPORT" 000ms
Then Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if transport in archive is marked based on the creating user
Steps
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-purchasing-department" 1s 188ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 013ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	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.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:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department"(file:Features/Atom/Filters/Filter.feature:85)
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Sort transports by "show-all" 000ms
And Show "SMALLS_IMPORT" 000ms
Then Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 001ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 283ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 305ms
And Delete created transport by API 106ms
When Go to "ARCHIVE_TAB" 199ms
And Sort transports by "show-mine" 1s 063ms
And Show "SMALLS_IMPORT" 082ms
Then Verify that created transport is "false" in transport table 1m 32s 255ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "swisskrono-purchasing-department" and set token of apiUsername "swisskrono-admin" 1s 595ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 274ms
And Delete created transport by API 101ms
When Go to "ARCHIVE_TAB" 199ms
And Sort transports by "show-all" 1s 076ms
And Show "SMALLS_IMPORT" 089ms
Then Verify that created transport is "true" in transport table 15s 055ms
After Hooks.deleteTransportAfterTest() 101ms
Given Set token of apiUsername "super-admin-alrec" 115ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 15s 493ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 15s 218ms
When Login as "alrec-admin" 1s 125ms
And Go to "TRANSPORT_TABLE" 131ms
And Show all transport "true" 077ms
And Select transportType "TRANSPORT_ORDER" 1s 142ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 24s 896ms
After Hooks.deleteAllTransports() 46s 634ms
Given Set token of apiUsername "super-admin-alrec" 106ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 224ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 1s 220ms
When Login as "alrec-admin" 1s 066ms
And Go to "TRANSPORT_TABLE" 124ms
And Show all transport "true" 078ms
And Select transportType "INBOUND" 1s 077ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 24s 863ms
After Hooks.deleteAllTransports() 46s 693ms
Given Set token of apiUsername "super-admin-alrec" 102ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 202ms
When Login as "alrec-admin" 1s 036ms
And Go to "TRANSPORT_TABLE" 122ms
And Show all transport "true" 080ms
And Select transportType "TRANSPORT_ORDER" 1s 143ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 36s 613ms
After Hooks.deleteTransportAfterTest() 090ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 276ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 218ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 146ms
And Accept transferred transport by Api 153ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 50s 247ms
And Delete created transport by API 171ms
When Go to "ARCHIVE_TAB" 273ms
And Show "SMALLS_IMPORT" 082ms
Then Check if it is possible to search with different date property selects 1m 19s 026ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 277ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 300ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 101ms
And Accept transferred transport by Api 111ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 50s 308ms
And Delete created transport by API 139ms
When Go to "ARCHIVE_TAB" 273ms
And Show "SMALLS_EXPORT" 075ms
Then Check if it is possible to search with different date property selects 1m 18s 935ms
Given Set token of apiUsername "super-admin-neuca" 110ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 015ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 15s 404ms
And Login as "neuca-admin" 3s 039ms
And Go to "TRANSPORT_TABLE" 195ms
Then Verify that created transport is "false" in transport table 1m 32s 201ms
And Toggle transport table days limit filter 092ms
And Verify that created transport is "true" in transport table 15s 067ms
After Hooks.deleteTransportAfterTest() 096ms