Project Number Date
ApolloFullRunnerReport apollo-test-2.58 28 cze 2021, 06:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 235 6 17 0 0 258 17 6 23 22m 24s 358ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 921ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 251ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 309ms
When Go to "WAREHOUSE_TAB" 1s 373ms
And Select warehouse "Serownia" 1s 561ms
And Set week view 1s 210ms
And Show yesterday 1s 141ms
And Move window into the past 415ms
Then Check if window is "red" 4s 065ms
After Hooks.deleteTransportAfterTest() 924ms
After Hooks.rollbackAddedAuthorities() 134ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 424ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 929ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 202ms
When Go to "WAREHOUSE_TAB" 1s 493ms
And Select warehouse "Magazyn - Nowa Sól" 2s 641ms
And Set week view 1s 279ms
And Show yesterday 1s 179ms
And Move window into the past 583ms
Then Check if window is "red" 4s 077ms
After Hooks.deleteTransportAfterTest() 931ms
After Hooks.rollbackAddedAuthorities() 128ms
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 584ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 093ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 197ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 019ms
When Show all transport types 1s 153ms
And Click button advice in transport table "DELIVERY" 250ms
And Set advice window in schedule 3s 500ms
And Fill advice form 10s 601ms
And Click advice save button and wait for advice form to disappear 10s 857ms
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.KGx3Q4}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: ddae78be8afb82e110b49f23c02daaab
	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:169)
	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() 613ms
