Project Number Date
ApolloFullRunnerReport kapibary.32 08 cze 2021, 06:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 172 17 59 0 0 248 5 17 22 18m 35s 572ms 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" 3s 128ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 033ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 160ms
When Go to "WAREHOUSE_TAB" 1s 277ms
And Select warehouse "Serownia" 1s 792ms
And Set week view 1s 224ms
And Show yesterday 1s 143ms
And Move window into the past 403ms
Then Check if window is "red" 2s 063ms
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 072ms
After Hooks.rollbackAddedAuthorities() 186ms
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 344ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 798ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 163ms
When Go to "WAREHOUSE_TAB" 1s 223ms
And Select warehouse "Magazyn - Nowa Sól" 2s 619ms
And Set week view 1s 274ms
And Show yesterday 1s 175ms
And Move window into the past 593ms
Then Check if window is "red" 2s 066ms
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 086ms
After Hooks.rollbackAddedAuthorities() 350ms
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 606ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 077ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 168ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 033ms
When Show all transport types 1s 157ms
And Click button advice in transport table "DELIVERY" 269ms
And Set advice window in schedule 3s 337ms
And Fill advice form 10s 485ms
And Click advice save button and wait for advice form to disappear 10s 743ms
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.2fbShR}, 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: 8cc6c2ab0bfbc4f8f32b779d4f0f298a
	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() 763ms
After Hooks.rollbackAddedAuthorities() 113ms
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" 8s 123ms
And Get inputs from database "EDIT_EXPORT" "super-admin-hochland" 040ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 1s 151ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 956ms
When Go to "WAREHOUSE_TAB" 1s 307ms
And Select warehouse "Magazyn Zimny Kaźmierz" 2s 007ms
And Set week view 1s 248ms
And Check if time window length is correct after "CREATE" 082ms
And Change number of pallets in transport 1m 14s 152ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@data-field-name, 'number-of-pallets-step-1')]//input"}
  (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.2fbShR}, 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: 8cc6c2ab0bfbc4f8f32b779d4f0f298a
*** Element info: {Using=xpath, value=//div[contains(@data-field-name, 'number-of-pallets-step-1')]//input}
	at sun.reflect.GeneratedConstructorAccessor185.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.EditTransport.changeNumberOfPalletsInTransport(EditTransport.java:55)
	at ✽.Change number of pallets in transport(file:Features/Atom/TimeWindow/TransportWindow.feature:50)
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() 892ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 584ms
And Get "UNLOAD" settings from "keeeper" 121ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 642ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;true" 279ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 763ms
When Go to "WAREHOUSE_TAB" 706ms
And Select warehouse "Magazyn Surowców" 1s 383ms
And Set week view 1s 260ms
Then Check if time window has proper "60" 081ms
After Hooks.deleteTransportAfterTest() 893ms
After Hooks.rollbackTransportTypeSettings() 219ms
After Hooks.clearAlgorithmSettings() 573ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 768ms
And Get "UNLOAD" settings from "keeeper" 133ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 591ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 236ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 720ms
When Go to "WAREHOUSE_TAB" 706ms
And Select warehouse "Magazyn Surowców" 1s 356ms
And Set week view 1s 188ms
Then Check if time window has proper "60" 053ms
After Hooks.deleteTransportAfterTest() 884ms
After Hooks.rollbackTransportTypeSettings() 211ms
After Hooks.clearAlgorithmSettings() 493ms
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 656ms
And Get "LOAD" settings from "keeeper" 137ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 606ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 233ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 895ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 033ms
And Show all transport types 1s 209ms
And Click button advice in transport table "LOAD" 254ms
And Set advice window in schedule 3s 161ms
And Fill advice form 16s 296ms
And Click advice save button and wait for advice form to disappear 10s 820ms
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.2fbShR}, 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: 8cc6c2ab0bfbc4f8f32b779d4f0f298a
	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() 504ms
After Hooks.rollbackTransportTypeSettings() 242ms
After Hooks.clearAlgorithmSettings() 528ms
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 821ms
And Get "CONTAINER" settings from "keeeper" 121ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 589ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "20;false" 217ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 960ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 033ms
And Show all transport types 1s 167ms
And Click button advice in transport table "CONTAINER" 261ms
And Set advice window in schedule 3s 167ms
And Fill advice form 16s 187ms
And Click advice save button and wait for advice form to disappear 10s 773ms
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.2fbShR}, 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: 8cc6c2ab0bfbc4f8f32b779d4f0f298a
	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() 613ms
