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
Advice transport 390 8 39 0 0 437 33 8 41 34m 4s 282ms Failed
Feature Advice transport
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 3s 367ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 392ms
And Get inputs from database "CREATE_ADVICE_CONTAINER" "super-admin-adama" 8s 597ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 370ms
When Click button advice in transport table "CONTAINER" 271ms
And Set advice window in schedule in the past 3s 419ms
And Fill advice form 20s 095ms
And Click advice save button to check error message 190ms
Then Check if possible advice alert is displayed 067ms
After Hooks.deleteTransportAfterTest() 570ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 737ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 056ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 038ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 385ms
When Click button advice in transport table "DELIVERY" 247ms
And Set advice window in schedule in the past 3s 621ms
And Fill advice form 10s 772ms
And Click advice save button to check error message 202ms
Then Check if possible advice alert is displayed 070ms
After Hooks.deleteTransportAfterTest() 548ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 783ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 992ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 035ms
And Check is transport "LOAD" created in transport table and set transport id 1s 325ms
When Click button advice in transport table "LOAD" 228ms
And Set advice window in schedule in the past 3s 471ms
And Fill advice form 10s 646ms
And Click advice save button to check error message 210ms
Then Check if possible advice alert is displayed 073ms
After Hooks.deleteTransportAfterTest() 552ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 616ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 972ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 037ms
And Check is transport "LOAD" created in transport table and set transport id 1s 366ms
When Click button advice in transport table "LOAD" 234ms
And Set advice window in schedule in the past 3s 291ms
And Fill advice form 16s 423ms
And Click advice save button to check error message 199ms
Then Check if possible advice alert is displayed 072ms
After Hooks.deleteTransportAfterTest() 515ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 586ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 978ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 035ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 372ms
When Click button advice in transport table "CONTAINER" 248ms
And Set advice window in schedule in the past 3s 238ms
And Fill advice form 16s 465ms
And Click advice save button to check error message 199ms
Then Check if possible advice alert is displayed 069ms
After Hooks.deleteTransportAfterTest() 551ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 572ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 894ms
And Show all transport types 1s 171ms
And Create advice "CREATE_ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 56s 366ms
And Go to "TRANSPORT_TABLE" 455ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 034ms
When Go to transport details "CONTAINER" 4s 871ms
And Fill transport form 5s 195ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 036ms
And Expand advice panel 277ms
And Edit advice in transport details 15s 414ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 494ms
And Go to transport details "CONTAINER" 4s 880ms
And Expand advice panel 257ms
Then Check are advice values equals after edition 706ms
After Hooks.deleteTransportAfterTest() 736ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 686ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 977ms
And Show all transport types 1s 166ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 47s 601ms
And Go to "TRANSPORT_TABLE" 511ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 038ms
When Go to transport details "DELIVERY" 4s 905ms
And Fill transport form 1m 8s 939ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 035ms
And Expand advice panel 282ms
And Edit advice in transport details 8s 157ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 047ms
And Go to transport details "DELIVERY" 4s 929ms
And Expand advice panel 268ms
Then Check are advice values equals after edition 340ms
After Hooks.deleteTransportAfterTest() 961ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 669ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 938ms
And Show all transport types 1s 145ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-piast" 47s 030ms
And Go to "TRANSPORT_TABLE" 433ms
And Get inputs from database "EDIT_LOAD" "super-admin-piast" 038ms
When Go to transport details "LOAD" 5s 028ms
And Fill transport form 1m 3s 476ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 036ms
And Expand advice panel 269ms
And Edit advice in transport details 8s 220ms
And Click "save-transport-and-close" save button and wait for form to disappear 18s 086ms
And Go to transport details "LOAD" 4s 923ms
And Expand advice panel 279ms
Then Check are advice values equals after edition 324ms
After Hooks.deleteTransportAfterTest() 950ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 633ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 956ms
And Show all transport types 1s 168ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 52s 698ms
And Go to "TRANSPORT_TABLE" 438ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 036ms
When Go to transport details "LOAD" 4s 831ms
And Fill transport form 27s 166ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 036ms
And Expand advice panel 281ms
And Edit advice in transport details 21s 506ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 566ms
And Go to transport details "LOAD" 4s 935ms
And Expand advice panel 269ms
Then Check are advice values equals after edition 6s 929ms
After Hooks.deleteTransportAfterTest() 888ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 748ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 965ms
And Show all transport types 1s 163ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-keeeper" 37s 817ms
And Go to "TRANSPORT_TABLE" 448ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-keeeper" 038ms
When Go to transport details "CONTAINER" 4s 901ms
And Fill transport form 27s 057ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-keeeper" 036ms
And Expand advice panel 292ms
And Edit advice in transport details 21s 672ms
And Click "save-transport-and-close" save button and wait for form to disappear 1s 979ms
And Go to transport details "CONTAINER" 4s 768ms
And Expand advice panel 261ms
Then Check are advice values equals after edition 6s 892ms
After Hooks.deleteTransportAfterTest() 832ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 595ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 883ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 036ms
When Show all transport types 1s 165ms
And Click button advice in transport table "CONTAINER" 318ms
And Set advice window in schedule 3s 241ms
And Fill advice form 16s 180ms
And Click advice save button and wait for advice form to disappear 32s 739ms
And Go to "TRANSPORT_TABLE" 427ms
And Go to transport details "CONTAINER" 4s 821ms
Then Check are advice values equals 903ms
After Hooks.deleteTransportAfterTest() 738ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 10s 873ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 906ms
And Get inputs from database "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 035ms
When Show all transport types 1s 141ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 228ms
And Set advice window in schedule 7s 613ms
And Fill advice form 14s 759ms
And Click advice save button and wait for advice form to disappear 33s 278ms
And Go to "TRANSPORT_TABLE" 457ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 931ms
Then Check are advice values equals 2s 872ms
After Hooks.deleteTransportAfterTest() 929ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 739ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 956ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 035ms
When Show all transport types 1s 160ms
And Click button advice in transport table "DELIVERY" 234ms
And Set advice window in schedule 3s 373ms
And Fill advice form 10s 653ms
And Click advice save button and wait for advice form to disappear 33s 280ms
And Go to "TRANSPORT_TABLE" 508ms
And Go to transport details "DELIVERY" 4s 940ms
Then Check are advice values equals 614ms
After Hooks.deleteTransportAfterTest() 688ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 611ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 914ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 036ms
When Show all transport types 1s 169ms
And Click button advice in transport table "LOAD" 227ms
And Set advice window in schedule 3s 388ms
And Fill advice form 10s 673ms
And Click advice save button and wait for advice form to disappear 17s 791ms
And Go to "TRANSPORT_TABLE" 416ms
And Go to transport details "LOAD" 4s 999ms
Then Check are advice values equals 602ms
After Hooks.deleteTransportAfterTest() 818ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 586ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 935ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 034ms
When Show all transport types 1s 132ms
And Click button advice in transport table "LOAD" 283ms
And Set advice window in schedule 3s 299ms
And Fill advice form 16s 408ms
And Click advice save button and wait for advice form to disappear 32s 757ms
And Go to "TRANSPORT_TABLE" 457ms
And Go to transport details "LOAD" 4s 796ms
Then Check are advice values equals 2s 898ms
After Hooks.deleteTransportAfterTest() 829ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 624ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 924ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 035ms
When Show all transport types 1s 165ms
And Click button advice in transport table "CONTAINER" 241ms
And Set advice window in schedule 3s 247ms
And Fill advice form 16s 378ms
And Click advice save button and wait for advice form to disappear 32s 807ms
And Go to "TRANSPORT_TABLE" 461ms
And Go to transport details "CONTAINER" 4s 819ms
Then Check are advice values equals 2s 948ms
After Hooks.deleteTransportAfterTest() 751ms
Given Set token of apiUsername "super-admin-adama" 243ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 091ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 580ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 243ms
And Accept transferred transport by Api 6s 623ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 839ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 041ms
When Show all transport types 1s 247ms
And Click button advice in transport table "TRANSPORT" 239ms
And Set advice window in schedule 3s 234ms
And Fill advice form 14s 772ms
And Click advice save button and wait for advice form to disappear 33s 275ms
And Go to "TRANSPORT_TABLE" 504ms
And Go to transport details "TRANSPORT" 4s 887ms
Then Check are advice values equals 2s 822ms
After Hooks.deleteTransportAfterTest() 795ms
Scenario Outline Check if it is possible to advice by advice button in transport table after passing it on to the carrier
Steps
Given Set token of apiUsername "super-admin-skz" 238ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 144ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 603ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 226ms
And Accept transferred transport by Api 663ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 834ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 035ms
When Show all transport types 1s 185ms
And Click button advice in transport table "SMALLS_IMPORT" 1s 756ms
And Set advice window in schedule 3s 638ms
And Fill advice form 17s 983ms
And Click advice save button and wait for advice form to disappear 33s 375ms
And Go to "TRANSPORT_TABLE" 437ms
And Go to transport details "SMALLS_IMPORT" 4s 837ms
Then Check are advice values equals 15s 064ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='advice-panel']"}
  (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='advice-panel']}
	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.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Transport.AdviceTransport.checkAdviceValues(AdviceTransport.java:136)
	at ✽.Check are advice values equals(file:Features/Atom/Advice/AdviceTransport.feature:105)