After Hooks.rollbackAddedAuthorities() 131ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 8s 619ms
And Get inputs from database "EDIT_EXPORT" "super-admin-hochland" 021ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 1s 007ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 181ms
When Go to "WAREHOUSE_TAB" 1s 145ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 933ms
And Set week view 1s 272ms
And Check if time window length is correct after "CREATE" 090ms
And Change number of pallets in transport 59s 787ms
And Click "save-transport-and-close" save button and wait for form to disappear 20s 416ms
And Check if time window length is correct after "EDIT" 076ms
After Hooks.deleteTransportAfterTest() 933ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 595ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 166ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;true" 245ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 628ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 981ms
When Go to "WAREHOUSE_TAB" 723ms
And Select warehouse "Magazyn Surowców" 1s 387ms
And Set week view 1s 242ms
Then Check if time window has proper "60" 071ms
After Hooks.deleteTransportAfterTest() 1s 136ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 144ms
After Hooks.clearAlgorithmSettings() 594ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 929ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 145ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 221ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 619ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 939ms
When Go to "WAREHOUSE_TAB" 702ms
And Select warehouse "Magazyn Surowców" 1s 356ms
And Set week view 1s 242ms
Then Check if time window has proper "60" 071ms
After Hooks.deleteTransportAfterTest() 1s 012ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 135ms
After Hooks.clearAlgorithmSettings() 528ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 802ms
And Get package type settings for transportType "LOAD" from "keeeper" 122ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 196ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 580ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 898ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 021ms
And Show all transport types 1s 153ms
And Click button advice in transport table "LOAD" 243ms
And Set advice window in schedule 3s 254ms
And Fill advice form 16s 387ms
And Click advice save button and wait for advice form to disappear 33s 230ms
Then Check if time window has proper "30" 067ms
After Hooks.deleteTransportAfterTest() 917ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 135ms
After Hooks.clearAlgorithmSettings() 557ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 909ms
And Get package type settings for transportType "CONTAINER" from "keeeper" 118ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "20;false" 239ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 581ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 827ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 019ms
And Show all transport types 1s 150ms
And Click button advice in transport table "CONTAINER" 272ms
And Set advice window in schedule 3s 303ms
And Fill advice form 16s 572ms
And Click advice save button and wait for advice form to disappear 33s 162ms
Then Check if time window has proper "60" 061ms
After Hooks.deleteTransportAfterTest() 845ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 125ms
After Hooks.clearAlgorithmSettings() 474ms
Given Set token of apiUsername "super-admin-hochland" 224ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 649ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 210ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 16s 923ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 7s 248ms
When Go to transport details "DELIVERY" 32s 779ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "25" "0" 1s 504ms
And Click "save-transport-and-close" save button and wait for form to disappear 19s 137ms
And Go to "WAREHOUSE_TAB" 1s 174ms
And Select warehouse "Serownia" 1s 570ms
And Set week view 1s 245ms
Then Check if time window has proper "60" 076ms
After Hooks.deleteTransportAfterTest() 939ms
After Hooks.clearAlgorithmSettings() 540ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 949ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 134ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 906ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 52s 976ms
And Check if time window counter value equals "1" 214ms
And Select view "DAYS_2" 2s 167ms
And Move advice window "2" 1s 517ms
And Select view "DAY" 2s 152ms
Then Check if time window counter value equals "0" 183ms
And Delete created transport by API 897ms
And Check if time window counter value equals "0" 168ms
And Click in free spot in schedule page to create gray window 549ms
And Check if time window counter value equals "0" 190ms
And Click in free spot in schedule page to create dedicated window 2s 164ms
And Check if time window counter value equals "0" 165ms
After Hooks.deleteTransportAfterTest() 780ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 019ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 211ms
When Go to new transport "DELIVERY" 698ms
And Fill transport form 13s 589ms
And Click "save-transport" save button and wait for form to disappear 15s 763ms
And Set advice window in schedule 2s 383ms
And Check is transport created in schedule and set transport id 2s 543ms
And Go to "TRANSPORT_TABLE" 507ms
When Click on time window date 1s 678ms
And Open transport form when in schedule 1s 301ms
Then Check are transport values equals 459ms
After Hooks.deleteTransportAfterTest() 835ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 019ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 934ms
When Go to new transport "DELIVERY" 691ms
And Fill transport form 43s 911ms
And Click "save-transport" save button and wait for form to disappear 803ms
And Set advice window in schedule 2s 625ms
And Check is transport created in schedule and set transport id 2s 939ms
And Go to "TRANSPORT_TABLE" 513ms
When Click on time window date 1s 660ms
And Open transport form when in schedule 1s 373ms
Then Check are transport values equals 20s 209ms
After Hooks.deleteTransportAfterTest() 1s 054ms
Given Get inputs from database "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 017ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 036ms
When Go to new transport "CISTERN_DELIVERY" 707ms
And Fill transport form 46s 175ms
And Click "save-transport" save button and wait for form to disappear 15s 780ms
And Set advice window in schedule 2s 446ms
And Check is transport created in schedule and set transport id 2s 701ms
And Go to "TRANSPORT_TABLE" 481ms
When Click on time window date 3s 031ms
And Open transport form when in schedule 1s 378ms
Then Check are transport values equals 7s 123ms
After Hooks.deleteTransportAfterTest() 892ms
Given Get inputs from database "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 017ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 972ms
When Go to new transport "CISTERN_COLLECTION" 649ms
And Fill transport form 32s 204ms
And Click "save-transport" save button and wait for form to disappear 16s 515ms
And Set advice window in schedule 2s 441ms
And Check is transport created in schedule and set transport id 2s 353ms
And Go to "TRANSPORT_TABLE" 418ms
When Click on time window date 2s 977ms
And Open transport form when in schedule 1s 358ms
Then Check are transport values equals 22s 068ms
After Hooks.deleteTransportAfterTest() 861ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 018ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 5s 093ms
When Go to new transport "DELIVERY" 639ms
And Fill transport form 42s 659ms
And Click "save-transport" save button and wait for form to disappear 15s 778ms
And Set advice window in schedule 2s 361ms
And Check is transport created in schedule and set transport id 2s 619ms
And Go to "TRANSPORT_TABLE" 493ms
When Click on time window date 1s 757ms
And Open transport form when in schedule 1s 326ms
Then Check are transport values equals 19s 908ms
After Hooks.deleteTransportAfterTest() 1s 024ms
Given Get inputs from database "CREATE_LOAD" "super-admin-lantmannen" 019ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 383ms
When Go to new transport "LOAD" 642ms
And Fill transport form 42s 221ms
And Click "save-transport" save button and wait for form to disappear 15s 787ms
And Set advice window in schedule 2s 354ms
And Check is transport created in schedule and set transport id 2s 586ms
And Go to "TRANSPORT_TABLE" 423ms
When Click on time window date 1s 663ms
And Open transport form when in schedule 1s 261ms
Then Check are transport values equals 19s 860ms
After Hooks.deleteTransportAfterTest() 871ms
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" 238ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 329ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 337ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 272ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 877ms
And Login as "farmacol-admin" 6s 892ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 52s 752ms
And Go to "TRANSPORT_TABLE" 606ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 908ms
And Add step "unload" 204ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 821ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 536ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 1s 520ms
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 3s 694ms
Then Click "save-transport" save button 331ms
And Set advice window in schedule in "2" days 5s 638ms
And Click advice save button and wait for advice form to disappear 36s 581ms
And Go to "TRANSPORT_TABLE" 515ms
And Check if transport has "2" time windows 038ms
java.lang.AssertionError: Transport ma niepoeprawną ilość okien czasowych! expected:<2> but was:<3>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at CucumberTests._PerformanceTests.TransportTableTest.checkIfTransportHasTimeWindows(TransportTableTest.java:151)
	at ✽.Check if transport has "2" time windows(file:Features/Atom/TimeWindow/TransportWindow.feature:212)
