Project Number Date
ApolloFullRunnerReport refs/heads/develop.17 26 maj 2021, 00:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport form 311 8 35 0 0 354 26 9 35 32m 24s 439ms Failed
Feature Transport form
Given Set "transport" inputs from JSON file "CREATE_SMALLS_IMPORT" "super-admin-skz" 001ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 671ms
When Go to new transport "SMALLS_IMPORT" 753ms
And Fill transport form 21s 516ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 430ms
And Show all transport "false" 150ms
And Go to transport details "SMALLS_IMPORT" 4s 969ms
And Click create similar button 15s 271ms
And Fill "transport" form "CREATE_SIMILAR_SMALLS_IMPORT" by "super-admin-skz" 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 341ms
And Open similar transport details 426ms
Then Check are transport values equals 2s 400ms
After Hooks.deleteTransportAfterTest() 546ms
After Hooks.deleteSimilarTransportAfterTest() 543ms
Scenario Outline Check if transport created without advice by similar button has correct values
Steps
Given Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-alrec" 001ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 426ms
When Go to new transport "TRANSPORT_ORDER" 780ms
And Fill transport form 26s 255ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 899ms
And Show all transport "true" 345ms
And Go to transport details "TRANSPORT_ORDER" 4s 864ms
And Click create similar button 15s 217ms
And Fill "transport" form "CREATE_SIMILAR_TRANSPORT_ORDER" by "super-admin-alrec" 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 1s 382ms
And Open similar transport details 696ms
Then Check are transport values equals 092ms
org.junit.ComparisonFailure: Wartości w formularzu w polu dimensions-of-pallets są niepoprawne, wartość na stronie:  wartość poprawna: 12x12x12 expected:<[12x12x12]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/TransportForm/TransportForm.feature:16)
After Hooks.deleteTransportAfterTest() 529ms
After Hooks.deleteSimilarTransportAfterTest() 480ms
Scenario Outline Check if transport created with advice by similar button has correct values
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 001ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 6s 345ms
When Go to new transport "DELIVERY" 15s 569ms
And Fill transport form 40s 629ms
And Click "save-transport" save button and wait for form to disappear 16s 381ms
And Set advice window in schedule 2s 414ms
And Check is transport created in schedule and set transport id 3s 089ms
And Go to "TRANSPORT_TABLE" 502ms
And Go to transport details "DELIVERY" 32s 563ms
And Click create similar button 15s 232ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 11s 601ms
And Click "save-transport" save button and wait for form to disappear 15s 796ms
And Set advice window in schedule in "2" days 4s 494ms
And Go to "TRANSPORT_TABLE" 458ms
And Open similar transport details 2s 408ms
Then Check are transport values equals 24s 464ms
Hooks
After Hooks.deleteTransportAfterTest() 155ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:163)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:76)
	at CucumberTests.Hooks.deleteTransportAfterTest(Hooks.java:180)
	at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
After Hooks.deleteSimilarTransportAfterTest() 056ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:163)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:76)
	at CucumberTests.Hooks.deleteSimilarTransportAfterTest(Hooks.java:193)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Scenario Outline Check if transport created with advice by similar button has correct carrier
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 001ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 2s 540ms
When Go to new transport "DELIVERY" 15s 574ms
And Fill transport form 40s 535ms
And Click "save-transport" save button and wait for form to disappear 15s 729ms
And Set advice window in schedule 2s 366ms
And Check is transport created in schedule and set transport id 15s 097ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-114767102-2021-05-27-00-15']//div[@data-transport-id]"}
  (Session info: headless chrome=90.0.4430.212)
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: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.YezxjY}, 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=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f448fa87df45e08e58a31598e91c9047
*** Element info: {Using=xpath, value=//div[@id='slot-114767102-2021-05-27-00-15']//div[@data-transport-id]}
	at sun.reflect.GeneratedConstructorAccessor211.newInstance(Unknown Source)
	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.Schedule.SchedulePage.getTransportId(SchedulePage.java:164)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:157)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/Transport/TransportForm/TransportForm.feature:56)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check is field "CARRIER" of type "autocomplete" equals "Przewoźnik Neuca Automat 1" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