After Hooks.deleteTransportAfterTest() 853ms
Given Set token of apiUsername "super-admin-skz" 240ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 168ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 616ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 253ms
And Accept transferred transport by Api 674ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 780ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 034ms
When Show all transport types 1s 227ms
And Click button advice in transport table "SMALLS_EXPORT" 1s 528ms
And Set advice window in schedule 3s 530ms
And Fill advice form 17s 962ms
And Click advice save button and wait for advice form to disappear 33s 314ms
And Go to "TRANSPORT_TABLE" 423ms
And Go to transport details "SMALLS_EXPORT" 4s 866ms
Then Check are advice values equals 2s 909ms
After Hooks.deleteTransportAfterTest() 922ms
Scenario Outline Check if the advice restriction blockade windows are visible during advice
Steps
Given Set token of apiUsername "super-admin-adama" 273ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 128ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 597ms
And Accept transferred transport by Api 012ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:117)
And Login as "paa1-carrier@qa.qa-test" 000ms
When Show all transport types 000ms
And Click button advice in transport table "TRANSPORT" 000ms
And Set week view 000ms
And Show yesterday 000ms
Then Check if advice restriction blockade windows are visible 000ms
After Hooks.deleteTransportAfterTest() 739ms
Scenario Outline Check if the advice restriction blockade windows are visible during advice
Steps
Given Set token of apiUsername "super-admin-skz" 235ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 100ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 616ms
And Accept transferred transport by Api 013ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:117)
And Login as "pskza1-carrier@qa.qa-test" 000ms
When Show all transport types 000ms
And Click button advice in transport table "SMALLS_IMPORT" 000ms
And Set week view 000ms
And Show yesterday 000ms
Then Check if advice restriction blockade windows are visible 000ms
After Hooks.deleteTransportAfterTest() 795ms
Scenario Outline Check if the advice restriction blockade windows are visible during advice
Steps
Given Set token of apiUsername "super-admin-skz" 247ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 083ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 604ms
And Accept transferred transport by Api 014ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:117)
And Login as "pskza1-carrier@qa.qa-test" 000ms
When Show all transport types 000ms
And Click button advice in transport table "SMALLS_EXPORT" 000ms
And Set week view 000ms
And Show yesterday 000ms
Then Check if advice restriction blockade windows are visible 000ms
After Hooks.deleteTransportAfterTest() 722ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 171ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 904ms
And Show all transport "false" 184ms
And Click on time window date 1s 674ms
And Select view "DAYS_4" 2s 174ms
And Move advice window "3" 1s 498ms
Then Check if advice window is in new location 073ms
After Hooks.deleteTransportAfterTest() 1s 041ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 2s 351ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 17s 394ms
And Show all transport "false" 160ms
And Click on time window date 16s 069ms
And Select view "DAYS_4" 2s 182ms
And Move advice window "3" 1s 712ms
Then Check if advice window is in new location 095ms
After Hooks.deleteTransportAfterTest() 442ms
Scenario Outline Check if it is possible to move advice window in schedule
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 134ms
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.getAuthenticationTokenForUser(RestUtil.java:129)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:105)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:76)
	at ✽.Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd"(file:Features/Atom/Advice/AdviceTransport.feature:132)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Show all transport "false" 000ms