After Hooks.deleteTransportAfterTest() 1s 276ms
After Hooks.rollbackTransportTypeSettings() 336ms
After Hooks.rollbackAddedActionAuthorities() 282ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 227ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 168ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 280ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 046ms
And Set double window advice 000ms
And Login as "farmacol-admin" 6s 826ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 34s 359ms
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.KGx3Q4}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: ddae78be8afb82e110b49f23c02daaab
	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:169)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:64)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:226)
And Go to "TRANSPORT_TABLE" 000ms
And Get checkpoint colors for transport 000ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 000ms
After Hooks.deleteTransportAfterTest() 679ms
After Hooks.rollbackTransportTypeSettings() 258ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 222ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 144ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 311ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 861ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 548ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 33s 698ms
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.KGx3Q4}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: ddae78be8afb82e110b49f23c02daaab
	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:169)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:64)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:226)
And Go to "TRANSPORT_TABLE" 000ms
And Get checkpoint colors for transport 000ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 000ms
After Hooks.deleteTransportAfterTest() 690ms
After Hooks.rollbackTransportTypeSettings() 294ms
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" 164ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 257ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 884ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 609ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 33s 630ms
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.KGx3Q4}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: ddae78be8afb82e110b49f23c02daaab
	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:169)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:64)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:244)
And Get checkpoint colors for transport 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 000ms
After Hooks.deleteTransportAfterTest() 702ms
After Hooks.rollbackTransportTypeSettings() 307ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 224ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 162ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 285ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 889ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 523ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 34s 277ms
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.KGx3Q4}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: ddae78be8afb82e110b49f23c02daaab
	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:169)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:64)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:244)
And Get checkpoint colors for transport 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 000ms
After Hooks.deleteTransportAfterTest() 628ms
After Hooks.rollbackTransportTypeSettings() 297ms
Given Set token of apiUsername "super-admin-farmacol" 230ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 878ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 777ms
And Login as "super-admin-farmacol" 8s 271ms
And Show all transport types 1s 157ms
And Click on time window date 2s 032ms
Then Open transport form when in schedule 1s 407ms
And Click create similar button 15s 296ms
And Click cancel button in transport form 218ms
And Open transport form when in schedule 1s 383ms
Then Check if transport form modal is visible 098ms
After Hooks.deleteTransportAfterTest() 1s
Given Set token of apiUsername "super-admin-farmacol" 250ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 926ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 966ms
And Get min and max advice date of created transport as "super-admin-farmacol" 462ms
And Login as "farmacol-admin" 2s 553ms
And Show all transport types 1s 152ms
And Click on time window date 2s 133ms
And Set week view 2s 688ms
And Move advice window "3" 1s 799ms
Then Check if min and max advice date changed after moving advice window as "super-admin-farmacol" 768ms
After Hooks.deleteTransportAfterTest() 3s 498ms