Given Get inputs from database "CREATE_SMALLS_IMPORT_FOR_PRINT" "super-admin-skz" 032ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 885ms
When Go to new transport "SMALLS_IMPORT" 743ms
And Fill transport form 36s 420ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 952ms
And Go to transport details "SMALLS_IMPORT" 4s 893ms
And Go to transport print details form 3s 625ms
Then Check are transport values equals 8s 953ms
After Hooks.deleteTransportAfterTest() 628ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 902ms
And Get inputs from database "CREATE_SMALLS_IMPORT" "super-admin-skz" 032ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 145ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 793ms
And Go to transport details "SMALLS_IMPORT" 4s 834ms
Then Verify that the transport can be edited 2s 023ms
And Close transport details 15s 220ms
And If user is login then logout 274ms
And Login as "pskza1-carrier@qa.qa-test" 2s 834ms
And Go to transport details "SMALLS_IMPORT" 6s 198ms
And Verify that the transport cannot be edited 46s 942ms
After Hooks.deleteTransportAfterTest() 716ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 064ms
And Get inputs from database "CREATE_SMALLS_EXPORT" "super-admin-skz" 033ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 142ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 792ms
And Go to transport details "SMALLS_EXPORT" 4s 828ms
Then Verify that the transport can be edited 1s 944ms
And Close transport details 15s 191ms
And If user is login then logout 304ms
And Login as "pskza1-carrier@qa.qa-test" 2s 734ms
And Go to transport details "SMALLS_EXPORT" 6s 354ms
And Verify that the transport cannot be edited 46s 949ms
After Hooks.deleteTransportAfterTest() 681ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 786ms
And Get inputs from database "HIDDEN_DATA_SMALLS_IMPORT" "super-admin-skz" 033ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 503ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 777ms
And Go to transport details "SMALLS_IMPORT" 4s 891ms
Then Verify that the hidden data in transport are not visible 1s 131ms
And Close transport details 15s 248ms
And If user is login then logout 280ms
And Login as "swisskrono-admin" 2s 878ms
And Go to transport details "SMALLS_IMPORT" 5s 175ms
And Verify that the hidden data in transport are visible 1s 684ms
After Hooks.deleteTransportAfterTest() 610ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 651ms
And Get inputs from database "HIDDEN_DATA_SMALLS_EXPORT" "super-admin-skz" 032ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 351ms
When Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 793ms
And Go to transport details "SMALLS_EXPORT" 4s 788ms
Then Verify that the hidden data in transport are not visible 1s 116ms
And Close transport details 15s 221ms
And If user is login then logout 311ms
And Login as "swisskrono-admin" 2s 852ms
And Go to transport details "SMALLS_EXPORT" 5s 061ms
And Verify that the hidden data in transport are visible 1s 664ms
After Hooks.deleteTransportAfterTest() 613ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 082ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 862ms
When Go to transport details "DELIVERY" 4s 916ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 533ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 846ms
And Change filled value in transport details "insp.-accord.-with-ins." "select" "NIE" "1" 3s 839ms
And Fill discrepancy report section without closing the form 22s 285ms
And Click "save-transport" save button 2s 716ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 890ms
And Check if transport details form is disappeared 15s 074ms
After Hooks.deleteTransportAfterTest() 876ms
Given Set token of apiUsername "super-admin-hochland" 240ms
And Add action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 319ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 939ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 2s 887ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 9s 434ms
When Go to "TRANSPORT_TABLE" 471ms
And Go to transport details "DELIVERY" 4s 922ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 557ms
Then Verify that "transport-description" in transport has value "opis" 083ms
After Hooks.deleteTransportAfterTest() 775ms
After Hooks.rollbackAddedActionAuthorities() 295ms
After Hooks.rollbackWarehousesAccess() 862ms
Given Set token of apiUsername "super-admin-hochland" 231ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 2s 873ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 319ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 698ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 7s 823ms
When Go to "TRANSPORT_TABLE" 478ms
And Go to transport details "DELIVERY" 4s 953ms
Then Verify that "transport-description" in transport form is disabled 093ms
After Hooks.deleteTransportAfterTest() 758ms
After Hooks.rollbackRemovedActionAuthorities() 291ms
After Hooks.rollbackWarehousesAccess() 887ms
Scenario Outline Check if user can see `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 249ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 320ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 443ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:169)
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAddedActionAuthorities() 290ms
Given Set token of apiUsername "super-admin-adama" 244ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 341ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 067ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 449ms
And Show all transport "false" 155ms
When Go to "TRANSPORT_TABLE" 433ms
And Go to transport details "TRANSPORT" 4s 910ms
Then Verify that "CARRIER" in transport form is visible 077ms
After Hooks.deleteTransportAfterTest() 540ms
After Hooks.rollbackAddedActionAuthorities() 291ms
Given Set token of apiUsername "super-admin-alrec" 249ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 326ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 191ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 024ms
And Show all transport "true" 322ms
When Go to "TRANSPORT_TABLE" 421ms
And Go to transport details "TRANSPORT_ORDER" 4s 844ms
Then Verify that "CARRIER" in transport form is visible 096ms
After Hooks.deleteTransportAfterTest() 542ms
After Hooks.rollbackAddedActionAuthorities() 281ms
Scenario Outline Check if user can't see `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 247ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 323ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 447ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:185)
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is not visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackRemovedActionAuthorities() 294ms
Given Set token of apiUsername "super-admin-adama" 223ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 320ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 012ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 416ms
And Show all transport "false" 152ms
When Go to "TRANSPORT_TABLE" 461ms
And Go to transport details "TRANSPORT" 4s 918ms
Then Verify that "CARRIER" in transport form is not visible 15s 047ms
After Hooks.deleteTransportAfterTest() 542ms
After Hooks.rollbackRemovedActionAuthorities() 326ms
Given Set token of apiUsername "super-admin-alrec" 240ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 327ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 197ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 122ms
And Show all transport "true" 336ms
When Go to "TRANSPORT_TABLE" 382ms
And Go to transport details "TRANSPORT_ORDER" 4s 845ms
Then Verify that "CARRIER" in transport form is not visible 15s 072ms
After Hooks.deleteTransportAfterTest() 494ms
After Hooks.rollbackRemovedActionAuthorities() 323ms
Scenario Outline Check if user can edit `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 223ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 294ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 304ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 425ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:202)
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is not disabled 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAddedActionAuthorities() 543ms
Given Set token of apiUsername "super-admin-adama" 235ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 307ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 317ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 010ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 751ms
And Show all transport "false" 152ms
When Go to "TRANSPORT_TABLE" 436ms
And Go to transport details "TRANSPORT" 4s 959ms
Then Verify that "CARRIER" in transport form is not disabled 096ms
After Hooks.deleteTransportAfterTest() 506ms
After Hooks.rollbackAddedActionAuthorities() 604ms
Given Set token of apiUsername "super-admin-alrec" 227ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 313ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 316ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 152ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 055ms
And Show all transport "true" 338ms
When Go to "TRANSPORT_TABLE" 409ms
And Go to transport details "TRANSPORT_ORDER" 4s 881ms
Then Verify that "CARRIER" in transport form is not disabled 091ms
After Hooks.deleteTransportAfterTest() 525ms
After Hooks.rollbackAddedActionAuthorities() 589ms
Scenario Outline Check if user can't edit `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 239ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 313ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 321ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 447ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:219)
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is disabled 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAddedActionAuthorities() 279ms
After Hooks.rollbackRemovedActionAuthorities() 282ms
Given Set token of apiUsername "super-admin-adama" 230ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 302ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 035ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 112ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 437ms
And Show all transport "false" 169ms
When Go to "TRANSPORT_TABLE" 428ms
And Go to transport details "TRANSPORT" 4s 903ms
Then Verify that "CARRIER" in transport form is disabled 097ms
After Hooks.deleteTransportAfterTest() 512ms
After Hooks.rollbackAddedActionAuthorities() 288ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
Given Set token of apiUsername "super-admin-alrec" 233ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 312ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 033ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 203ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 015ms
And Show all transport "true" 330ms
When Go to "TRANSPORT_TABLE" 406ms
And Go to transport details "TRANSPORT_ORDER" 4s 878ms
Then Verify that "CARRIER" in transport form is disabled 090ms
After Hooks.deleteTransportAfterTest() 522ms
After Hooks.rollbackAddedActionAuthorities() 296ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
Scenario Outline Check if user can add description to archived transport
Steps
Given Set token of apiUsername "super-admin-adama" 228ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 2s 486ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 302ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 282ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 305ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 376ms
When Find transport in table with status "planned" 3s 813ms
And Confirm statuses until reach "process-ended" 9s 481ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 531ms
And Show "DELIVERY" 180ms
And Go to transport details "DELIVERY" 32s 647ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 587ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 890ms
And Wait "7" seconds 7s
And Go to transport details "DELIVERY" 32s 635ms
Then Verify that "transport-description" in transport has value "opis" 083ms
org.junit.ComparisonFailure: Niepoprawna wartość pola - transport-description expected:<[]> but was:<[opis]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.TransportFormTest.checkIfInTransportHasValue(TransportFormTest.java:299)
	at ✽.Verify that "transport-description" in transport has value "opis"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:250)
