Project Number Date
ApolloFullRunnerReport apollo-test-2.146 05 wrz 2021, 06:14

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 284 3 0 0 0 287 22 3 25 26m 18s 242ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Scenario Outline Check if time window turns red when moved into the past
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 053ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 224ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 300ms
When Go to "WAREHOUSE_TAB" 1s 427ms
And Select warehouse "Serownia" 1s 585ms
And Set week view 1s 218ms
And Show yesterday 1s 129ms
And Move window into the past 432ms
Then Check if window is "red" 4s 073ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=93.0.4577.63)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.JodGHj}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 5b4be4f0d4e5e9c51e0c52affa36e4e5
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:128)
	at Utils.TestUtil.elementHasColor(TestUtil.java:30)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowIs(ScheduleTest.java:58)
	at ✽.Check if window is "red"(file:Features/Atom/TimeWindow/TransportWindow.feature:14)
After Hooks.deleteTransportAfterTest() 858ms
After Hooks.rollbackAddedAuthorities() 155ms
Scenario Outline Check if time window turns red when moved into the past
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 402ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 874ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 197ms
When Go to "WAREHOUSE_TAB" 1s 330ms
And Select warehouse "Magazyn - Nowa Sól" 2s 209ms
And Set week view 1s 297ms
And Show yesterday 1s 187ms
And Move window into the past 629ms
Then Check if window is "red" 4s 078ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=93.0.4577.63)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.JodGHj}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 5b4be4f0d4e5e9c51e0c52affa36e4e5
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:128)
	at Utils.TestUtil.elementHasColor(TestUtil.java:30)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowIs(ScheduleTest.java:58)
	at ✽.Check if window is "red"(file:Features/Atom/TimeWindow/TransportWindow.feature:14)
