Project Number Date
ApolloFullRunnerReport apollo-test-2.80 14 lip 2021, 05:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 227 7 24 0 0 258 16 7 23 22m 34s 922ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 632ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 569ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 087ms
When Go to "WAREHOUSE_TAB" 1s 105ms
And Select warehouse "Serownia" 1s 713ms
And Set week view 1s 215ms
And Show yesterday 1s 136ms
And Move window into the past 429ms
Then Check if window is "red" 4s 078ms
After Hooks.deleteTransportAfterTest() 154ms
After Hooks.rollbackAddedAuthorities() 046ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 990ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 468ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 088ms
When Go to "WAREHOUSE_TAB" 1s 153ms
And Select warehouse "Magazyn - Nowa Sól" 2s 544ms
And Set week view 1s 233ms
And Show yesterday 1s 145ms
And Move window into the past 565ms
Then Check if window is "red" 4s 079ms
After Hooks.deleteTransportAfterTest() 131ms
After Hooks.rollbackAddedAuthorities() 048ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 104ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 420ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 090ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 019ms
When Show all transport types 1s 127ms
And Click button advice in transport table "DELIVERY" 220ms
And Set advice window in schedule 2s 927ms
And Fill advice form 10s 017ms
And Click advice save button and wait for advice form to disappear 30s 999ms
And Select warehouse "Magazyn Hala A" 1s 369ms
And Set week view 2s 244ms
And Show yesterday 1s 232ms
And Move window into the past 707ms
Then Check if window is "red" 4s 082ms
After Hooks.deleteTransportAfterTest() 169ms
After Hooks.rollbackAddedAuthorities() 051ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 263ms
And Get inputs from database "EDIT_EXPORT" "super-admin-hochland" 025ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 297ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 510ms
When Go to "WAREHOUSE_TAB" 1s 285ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 958ms
And Set week view 1s 268ms
And Check if time window length is correct after "CREATE" 084ms
And Change number of pallets in transport 57s 172ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 214ms
And Check if time window length is correct after "EDIT" 084ms
After Hooks.deleteTransportAfterTest() 268ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 259ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 070ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;true" 090ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 192ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 488ms
When Go to "WAREHOUSE_TAB" 637ms
And Select warehouse "Magazyn Surowców" 1s 364ms
And Set week view 1s 246ms
Then Check if time window has proper "60" 059ms
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 043ms
After Hooks.clearAlgorithmSettings() 015ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 050ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 060ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 093ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 196ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 447ms
When Go to "WAREHOUSE_TAB" 626ms
And Select warehouse "Magazyn Surowców" 1s 347ms
And Set week view 1s 263ms
Then Check if time window has proper "60" 069ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 043ms
After Hooks.clearAlgorithmSettings() 017ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 083ms
And Get package type settings for transportType "LOAD" from "keeeper" 061ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 088ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 194ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 324ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 019ms
And Show all transport types 1s 156ms
And Click button advice in transport table "LOAD" 273ms
And Set advice window in schedule 2s 746ms
And Fill advice form 15s 662ms
And Click advice save button and wait for advice form to disappear 30s 991ms
Then Check if time window has proper "30" 075ms
After Hooks.deleteTransportAfterTest() 142ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 045ms
After Hooks.clearAlgorithmSettings() 014ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 290ms
And Get package type settings for transportType "CONTAINER" from "keeeper" 062ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "20;false" 084ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 191ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 335ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 023ms
And Show all transport types 1s 149ms
And Click button advice in transport table "CONTAINER" 253ms
And Set advice window in schedule 2s 710ms
And Fill advice form 15s 621ms
And Click advice save button and wait for advice form to disappear 30s 964ms
Then Check if time window has proper "60" 075ms
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 043ms
After Hooks.clearAlgorithmSettings() 014ms
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Set token of apiUsername "super-admin-hochland" 118ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 090ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /algorithm-settings/206914331 - status odpowiedzi: 422 , komunikat:  [errors:[Operacja nie powiodła się. Prosimy spróbować ponownie a, jeśli problem się powtarza, o kontakt z info@logintegra.com.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.AlgorithmSetting.AlgorithmSettingTest.setAlgorithmSettingIn(AlgorithmSettingTest.java:91)
	at ✽.Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera"(file:Features/Atom/TimeWindow/TransportWindow.feature:134)
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 000ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 000ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 000ms
When Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "25" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.clearAlgorithmSettings() 099ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <204> but was <500>.

	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.GeneratedMethodAccessor74.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.GeneratedMethodAccessor73.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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Hooks.lambda$clearAlgorithmSettings$3(Hooks.java:490)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at CucumberTests.Hooks.clearAlgorithmSettings(Hooks.java:489)
	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 window counter value in schedule changes
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 259ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 075ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 326ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 49s 670ms
And Check if time window counter value equals "1" 015ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
	at Pages.Schedule.SchedulePage.getNumberOfWindowsInScheduleFromCounter(SchedulePage.java:323)
	at CucumberTests.Schedule.ScheduleTest.checkIfTimeWindowCounterValueEquals(ScheduleTest.java:141)
	at ✽.Check if time window counter value equals "1"(file:Features/Atom/TimeWindow/TransportWindow.feature:155)
And Select view "DAYS_2" 000ms
And Move advice window "2" 000ms
And Select view "DAY" 000ms
Then Check if time window counter value equals "0" 000ms
And Delete created transport by API 000ms
And Check if time window counter value equals "0" 000ms
And Click in free spot in schedule page to create gray window 000ms
And Check if time window counter value equals "0" 000ms
And Click in free spot in schedule page to create dedicated window 000ms
And Check if time window counter value equals "0" 000ms
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.rollbackAddedAuthorities() 000ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 020ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 729ms
When Go to new transport "DELIVERY" 644ms
And Fill transport form 13s 407ms
And Click "save-transport" save button and wait for form to disappear 30s 182ms
And Set advice window in schedule 2s 391ms
And Check is transport created in schedule and set transport id 15s 113ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: '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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.24pGIu}, 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=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]}
	at sun.reflect.GeneratedConstructorAccessor217.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:167)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:160)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/TimeWindow/TransportWindow.feature:178)