And Click on time window date 000ms
And Select view "DAYS_4" 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 588ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 624ms
And Show all transport "false" 160ms
And Click on time window date 1s 906ms
And Select view "DAYS_4" 2s 196ms
And Move advice window "3" 1s 588ms
Then Check if advice window is in new location 085ms
After Hooks.deleteTransportAfterTest() 708ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 584ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 688ms
And Show all transport "false" 160ms
And Click on time window date 1s 877ms
And Select view "DAYS_4" 2s 165ms
And Move advice window "3" 1s 482ms
Then Check if advice window is in new location 070ms
After Hooks.deleteTransportAfterTest() 836ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 595ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 519ms
And Show all transport "true" 319ms
And Click on time window date 1s 753ms
And Select view "DAYS_4" 2s 162ms
And Move advice window "3" 1s 522ms
Then Check if advice window is in new location 067ms
After Hooks.deleteTransportAfterTest() 372ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 684ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 958ms
And Set "advice" inputs from JSON file "ADVICE_DELIVERY" "super-admin-piast" 014ms
When Show all transport types 1s 158ms
And Click button advice in transport table "DELIVERY" 211ms
And Set advice window in schedule 3s 473ms
And Fill advice form 10s 566ms
And Click advice save button and wait for advice form to disappear 33s 278ms
And Go to "TRANSPORT_TABLE" 497ms
And Click on time window date 1s 785ms
And Select view "DAYS_4" 2s 160ms
And Move advice window "3" 1s 631ms
Then Check if advice window is in new location 077ms
After Hooks.deleteTransportAfterTest() 1s 499ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 129ms
And Create transport "CREATE_LATE_DELIVERY" by JSON file as "super-admin-hochland" in "0" days 2s 806ms
Then Check if transport row is "red" 3s 237ms
After Hooks.deleteTransportAfterTest() 791ms
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 896ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 860ms
And Go to "TRANSPORT_TABLE" 391ms
And Show all transport types 1s 141ms
And Click on time window date 1s 793ms
And Scroll to time window "adviceWindow" 165ms
And Set time window height "80" "adviceWindow" 2s 528ms
Then Check height of the time window after expanding by "80" in "adviceWindow" 071ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "80" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 791ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 396ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 629ms
And Go to "TRANSPORT_TABLE" 317ms
And Show all transport types 1s 141ms
And Click on time window date 1s 858ms
And Scroll to time window "adviceWindow" 152ms
And Set time window height "120" "adviceWindow" 2s 535ms
Then Check height of the time window after expanding by "120" in "adviceWindow" 072ms
After Hooks.deleteTransportAfterTest() 838ms
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 477ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 642ms
And Go to "TRANSPORT_TABLE" 478ms
And Show all transport types 1s 155ms
And Click on time window date 1s 691ms
And Scroll to time window "adviceWindow" 145ms
And Set time window height "48" "adviceWindow" 2s 534ms
Then Check height of the time window after expanding by "48" in "adviceWindow" 069ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "48" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 733ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 427ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 714ms
And Go to "TRANSPORT_TABLE" 522ms
And Show all transport types 15s 039ms
And Click on time window date 16s 177ms
And Scroll to time window "adviceWindow" 225ms
And Set time window height "40" "adviceWindow" 2s 578ms
Then Check height of the time window after expanding by "40" in "adviceWindow" 075ms
After Hooks.deleteTransportAfterTest() 784ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 762ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 977ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 034ms
When Show all transport types 1s 169ms
And Click button advice in transport table "DELIVERY" 255ms
And Set advice window in schedule 3s 412ms
And Fill advice form 10s 720ms
And Click advice save button and wait for advice form to disappear 33s 281ms
And Go to "TRANSPORT_TABLE" 510ms
And Click on time window date 1s 806ms
And Set time window height "120" "adviceWindow" 2s 571ms
Then Check height of the time window after expanding by "120" in "adviceWindow" 066ms
After Hooks.deleteTransportAfterTest() 493ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 038ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 122ms
And Go to "WAREHOUSE_TAB" 1s 305ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 252ms
When Go to new transport "DELIVERY" 685ms
And Fill transport form 45s 142ms
And Click "save-transport" save button and wait for form to disappear 15s 761ms
And Click previous page button in browser 062ms
Then Check if advice window can't be created 3s
After Hooks.deleteTransportAfterTest() 002ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 034ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 323ms
And Go to "WAREHOUSE_TAB" 1s 283ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 167ms
When Go to new transport "DELIVERY" 688ms
And Fill transport form 44s 947ms
And Click "save-transport" save button and wait for form to disappear 15s 778ms
And Replace warehouse id in browser url with "Twarożkarnia wyrób gotowy" id 110ms
Then Check if advice window can't be created 2s 579ms
After Hooks.deleteTransportAfterTest() 001ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 923ms
And Create transport "CREATE_TRANSPORT_WITHOUT_WAREHOUSES" by JSON file as "super-admin-adama" 2s 439ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 846ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 034ms
When Show all transport types 1s 158ms
And Click button advice in transport table "TRANSPORT" 218ms
And Fill advice form 14s 012ms
And Click advice save button and wait for advice form to disappear 32s 634ms
When Find transport in table with status "no-advice-undefined" 3s 729ms
And Open statuses popup 209ms
And Wait "2" seconds 2s
Then Check if transport has checkpoints from list "Zgłoszenie się kierowcy,Zakończenie załadunku,Dostarczenie do klienta" in "1" 143ms
After Hooks.deleteTransportAfterTest() 576ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 549ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 159ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 2s 203ms
And Set "advice" inputs from JSON file "ADVICE_LOAD_PL" "super-admin-bausch" 003ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 815ms
And Click button advice in transport table "LOAD_PL" 2s 160ms
And Set advice window in schedule 3s 656ms
And Fill advice form 11s 687ms
And Click advice save button and wait for advice form to disappear 33s 299ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 16s 061ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 798ms
When Go to "TRANSPORT_TABLE" 487ms
And Show all transport types 1s 152ms
And Click button advice in transport table "LOAD_PL" 2s 387ms
And Set advice window in schedule 3s 664ms
And Select driver "Marek Kanarek" from suggestions 2s 299ms
Then Verify if mode of transportation select is empty 096ms
After Hooks.deleteAllTransports() 48s 752ms
After Hooks.deleteModeOfTransportationAfterTest() 434ms
Given Set token of apiUsername "super-admin-farmacol" 255ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 947ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 447ms
And Login as "farmacol-admin" 2s 335ms
And Go to "WAREHOUSE_TAB" 1s 048ms
And Select warehouse "Katowice Przyjęcia" 1s 431ms
And Set week view 2s 673ms
And Move cursor over time window element 452ms
Then Check if "Zaawizowany" "31415" "06:00" "GDA12345" are visible on time window popup details 382ms
After Hooks.deleteTransportAfterTest() 723ms
Scenario Outline Check if it is possible to advice transport after splitting advice data from advice window
- order: advice data => advice window [A-7478]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 534ms
And Create default accepted mode of transportation by API with "pba1-carrier" 1s 965ms
And Create transport "CREATE_EXW_DELIVERY" by JSON file as "super-admin-bausch" 508ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.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_EXW_DELIVERY" by JSON file as "super-admin-bausch"(file:Features/Atom/Advice/AdviceTransport.feature:331)
And Set "advice" inputs from JSON file "ADVICE_EXW_DELIVERY" "super-admin-bausch" 000ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Click button advice in transport table "EXW_DELIVERY" 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Click button advice in transport table "EXW_DELIVERY" 000ms
And Set advice window in schedule 000ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Go to transport details "EXW_DELIVERY" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteModeOfTransportationAfterTest() 360ms