Project Number Date
ApolloFullRunnerReport kapibary.33 09 cze 2021, 04:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 165 19 64 0 0 248 3 19 22 15m 55s 927ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Scenario Outline Check if time window turns red when moved into the past
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 943ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 961ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 177ms
When Go to "WAREHOUSE_TAB" 1s 265ms
And Select warehouse "Serownia" 1s 917ms
And Set week view 1s 242ms
And Show yesterday 1s 163ms
And Move window into the past 430ms
Then Check if window is "red" 2s 065ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowIs(ScheduleTest.java:53)
	at ✽.Check if window is "red"(file:Features/Atom/TimeWindow/TransportWindow.feature:14)
After Hooks.deleteTransportAfterTest() 1s 074ms
After Hooks.rollbackAddedAuthorities() 127ms
Scenario Outline Check if time window turns red when moved into the past
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 387ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 747ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 169ms
When Go to "WAREHOUSE_TAB" 1s 472ms
And Select warehouse "Magazyn - Nowa Sól" 2s 648ms
And Set week view 1s 263ms
And Show yesterday 1s 169ms
And Move window into the past 609ms
Then Check if window is "red" 2s 073ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowIs(ScheduleTest.java:53)
	at ✽.Check if window is "red"(file:Features/Atom/TimeWindow/TransportWindow.feature:14)
After Hooks.deleteTransportAfterTest() 1s 008ms
After Hooks.rollbackAddedAuthorities() 151ms
Scenario Outline Check if time window turns red when moved into the past after add advice by advice button in transport table
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 530ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 956ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 157ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 032ms
When Show all transport types 1s 127ms
And Click button advice in transport table "DELIVERY" 220ms
And Set advice window in schedule 3s 302ms
And Fill advice form 10s 393ms
And Click advice save button and wait for advice form to disappear 10s 795ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vnKNvU}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3476336070ad01dcaf2e27fa8e5afddc
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/TimeWindow/TransportWindow.feature:30)
And Select warehouse "Magazyn Hala A" 000ms
And Set week view 000ms
And Show yesterday 000ms
And Move window into the past 000ms
Then Check if window is "red" 000ms
After Hooks.deleteTransportAfterTest() 643ms
After Hooks.rollbackAddedAuthorities() 150ms
Scenario Outline Check if time window resize with restriction to algorithm settings
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 7s 739ms
And Get inputs from database "EDIT_EXPORT" "super-admin-hochland" 033ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 874ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 436ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor191.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.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.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_EXPORT" by JSON file as "super-admin-hochland"(file:Features/Atom/TimeWindow/TransportWindow.feature:45)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Magazyn Zimny Kaźmierz" 000ms
And Set week view 000ms
And Check if time window length is correct after "CREATE" 000ms
And Change number of pallets in transport 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Check if time window length is correct after "EDIT" 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 320ms
And Get "UNLOAD" settings from "keeeper" 126ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 620ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;true" 251ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 755ms
When Go to "WAREHOUSE_TAB" 664ms
And Select warehouse "Magazyn Surowców" 1s 391ms
And Set week view 1s 257ms
Then Check if time window has proper "60" 079ms
After Hooks.deleteTransportAfterTest() 754ms
After Hooks.rollbackTransportTypeSettings() 220ms
After Hooks.clearAlgorithmSettings() 543ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 735ms
And Get "UNLOAD" settings from "keeeper" 130ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 587ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 225ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 718ms
When Go to "WAREHOUSE_TAB" 682ms
And Select warehouse "Magazyn Surowców" 1s 354ms
And Set week view 1s 220ms
Then Check if time window has proper "60" 068ms
After Hooks.deleteTransportAfterTest() 967ms
After Hooks.rollbackTransportTypeSettings() 222ms
After Hooks.clearAlgorithmSettings() 512ms
Scenario Outline Check if time window has valid length after advice is added with restriction to algorithm settings when quantity is set from default quantity value and quantity field is not visible in transport form
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 585ms
And Get "LOAD" settings from "keeeper" 119ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 587ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 211ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 892ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 034ms
And Show all transport types 1s 209ms
And Click button advice in transport table "LOAD" 253ms
And Set advice window in schedule 3s 176ms
And Fill advice form 16s 243ms
And Click advice save button and wait for advice form to disappear 10s 769ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vnKNvU}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3476336070ad01dcaf2e27fa8e5afddc
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/TimeWindow/TransportWindow.feature:106)
Then Check if time window has proper "30" 000ms
After Hooks.deleteTransportAfterTest() 604ms
After Hooks.rollbackTransportTypeSettings() 236ms
After Hooks.clearAlgorithmSettings() 494ms
Scenario Outline Check if time window has valid length after advice is added with restriction to algorithm settings when quantity is set from default quantity value and quantity field is not visible in transport form
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 867ms
And Get "CONTAINER" settings from "keeeper" 128ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 600ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "20;false" 217ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 907ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 033ms
And Show all transport types 1s 157ms
And Click button advice in transport table "CONTAINER" 262ms
And Set advice window in schedule 3s 316ms
And Fill advice form 16s 292ms
And Click advice save button and wait for advice form to disappear 10s 758ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vnKNvU}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3476336070ad01dcaf2e27fa8e5afddc
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/TimeWindow/TransportWindow.feature:106)
Then Check if time window has proper "60" 000ms
After Hooks.deleteTransportAfterTest() 632ms
After Hooks.rollbackTransportTypeSettings() 205ms
After Hooks.clearAlgorithmSettings() 516ms
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Set token of apiUsername "super-admin-hochland" 260ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 594ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 238ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 16s 874ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 7s 351ms
When Go to transport details "DELIVERY" 32s 798ms
And Change filled value in transport details "quantity" "number" "25" "0" 15s 083ms
java.lang.AssertionError: Nie można wypełnić pola quantity, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "quantity" "number" "25" "0"(file:Features/Atom/TimeWindow/TransportWindow.feature:139)
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
After Hooks.deleteTransportAfterTest() 868ms
After Hooks.clearAlgorithmSettings() 572ms
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 697ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 109ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 959ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 31s 765ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vnKNvU}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3476336070ad01dcaf2e27fa8e5afddc
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:61)
	at ✽.Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper"(file:Features/Atom/TimeWindow/TransportWindow.feature:154)