And Go to "TRANSPORT_TABLE" 000ms
When Click on time window date 000ms
And Open transport form when in schedule 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 018ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 704ms
When Go to new transport "DELIVERY" 734ms
And Fill transport form 43s 981ms
And Click "save-transport" save button and wait for form to disappear 30s 188ms
And Set advice window in schedule 2s 385ms
And Check is transport created in schedule and set transport id 797ms
And Go to "TRANSPORT_TABLE" 537ms
When Click on time window date 1s 536ms
And Open transport form when in schedule 1s 362ms
Then Check are transport values equals 20s 117ms
After Hooks.deleteTransportAfterTest() 138ms
Given Get inputs from database "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 024ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 564ms
When Go to new transport "CISTERN_DELIVERY" 747ms
And Fill transport form 46s 136ms
And Click "save-transport" save button and wait for form to disappear 30s 193ms
And Set advice window in schedule 2s 435ms
And Check is transport created in schedule and set transport id 814ms
And Go to "TRANSPORT_TABLE" 508ms
When Click on time window date 1s 732ms
And Open transport form when in schedule 1s 399ms
Then Check are transport values equals 7s 189ms
After Hooks.deleteTransportAfterTest() 191ms
Given Get inputs from database "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 019ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 506ms
When Go to new transport "CISTERN_COLLECTION" 782ms
And Fill transport form 32s 005ms
And Click "save-transport" save button and wait for form to disappear 30s 256ms
And Set advice window in schedule 2s 418ms
And Check is transport created in schedule and set transport id 689ms
And Go to "TRANSPORT_TABLE" 494ms
When Click on time window date 1s 722ms
And Open transport form when in schedule 1s 326ms
Then Check are transport values equals 22s 007ms
After Hooks.deleteTransportAfterTest() 245ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 022ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 672ms
When Go to new transport "DELIVERY" 661ms
And Fill transport form 42s 704ms
And Click "save-transport" save button and wait for form to disappear 30s 234ms
And Set advice window in schedule 2s 362ms
And Check is transport created in schedule and set transport id 735ms
And Go to "TRANSPORT_TABLE" 479ms
When Click on time window date 1s 656ms
And Open transport form when in schedule 1s 292ms
Then Check are transport values equals 19s 960ms
After Hooks.deleteTransportAfterTest() 158ms
Given Get inputs from database "CREATE_LOAD" "super-admin-lantmannen" 019ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 304ms
When Go to new transport "LOAD" 648ms
And Fill transport form 42s 769ms
And Click "save-transport" save button and wait for form to disappear 30s 276ms
And Set advice window in schedule 2s 380ms
And Check is transport created in schedule and set transport id 720ms
And Go to "TRANSPORT_TABLE" 473ms
When Click on time window date 1s 608ms
And Open transport form when in schedule 1s 303ms
Then Check are transport values equals 20s 003ms
After Hooks.deleteTransportAfterTest() 245ms
Given Set token of apiUsername "super-admin-farmacol" 119ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 111ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 157ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 074ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 213ms
And Login as "farmacol-admin" 2s 861ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 47s 913ms
And Go to "TRANSPORT_TABLE" 510ms
When Go to transport details "EXTERNAL_DELIVERY" 2s 831ms
And Add step "unload" 206ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 794ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 594ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 1s 538ms
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 3s 748ms
Then Click "save-transport" save button 313ms
And Set advice window in schedule in "2" days 5s 214ms
And Click advice save button and wait for advice form to disappear 31s 208ms
And Go to "TRANSPORT_TABLE" 561ms
And Check if transport has "2" time windows 048ms
After Hooks.deleteTransportAfterTest() 180ms
After Hooks.rollbackTransportTypeSettings() 081ms
After Hooks.rollbackAddedActionAuthorities() 056ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 119ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 076ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 073ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 327ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 591ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 379ms
And Go to "TRANSPORT_TABLE" 498ms
And Get checkpoint colors for transport 024ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 079ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfTransportHasProperColor(TimeWindowTest.java:128)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsChangeInColumnProperlyWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:100)
	at ✽.Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:229)
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.rollbackTransportTypeSettings() 106ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 117ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 070ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 075ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 354ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 116ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 336ms
And Go to "TRANSPORT_TABLE" 538ms
And Get checkpoint colors for transport 017ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 082ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfTransportHasProperColor(TimeWindowTest.java:128)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsChangeInColumnProperlyWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:100)
	at ✽.Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false"(file:Features/Atom/TimeWindow/TransportWindow.feature:229)