After Hooks.deleteTransportAfterTest() 726ms
After Hooks.rollbackAddedAuthorities() 115ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 024ms
And Set "transport" inputs from JSON file "EDIT_EXPORT" "super-admin-hochland" 001ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 1s 446ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 088ms
When Go to "WAREHOUSE_TAB" 1s 249ms
And Select warehouse "Magazyn Zimny Kaźmierz" 2s 104ms
And Set week view 1s 281ms
And Check if time window length is correct after "CREATE" 085ms
And Change number of pallets in transport 1m 2s 906ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 317ms
And Check if time window length is correct after "EDIT" 071ms
After Hooks.deleteTransportAfterTest() 929ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 718ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 298ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;true" 269ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 642ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 993ms
When Go to "WAREHOUSE_TAB" 783ms
And Select warehouse "Magazyn Surowców" 1s 387ms
And Set week view 1s 253ms
Then Check if time window has proper "60" 069ms
After Hooks.deleteTransportAfterTest() 1s 006ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 139ms
After Hooks.clearAlgorithmSettings() 767ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 850ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 124ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 222ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 624ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 3s 040ms
When Go to "WAREHOUSE_TAB" 776ms
And Select warehouse "Magazyn Surowców" 1s 368ms
And Set week view 1s 192ms
Then Check if time window has proper "60" 061ms
After Hooks.deleteTransportAfterTest() 853ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 139ms
After Hooks.clearAlgorithmSettings() 541ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 3s 062ms
And Get package type settings for transportType "LOAD" from "keeeper" 120ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 229ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 599ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 931ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-keeeper" 001ms
And Show all transport types 1s 163ms
And Click button advice in transport table "LOAD" 259ms
And Set advice window in schedule 3s 308ms
And Fill advice form 18s 842ms
And Click advice save button and wait for advice form to disappear 33s 205ms
Then Check if time window has proper "30" 078ms
After Hooks.deleteTransportAfterTest() 735ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 132ms
After Hooks.clearAlgorithmSettings() 543ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 3s 046ms
And Get package type settings for transportType "CONTAINER" from "keeeper" 123ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "20;false" 234ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 609ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 951ms
And Set "advice" inputs from JSON file "ADVICE_CONTAINER" "super-admin-keeeper" 000ms
And Show all transport types 1s 141ms
And Click button advice in transport table "CONTAINER" 232ms
And Set advice window in schedule 3s 250ms
And Fill advice form 18s 908ms
And Click advice save button and wait for advice form to disappear 33s 226ms
Then Check if time window has proper "60" 084ms
After Hooks.deleteTransportAfterTest() 755ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 136ms
After Hooks.clearAlgorithmSettings() 616ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-hochland" 273ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 849ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 222ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 16s 905ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 7s 798ms
When Go to transport details "DELIVERY" 30s 947ms
And Change filled value in details "number-of-pallets-step-0" "number" "25" "0" 1s 570ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 246ms
And Go to "WAREHOUSE_TAB" 1s 293ms
And Select warehouse "Serownia" 1s 606ms
And Set week view 1s 253ms
Then Check if time window has proper "60" 083ms
After Hooks.deleteTransportAfterTest() 794ms
After Hooks.clearAlgorithmSettings() 889ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 993ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 143ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 830ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD" as "super-admin-keeeper" 3s 247ms
And Go to "WAREHOUSE_TAB" 750ms
And Select warehouse "Magazyn Wyrobów Gotowych" 1s 955ms
And Go to next day in schedule 1s 218ms
And Check if time window counter value equals "1" 375ms
And Select view "DAYS_2" 2s 186ms
And Move advice window "2" 1s 520ms
And Select view "DAY" 2s 159ms
Then Check if time window counter value equals "0" 215ms
And Delete created transport by API 785ms
And Check if time window counter value equals "0" 162ms
And Click in free spot in schedule page to create gray window 518ms
And Check if time window counter value equals "0" 178ms
And Click in free spot in schedule page to create dedicated window 2s 149ms
And Check if time window counter value equals "0" 166ms
After Hooks.deleteTransportAfterTest() 640ms
After Hooks.rollbackAddedAuthorities() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 055ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-adama" 000ms
When Go to new transport "DELIVERY" 687ms
And Fill transport form 20s 785ms
And Click "save-transport" save button and wait for form to disappear 30s 299ms
And Set advice window in schedule 2s 382ms
And Check is transport created in schedule and set transport id 2s 592ms
And Go to "TRANSPORT_TABLE" 525ms
When Click on time window date 1s 712ms
And Open transport form when in schedule 1s 293ms
Then Check are transport values equals 2s 700ms
After Hooks.deleteTransportAfterTest() 682ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 250ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-hochland" 000ms
When Go to new transport "DELIVERY" 696ms
And Fill transport form 46s 428ms
And Click "save-transport" save button and wait for form to disappear 30s 289ms
And Set advice window in schedule 2s 405ms
And Check is transport created in schedule and set transport id 2s 906ms
And Go to "TRANSPORT_TABLE" 559ms
When Click on time window date 1s 649ms
And Open transport form when in schedule 1s 456ms
Then Check are transport values equals 22s 269ms
After Hooks.deleteTransportAfterTest() 798ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 064ms
And Set "transport" inputs from JSON file "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 000ms
When Go to new transport "CISTERN_DELIVERY" 772ms
And Fill transport form 48s 617ms
And Click "save-transport" save button and wait for form to disappear 30s 218ms
And Set advice window in schedule 2s 454ms
And Check is transport created in schedule and set transport id 2s 783ms
And Go to "TRANSPORT_TABLE" 518ms
When Click on time window date 2s 949ms
And Open transport form when in schedule 1s 412ms
Then Check are transport values equals 9s 181ms
After Hooks.deleteTransportAfterTest() 914ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 036ms
And Set "transport" inputs from JSON file "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 000ms
When Go to new transport "CISTERN_COLLECTION" 687ms
And Fill transport form 34s 368ms
And Click "save-transport" save button and wait for form to disappear 30s 283ms
And Set advice window in schedule 2s 414ms
And Check is transport created in schedule and set transport id 2s 392ms
And Go to "TRANSPORT_TABLE" 469ms
When Click on time window date 3s 293ms
And Open transport form when in schedule 1s 392ms
Then Check are transport values equals 24s 172ms
After Hooks.deleteTransportAfterTest() 780ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 573ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-lantmannen" 001ms
When Go to new transport "DELIVERY" 655ms
And Fill transport form 45s 065ms
And Click "save-transport" save button and wait for form to disappear 30s 190ms
And Set advice window in schedule 2s 371ms
And Check is transport created in schedule and set transport id 2s 603ms
And Go to "TRANSPORT_TABLE" 447ms
When Click on time window date 1s 746ms
And Open transport form when in schedule 1s 322ms
Then Check are transport values equals 22s 039ms
After Hooks.deleteTransportAfterTest() 873ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 560ms
And Set "transport" inputs from JSON file "CREATE_LOAD" "super-admin-lantmannen" 000ms
When Go to new transport "LOAD" 662ms
And Fill transport form 45s 088ms
And Click "save-transport" save button and wait for form to disappear 30s 199ms
And Set advice window in schedule 2s 361ms
And Check is transport created in schedule and set transport id 2s 610ms
And Go to "TRANSPORT_TABLE" 501ms
When Click on time window date 1s 733ms
And Open transport form when in schedule 1s 310ms
Then Check are transport values equals 21s 961ms
After Hooks.deleteTransportAfterTest() 914ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 231ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 423ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 372ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 354ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 880ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 847ms
And Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 6s 257ms
And Go to "TRANSPORT_TABLE" 531ms
When Go to transport details "EXTERNAL_DELIVERY" 2s 961ms
And Add step "unload" 206ms
And Change filled value in details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 829ms
And Change filled value in details "weight-step-2" "number" "23" "0" 1s 550ms
And Change filled value in details "number-of-pallets-step-2" "number" "23" "0" 1s 557ms
And Change filled value in details "time-range-from-date-2" "date" "" "0" 3s 732ms
Then Click "save-transport" save button 331ms
And Set advice window in schedule in "2" days 5s 653ms
And Click advice save button and wait for advice form to disappear 36s 548ms
And Go to "TRANSPORT_TABLE" 562ms
And Check if transport has "2" time windows 041ms
After Hooks.deleteTransportAfterTest() 1s 101ms
After Hooks.rollbackTransportTypeSettings() 288ms
After Hooks.rollbackAddedActionAuthorities() 316ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-farmacol" 238ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 165ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 285ms
And Prepare task "REGISTRATION" setting "tracked" with value "false" for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 297ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 043ms
And Set double window advice 000ms
And Login as "farmacol-admin" 5s 983ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY_2_WINDOWS" as "super-admin-farmacol" 4s 389ms
And Go to "TRANSPORT_TABLE" 420ms
And Get checkpoint colors for transport 031ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 1m 25s 300ms
After Hooks.deleteTransportAfterTest() 1s 055ms
After Hooks.rollbackTransportTypeSettings() 368ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 249ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 158ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 308ms
And Prepare task "REGISTRATION" setting "tracked" with value "false" for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 274ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 098ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 715ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY_2_WINDOWS" as "super-admin-farmacol" 4s 437ms
And Go to "TRANSPORT_TABLE" 418ms
And Get checkpoint colors for transport 025ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 1m 25s 358ms
After Hooks.deleteTransportAfterTest() 1s 130ms
After Hooks.rollbackTransportTypeSettings() 366ms
Scenario Outline Check if window changes color properly in schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-farmacol" 275ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 172ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 252ms
And Prepare task "REGISTRATION" setting "tracked" with value "false" for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 280ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 063ms
And Set double window advice 000ms
And Login as "farmacol-admin" 3s 214ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY_2_WINDOWS" as "super-admin-farmacol" 4s 294ms
And Get checkpoint colors for transport 025ms
And Go to "TRANSPORT_TABLE" 348ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 25s 467ms
java.lang.AssertionError: Niepoprawna zmiana koloru przy statusie registered-katowice-przyjęcia
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:120)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:253)
After Hooks.deleteTransportAfterTest() 1s 024ms
After Hooks.rollbackTransportTypeSettings() 325ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-farmacol" 235ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 181ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 293ms
And Prepare task "REGISTRATION" setting "tracked" with value "false" for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 271ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 991ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 775ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY_2_WINDOWS" as "super-admin-farmacol" 4s 613ms
And Get checkpoint colors for transport 028ms
And Go to "TRANSPORT_TABLE" 417ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 46s 148ms
After Hooks.deleteTransportAfterTest() 976ms
After Hooks.rollbackTransportTypeSettings() 263ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 223ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 921ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 758ms
And Login as "super-admin-farmacol" 6s 044ms
And Show all transport types 1s 173ms
And Click on time window date 2s 114ms
Then Open transport form when in schedule 1s 445ms
And Click create similar button 15s 258ms
And Click cancel button in transport form 212ms
And Open transport form when in schedule 1s 373ms
Then Check if transport form modal is visible 099ms
After Hooks.deleteTransportAfterTest() 728ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 225ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 886ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 827ms
And Get min and max advice date of created transport as "super-admin-farmacol" 441ms
And Login as "farmacol-admin" 2s 724ms
And Show all transport types 1s 162ms
And Click on time window date 2s 084ms
And Set week view 2s 712ms
And Move advice window "3" 1s 946ms
Then Check if min and max advice date changed after moving advice window as "super-admin-farmacol" 701ms
After Hooks.deleteTransportAfterTest() 3s 489ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-bausch" 227ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 167ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 739ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 501ms
And Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "60m" 4s 563ms
And Add action authority with time interval: "bausch" "super-admin-bausch" "LOAD_EXPORT" "MOVE_ADVICE_WINDOW" "TIME_BASED" "-2h" "EARLIEST_TIME_WINDOW_START" 320ms
And Login as "super-admin-bausch" 6s 218ms
And Go to "WAREHOUSE_TAB" 1s 309ms
And Change warehouse in schedule to: "Magazyn Bausch Health Poland" 686ms
And Wait "2" seconds 2s
When Move window by interval "1h" 603ms
And Alert after moving is displayed "Nie można przesunąć okna czasowego - minął dopuszczalny czas na wykonanie tej akcji" 701ms
After Hooks.deleteTransportAfterTest() 856ms
After Hooks.rollbackAddedActionAuthorities() 261ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-bausch" 228ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 141ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 644ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 468ms
And Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "180m" 4s 536ms
And Add action authority with time interval: "bausch" "super-admin-bausch" "LOAD_EXPORT" "MOVE_ADVICE_WINDOW" "TIME_BASED" "-2h" "EARLIEST_TIME_WINDOW_START" 335ms
And Login as "super-admin-bausch" 5s 567ms
And Go to "WAREHOUSE_TAB" 1s 369ms
And Change warehouse in schedule to: "Magazyn Bausch Health Poland" 685ms
And Wait "2" seconds 2s
When Move window by interval "1h" 605ms
And Alert after moving is displayed "" 15s 077ms
After Hooks.deleteTransportAfterTest() 887ms
After Hooks.rollbackAddedActionAuthorities() 256ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-bausch" 217ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 155ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 633ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 434ms
And Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" with interval "180m" 4s 673ms
And Add action authority with time interval: "bausch" "super-admin-bausch" "LOAD_EXPORT" "MOVE_ADVICE_WINDOW" "TIME_BASED" "-2h" "EARLIEST_TIME_WINDOW_START" 361ms
And Login as "super-admin-bausch" 5s 522ms
And Go to "WAREHOUSE_TAB" 1s 235ms
And Change warehouse in schedule to: "Magazyn Bausch Health Poland" 729ms
And Wait "2" seconds 2s
When Move window by interval "-2h" 587ms
And Alert after moving is displayed "Nie można przesunąć okna czasowego - minął dopuszczalny czas na wykonanie tej akcji" 644ms
After Hooks.deleteTransportAfterTest() 901ms
After Hooks.rollbackAddedActionAuthorities() 281ms