And Check if time window counter value equals "1" 000ms
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() 594ms
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" 033ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 605ms
When Go to new transport "DELIVERY" 639ms
And Fill transport form 16s 745ms
java.lang.AssertionError: Nie można wypełnić pola quantity, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/TimeWindow/TransportWindow.feature:175)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
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() 001ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 033ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 947ms
When Go to new transport "DELIVERY" 695ms
And Fill transport form 32s 527ms
java.lang.AssertionError: Nie można wypełnić pola quantity, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/TimeWindow/TransportWindow.feature:175)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
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() 001ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 034ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 066ms
When Go to new transport "CISTERN_DELIVERY" 720ms
And Fill transport form 46s 317ms
And Click "save-transport" save button and wait for form to disappear 15s 748ms
And Set advice window in schedule 2s 424ms
And Check is transport created in schedule and set transport id 2s 608ms
And Go to "TRANSPORT_TABLE" 473ms
When Click on time window date 2s 142ms
And Open transport form when in schedule 1s 427ms
Then Check are transport values equals 2s 234ms
java.lang.AssertionError: Wartości w formularzu w polu warehouse-select-step-1 są niepoprawne, wartość na stronie: Magazyn Zimny Kaźmierz wartość poprawna: Odbieralnia Proszkowni
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
	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/TimeWindow/TransportWindow.feature:182)
After Hooks.deleteTransportAfterTest() 782ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 033ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 089ms
When Go to new transport "CISTERN_COLLECTION" 639ms
And Fill transport form 32s 194ms
And Click "save-transport" save button and wait for form to disappear 15s 741ms
And Set advice window in schedule 2s 409ms
And Check is transport created in schedule and set transport id 2s 298ms
And Go to "TRANSPORT_TABLE" 463ms
When Click on time window date 2s 404ms
And Open transport form when in schedule 1s 425ms
Then Check are transport values equals 32s 174ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='assortment']//div"}
  (Session info: headless chrome=91.0.4472.77)
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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.vnKNvU}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3476336070ad01dcaf2e27fa8e5afddc
*** Element info: {Using=xpath, value=//div[@data-field-name='assortment']//div}
	at sun.reflect.GeneratedConstructorAccessor187.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 CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:130)
	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/TimeWindow/TransportWindow.feature:182)
After Hooks.deleteTransportAfterTest() 753ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 033ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 183ms
When Go to new transport "DELIVERY" 569ms
And Fill transport form 42s 219ms
java.lang.AssertionError: Nie można wypełnić pola quantity, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/TimeWindow/TransportWindow.feature:175)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
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
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_LOAD" "super-admin-lantmannen" 033ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 515ms
When Go to new transport "LOAD" 629ms
And Fill transport form 23s 806ms
java.lang.AssertionError: Nie można wypełnić pola quantity, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/TimeWindow/TransportWindow.feature:175)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
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() 001ms
Scenario Outline Check if it is possible to add new warehouse step with new time window to existing transport
Steps
Given Set token of apiUsername "super-admin-farmacol" 239ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 296ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 163ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 324ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 2s 021ms
And Login as "farmacol-admin" 5s 677ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 37s 041ms
And Go to "TRANSPORT_TABLE" 564ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 838ms
And Add step "unload" 180ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 788ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 562ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 15s 129ms
java.lang.AssertionError: Nie można wypełnić pola number-of-pallets-step-2, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0"(file:Features/Atom/TimeWindow/TransportWindow.feature:206)
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 000ms
Then Click "save-transport" save button 000ms
And Set advice window in schedule in "2" days 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Check if transport has "2" time windows 000ms
After Hooks.deleteTransportAfterTest() 779ms
After Hooks.rollbackTransportTypeSettings() 262ms
After Hooks.rollbackAddedActionAuthorities() 249ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 230ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 132ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 251ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 003ms
And Set double window advice 000ms
And Login as "farmacol-admin" 5s 524ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 136ms
And Go to "TRANSPORT_TABLE" 583ms
And Get checkpoint colors for transport 011ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 5s 830ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	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() 1s 020ms
After Hooks.rollbackTransportTypeSettings() 300ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 224ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 136ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 303ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 964ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 522ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 620ms
And Go to "TRANSPORT_TABLE" 560ms
And Get checkpoint colors for transport 012ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 172ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	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() 1s 206ms
After Hooks.rollbackTransportTypeSettings() 295ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 210ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 145ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 245ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 054ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 576ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 41s 991ms
And Get checkpoint colors for transport 009ms
And Go to "TRANSPORT_TABLE" 589ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 864ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	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() 1s 049ms
After Hooks.rollbackTransportTypeSettings() 276ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 228ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 147ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 279ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 864ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 596ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 576ms
And Get checkpoint colors for transport 011ms
And Go to "TRANSPORT_TABLE" 548ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 822ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	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() 1s 005ms
After Hooks.rollbackTransportTypeSettings() 331ms
Given Set token of apiUsername "super-admin-farmacol" 219ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 804ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 617ms
And Login as "super-admin-farmacol" 6s 868ms
And Show all transport types 1s 160ms
And Click on time window date 1s 992ms
Then Open transport form when in schedule 1s 399ms
And Click create similar button 15s 238ms
And Click cancel button in transport form 212ms
And Open transport form when in schedule 1s 347ms
Then Check if transport form modal is visible 099ms
After Hooks.deleteTransportAfterTest() 750ms