After Hooks.rollbackTransportTypeSettings() 228ms
After Hooks.clearAlgorithmSettings() 492ms
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Set token of apiUsername "super-admin-hochland" 239ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 753ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 205ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 16s 820ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 7s 309ms
When Go to transport details "DELIVERY" 32s 857ms
And Change filled value in transport details "quantity" "number" "25" "0" 15s 105ms
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() 803ms
After Hooks.clearAlgorithmSettings() 862ms
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 870ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 111ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 914ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 31s 831ms
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.2fbShR}, 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: 8cc6c2ab0bfbc4f8f32b779d4f0f298a
	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() 416ms
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" 075ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 741ms
When Go to new transport "DELIVERY" 646ms
And Fill transport form 16s 720ms
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" 3s 020ms
When Go to new transport "DELIVERY" 693ms
And Fill transport form 32s 499ms
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 228ms
When Go to new transport "CISTERN_DELIVERY" 792ms
And Fill transport form 46s 208ms
And Click "save-transport" save button and wait for form to disappear 770ms
And Set advice window in schedule 2s 907ms
And Check is transport created in schedule and set transport id 2s 704ms
And Go to "TRANSPORT_TABLE" 436ms
When Click on time window date 2s 362ms
And Open transport form when in schedule 1s 411ms
Then Check are transport values equals 2s 213ms
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() 1s 039ms
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" 2s 928ms
When Go to new transport "CISTERN_COLLECTION" 654ms
And Fill transport form 32s 140ms
And Click "save-transport" save button and wait for form to disappear 15s 799ms
And Set advice window in schedule 2s 414ms
And Check is transport created in schedule and set transport id 2s 299ms
And Go to "TRANSPORT_TABLE" 441ms
When Click on time window date 2s 111ms
And Open transport form when in schedule 1s 423ms
Then Check are transport values equals 32s 189ms
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.2fbShR}, 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: 8cc6c2ab0bfbc4f8f32b779d4f0f298a
*** Element info: {Using=xpath, value=//div[@data-field-name='assortment']//div}
	at sun.reflect.GeneratedConstructorAccessor185.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() 732ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 037ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 199ms
When Go to new transport "DELIVERY" 651ms
And Fill transport form 42s 101ms
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_LOAD" "super-admin-lantmannen" 033ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 369ms
When Go to new transport "LOAD" 668ms
And Fill transport form 23s 852ms
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 it is possible to add new warehouse step with new time window to existing transport
Steps
Given Set token of apiUsername "super-admin-farmacol" 207ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 259ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 165ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 290ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 976ms
And Login as "farmacol-admin" 5s 700ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 52s 289ms
And Go to "TRANSPORT_TABLE" 508ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 831ms
And Add step "unload" 232ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 891ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 545ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 15s 066ms
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() 781ms
After Hooks.rollbackTransportTypeSettings() 279ms
After Hooks.rollbackAddedActionAuthorities() 254ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 240ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 132ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 257ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 038ms
And Set double window advice 000ms
And Login as "farmacol-admin" 5s 755ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 045ms
And Go to "TRANSPORT_TABLE" 568ms
And Get checkpoint colors for transport 008ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 8s 108ms
java.lang.NullPointerException
	at CucumberTests.TimeWindow.TimeWindowTest.lambda$firstLastWarehouseIndependentColor$8(TimeWindowTest.java:269)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
	at java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1249)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)
	at CucumberTests.TimeWindow.TimeWindowTest.firstLastWarehouseIndependentColor(TimeWindowTest.java:271)
	at CucumberTests.TimeWindow.TimeWindowTest.findProperColorForWindow(TimeWindowTest.java:229)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowHasProperColor(TimeWindowTest.java:193)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColors(TimeWindowTest.java:156)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsChangeInColumnProperlyWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:101)
	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 038ms
After Hooks.rollbackTransportTypeSettings() 294ms
Given Set token of apiUsername "super-admin-farmacol" 229ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 132ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 288ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 023ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 606ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 261ms
And Go to "TRANSPORT_TABLE" 566ms
And Get checkpoint colors for transport 008ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 39s 069ms
After Hooks.deleteTransportAfterTest() 1s 123ms
After Hooks.rollbackTransportTypeSettings() 301ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 230ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 130ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 257ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 996ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 514ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 241ms
And Get checkpoint colors for transport 009ms
And Go to "TRANSPORT_TABLE" 551ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 5s 233ms
java.lang.NullPointerException
	at CucumberTests.TimeWindow.TimeWindowTest.lambda$firstLastWarehouseIndependentColor$8(TimeWindowTest.java:269)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
	at java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1249)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)
	at CucumberTests.TimeWindow.TimeWindowTest.firstLastWarehouseIndependentColor(TimeWindowTest.java:271)
	at CucumberTests.TimeWindow.TimeWindowTest.findProperColorForWindow(TimeWindowTest.java:229)
	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() 1s 105ms
After Hooks.rollbackTransportTypeSettings() 332ms
Given Set token of apiUsername "super-admin-farmacol" 224ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 126ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 283ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 891ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 649ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 188ms
And Get checkpoint colors for transport 011ms
And Go to "TRANSPORT_TABLE" 600ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 30s 532ms
After Hooks.deleteTransportAfterTest() 1s 021ms
After Hooks.rollbackTransportTypeSettings() 291ms
Given Set token of apiUsername "super-admin-farmacol" 226ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 934ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 522ms
And Login as "super-admin-farmacol" 6s 844ms
And Show all transport types 1s 295ms
And Click on time window date 1s 984ms
Then Open transport form when in schedule 1s 448ms
And Click create similar button 15s 233ms
And Click cancel button in transport form 173ms
And Open transport form when in schedule 1s 356ms
Then Check if transport form modal is visible 067ms
After Hooks.deleteTransportAfterTest() 766ms