After Hooks.deleteTransportAfterTest() 624ms
After Hooks.rollbackAddedActionAuthorities() 276ms
After Hooks.rollbackRemovedActionAuthorities() 561ms
Scenario Outline Check if driver is in list in transport form.
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 8s 566ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 032ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 483ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:259)
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Change filled value in transport details "driver-name" "text" "XXX ZZZ" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to new transport "DELIVERY" 000ms
Then Verify that driver "XXX ZZZ" is in list 000ms
After Hooks.deleteTransportAfterTest() 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 721ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 109ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 351ms
And If user is login then logout 269ms
And Login as "pskza1-carrier@qa.qa-test" 2s 579ms
Then Verify that the transport has been transferred 3s 856ms
And Accept or reject "accept" transferred transport 16s 561ms
And Go to transport details "SMALLS_IMPORT" 4s 945ms
And Verify that "transaction-price" in transport form is visible 075ms
And Verify that transaction price field has correct value 061ms
And Verify that transaction currency field has correct value: "swisskrono" "SMALLS_IMPORT" 084ms
After Hooks.deleteTransportAfterTest() 615ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 916ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 125ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 232ms
And If user is login then logout 283ms
And Login as "pskza1-carrier@qa.qa-test" 2s 790ms
Then Verify that the transport has been transferred 3s 798ms
And Accept or reject "accept" transferred transport 16s 509ms
And Go to transport details "SMALLS_EXPORT" 4s 911ms
And Verify that "transaction-price" in transport form is visible 097ms
And Verify that transaction price field has correct value 081ms
And Verify that transaction currency field has correct value: "swisskrono" "SMALLS_EXPORT" 096ms
After Hooks.deleteTransportAfterTest() 552ms
Given Login as "pna1-carrier" 2s 284ms
When Click plan transport button 545ms
When Change filled value in transport details "company-step-0" "autocomplete" "DNA1" "0" 6s 986ms
Then Verify that value in field is equals details "company-step-0" "autocomplete" "DNA1" 1s 074ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 240ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 156ms
And Show all transport "true" 325ms
And Go to transport details "TRANSPORT_ORDER" 4s 872ms
And Set custom fields values 1m 46s 238ms
And Create transport by create similar button 32s 276ms
And Open similar transport details 452ms
Then Verify that custom fields has added value 1m 46s 827ms
And Close transport details 15s 276ms
And Go to transport details "TRANSPORT_ORDER" 4s 889ms
Then Verify that custom fields has added value 1m 46s 284ms
After Hooks.deleteAllTransports() 33s 615ms
Given Set token of apiUsername "super-admin-alrec" 225ms
And Get "DELIVERY" settings from "alrec" 139ms
And Set transportType settings with values: "numberOfDaysAddedToFirstStep", "10" 266ms
And Login as "alrec-admin" 2s 777ms
And Go to "TRANSPORT_TABLE" 399ms
When Go to new transport "DELIVERY" 650ms
Then Check if scheduled date of advice in transport form is in 10 days 082ms
After Hooks.rollbackTransportTypeSettings() 257ms
Given Set token of apiUsername "super-admin-alrec" 238ms
And Get "DELIVERY" settings from "alrec" 151ms
And Set transportType settings with values: "numberOfDaysAddedToFirstStep", "10" 229ms
And Login as "alrec-admin" 2s 662ms
And Go to "TRANSPORT_TABLE" 374ms
When Go to new transport "DELIVERY" 534ms
Then Check if scheduled date of advice in transport form is in 10 days 060ms
After Hooks.rollbackTransportTypeSettings() 244ms
Given Set token of apiUsername "super-admin-bausch" 239ms
And Get "Serwis" settings from "bausch" in "LOAD_PL" 185ms
When Set custom field "Serwis" with "EDIT_LOAD_PL_SERVICE_CFD" in "LOAD_PL" - "bausch" by "super-admin-bausch" 271ms
And Login as "bausch-admin" 5s 395ms
And Go to new transport "LOAD_PL" 792ms
Then Check is field "service" of type "select" equals "OUT" 2s 151ms
After Hooks.rollbackCustomFieldSettings() 202ms
Given Set token of apiUsername "super-admin-dayco" 239ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 047ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 4s 176ms
And Click button advice in transport table "OWN_COLLECTION" 822ms
And Set advice window in schedule 3s 288ms
And Fill advice form 9s 107ms
And Click advice save button and wait for advice form to disappear 33s 339ms
And Go to "TRANSPORT_TABLE" 455ms
And Find transport in table with status "planned" 3s 704ms
And Confirm statuses until reach "on-the-area" 5s 283ms
And Go to transport details "OWN_COLLECTION" 4s 909ms
And Click create similar button 15s 220ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 990ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 339ms
And Open similar transport details 473ms
Then Check if transport form modal is visible 122ms
After Hooks.deleteTransportAfterTest() 856ms
After Hooks.deleteSimilarTransportAfterTest() 531ms
Given Set token of apiUsername "super-admin-dayco" 231ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 980ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 2s 553ms
And Click button advice in transport table "OWN_COLLECTION" 802ms
And Set advice window in schedule 3s 255ms
And Fill advice form 9s 140ms
And Click advice save button and wait for advice form to disappear 17s 844ms
And Go to "TRANSPORT_TABLE" 438ms
And Find transport in table with status "planned" 3s 701ms
And Confirm statuses until reach "during-load" 9s 465ms
And Go to transport details "OWN_COLLECTION" 4s 858ms
And Click create similar button 15s 268ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 961ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 349ms
And Open similar transport details 520ms
Then Check if transport form modal is visible 117ms
After Hooks.deleteTransportAfterTest() 773ms
After Hooks.deleteSimilarTransportAfterTest() 505ms