After Hooks.deleteTransportAfterTest() 260ms
After Hooks.rollbackTransportTypeSettings() 082ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 117ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 075ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 070ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 347ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 161ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 433ms
And Get checkpoint colors for transport 013ms
And Go to "TRANSPORT_TABLE" 503ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 767ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.NOT_FOUND
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowHasProperColor(TimeWindowTest.java:193)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColorsInSchedule(TimeWindowTest.java:178)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:118)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:247)
After Hooks.deleteTransportAfterTest() 186ms
After Hooks.rollbackTransportTypeSettings() 085ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 116ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 073ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 079ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 231ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 340ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 097ms
And Get checkpoint colors for transport 015ms
And Go to "TRANSPORT_TABLE" 589ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 741ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowHasProperColor(TimeWindowTest.java:193)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColorsInSchedule(TimeWindowTest.java:178)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:118)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false"(file:Features/Atom/TimeWindow/TransportWindow.feature:247)
After Hooks.deleteTransportAfterTest() 177ms
After Hooks.rollbackTransportTypeSettings() 130ms
Given Set token of apiUsername "super-admin-farmacol" 116ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 193ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 756ms
And Login as "super-admin-farmacol" 2s 781ms
And Show all transport types 1s 221ms
And Click on time window date 1s 897ms
Then Open transport form when in schedule 1s 386ms
And Click create similar button 15s 318ms
And Click cancel button in transport form 216ms
And Open transport form when in schedule 1s 361ms
Then Check if transport form modal is visible 093ms
After Hooks.deleteTransportAfterTest() 146ms
Given Set token of apiUsername "super-admin-farmacol" 116ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 260ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 808ms
And Get min and max advice date of created transport as "super-admin-farmacol" 184ms
And Login as "farmacol-admin" 2s 122ms
And Show all transport types 1s 257ms
And Click on time window date 1s 911ms
And Set week view 2s 509ms
And Move advice window "3" 1s 864ms
Then Check if min and max advice date changed after moving advice window as "super-admin-farmacol" 207ms
After Hooks.deleteTransportAfterTest() 157ms