Project Number Date
ApolloFullRunnerReport apollo-test-2.153 10 wrz 2021, 06:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Schedule 143 4 16 0 0 163 16 4 20 20m 42s 936ms Failed
Feature Schedule
Scenario Outline Check if it is possible to click on every spot in schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 629ms
When Go to "WAREHOUSE_TAB" 1s 376ms
And Select warehouse "Magazyn - Nowa Sól" 2s 203ms
And Select view "DAY" 2s 261ms
Then Click on every spot and check if time window was created 15s 861ms
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.pj7a4T}, 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: 4b3acac1f1734e8a8580a196118c9f90
	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.RemoteWebDriver.executeScript(RemoteWebDriver.java:522)
	at CucumberTests.Schedule.ScheduleTest.clickOnEverySpotAndCheckIfTimeWindowWasCreated(ScheduleTest.java:82)
	at ✽.Click on every spot and check if time window was created(file:Features/Atom/Schedule/Schedule.feature:8)
And Check if warehouse is empty 000ms
Scenario Outline Check if it is possible to click on every spot in schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 569ms
When Go to "WAREHOUSE_TAB" 1s 087ms
And Select warehouse "Magazyn S7" 1s 424ms
And Select view "DAY" 2s 153ms
Then Click on every spot and check if time window was created 2m 5s 122ms
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.pj7a4T}, 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: 4b3acac1f1734e8a8580a196118c9f90
	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.RemoteWebDriver.executeScript(RemoteWebDriver.java:522)
	at CucumberTests.Schedule.ScheduleTest.clickOnEverySpotAndCheckIfTimeWindowWasCreated(ScheduleTest.java:82)
	at ✽.Click on every spot and check if time window was created(file:Features/Atom/Schedule/Schedule.feature:8)
And Check if warehouse is empty 000ms
Scenario Outline Check if it is possible to click on every spot in schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 763ms
When Go to "WAREHOUSE_TAB" 779ms
And Select warehouse "Magazyn Surowców" 1s 342ms
And Select view "DAY" 2s 178ms
Then Click on every spot and check if time window was created 32s 412ms
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.pj7a4T}, 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: 4b3acac1f1734e8a8580a196118c9f90
	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.RemoteWebDriver.executeScript(RemoteWebDriver.java:522)
	at CucumberTests.Schedule.ScheduleTest.clickOnEverySpotAndCheckIfTimeWindowWasCreated(ScheduleTest.java:82)
	at ✽.Click on every spot and check if time window was created(file:Features/Atom/Schedule/Schedule.feature:8)
And Check if warehouse is empty 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 4s 938ms
When Go to "WAREHOUSE_TAB" 894ms
And Select warehouse "Towary sypkie" 1s 374ms
And Select view "DAY" 2s 164ms
Then Click on every spot and check if time window was created 1m 25s 973ms
And Check if warehouse is empty 15s 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 407ms
When Go to "WAREHOUSE_TAB" 711ms
And Select warehouse "Magazyn Alrec" 1s 354ms
And Select view "DAY" 2s 143ms
Then Click on every spot and check if time window was created 52s 579ms
And Check if warehouse is empty 15s 060ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 637ms
When Go to "WAREHOUSE_TAB" 1s 312ms
And Select warehouse "Magazyn - Nowa Sól" 2s 127ms
And Go to template schedule 1s 274ms
Then Click on every spot and check if time window was created 1m 46s 506ms
And Check if warehouse is empty 15s 079ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 675ms
When Go to "WAREHOUSE_TAB" 1s 163ms
And Select warehouse "Magazyn S7" 1s 427ms
And Go to template schedule 1s 190ms
Then Click on every spot and check if time window was created 2m 13s 017ms
And Check if warehouse is empty 15s 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 697ms
When Go to "WAREHOUSE_TAB" 785ms
And Select warehouse "Magazyn Surowców" 1s 359ms
And Go to template schedule 1s 155ms
Then Click on every spot and check if time window was created 35s 455ms
And Check if warehouse is empty 15s 094ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 598ms
When Go to "WAREHOUSE_TAB" 816ms
And Select warehouse "Towary sypkie" 1s 369ms
And Go to template schedule 1s 185ms
Then Click on every spot and check if time window was created 1m 19s 893ms
And Check if warehouse is empty 15s 059ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 625ms
When Go to "WAREHOUSE_TAB" 766ms
And Select warehouse "Magazyn Alrec" 1s 379ms
And Go to template schedule 1s 175ms
Then Click on every spot and check if time window was created 48s 937ms
And Check if warehouse is empty 15s 044ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 017ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 265ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 203ms
When Go to "WAREHOUSE_TAB" 1s 260ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 963ms
And Select view "DAYS_2" 2s 176ms
Then Check if gray window is in the schedule 2s 041ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 402ms
And Select view "DAYS_2" 2s 121ms
And Check if gray window is in the schedule 2s 035ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 601ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 10s 552ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 209ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 213ms
When Go to "WAREHOUSE_TAB" 1s 275ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 871ms
And Select view "DAYS_2" 2s 160ms
Then Check if gray window is in the schedule 2s 036ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 450ms
And Select view "DAYS_2" 2s 137ms
And Check if gray window is in the schedule 2s 033ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 523ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pha1-carrier" and set token of apiUsername "super-admin-hochland" 9s 339ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 314ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 351ms
When Go to "WAREHOUSE_TAB" 1s 355ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 854ms
And Select view "DAYS_2" 2s 174ms
Then Check if gray window is in the schedule 2s 058ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 428ms
And Select view "DAYS_2" 2s 125ms
And Check if gray window is in the schedule 2s 039ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 602ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 696ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 198ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 200ms
When Go to "WAREHOUSE_TAB" 871ms
And Select warehouse "MGW" 1s 391ms
And Select view "DAYS_2" 2s 151ms
Then Check if gray window is in the schedule 2s 044ms
And Select warehouse "HRL" 1s 577ms
And Select view "DAYS_2" 2s 115ms
And Check if gray window is in the schedule 2s 037ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 546ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 046ms
When Go to "WAREHOUSE_TAB" 1s 283ms
And Select warehouse "Proszkownia" 2s 071ms
Then Check if warehouses select dropdown is not expanded 082ms
And Check if current warehouse is "Proszkownia" 082ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 237ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY_PALLETS_IN_WAREHOUSE_STEP_ONLY" "super-admin-neuca" 000ms
And Get package type settings for transportType "DELIVERY" from "neuca" 258ms
And Set package type "PALLETS" settings with values: "visibleInContractorStep;visibleInWarehouseStep", "true;false" 349ms
When Login as "neuca-admin" 7s 682ms
And Go to new transport "DELIVERY" 704ms
And Fill transport form 39s 514ms
And Get sum of pallets of "load" in transport form 070ms
And Click "save-transport" save button and wait for form to disappear 30s 190ms
And Set advice window in schedule 2s 411ms
And Check is transport created in schedule and set transport id 3s 348ms
Then Verify if used pallet limit in schedule changed properly in "I" on "RT1" 243ms
After Hooks.deleteTransportAfterTest() 877ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 153ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 240ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY_PALLETS_IN_COMPANY_STEP_ONLY" "super-admin-neuca" 001ms
And Get package type settings for transportType "DELIVERY" from "neuca" 148ms
And Set package type "PALLETS" settings with values: "visibleInContractorStep;visibleInWarehouseStep", "false;true" 227ms
When Login as "neuca-admin" 2s 485ms
And Go to new transport "DELIVERY" 716ms
And Fill transport form 39s 411ms
And Get sum of pallets of "unload" in transport form 097ms
And Click "save-transport" save button and wait for form to disappear 30s 227ms
And Set advice window in schedule 2s 415ms
And Check is transport created in schedule and set transport id 3s 191ms
Then Verify if used pallet limit in schedule changed properly in "I" on "RT1" 201ms
After Hooks.deleteTransportAfterTest() 915ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 148ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 235ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY_PALLETS_IN_WAREHOUSE_AND_COMPANY_STEPS" "super-admin-neuca" 000ms
And Get package type settings for transportType "DELIVERY" from "neuca" 121ms
And Set package type "PALLETS" settings with values: "visibleInContractorStep;visibleInWarehouseStep", "true;true" 236ms
When Login as "neuca-admin" 2s 454ms
And Go to new transport "DELIVERY" 718ms
And Fill transport form 42s 521ms
And Get sum of pallets of "unload" in transport form 070ms
And Click "save-transport" save button and wait for form to disappear 30s 207ms
And Set advice window in schedule 2s 376ms
And Check is transport created in schedule and set transport id 3s 257ms
Then Verify if used pallet limit in schedule changed properly in "I" on "RT1" 215ms
After Hooks.deleteTransportAfterTest() 910ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 158ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 2s 392ms
And Set basic authorities "ROLE_CAN_CREATE_MAX_PALLET" to user "pgf-admin" 213ms
And Go to "WAREHOUSE_TAB" 1s 070ms
When Check if pallet limit counter is visible 080ms
And Set limit to "888" 892ms
Then Verify if pallet limit in schedule changed to "888" 160ms
After Hooks.rollbackAddedAuthorities() 000ms
Scenario Outline Suggesting the nearest free space in the schedule
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 000ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 690ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 671ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-09-10T18:00:00Z, windowSizeInMinutes:45, rampName:Katowice - R6], detail:Nie możemy zarezerwować okna czasowego o długości 45 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/Schedule/Schedule.feature:101)
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport "" 000ms
And Find transport pencil button in transports table 000ms
And Click pencil and move transport to "02" : "15" in schedule 000ms
Then Go to new transport "DELIVERY" 000ms
And Fill transport form 000ms
And Change filled value in details "number-of-pallets-step-0" "number" "50" "0" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
Then Set advice window at "02" : "00" in schedule 000ms
And Check if button with suggest the nearest free space is displayed 000ms
When Show suggestions of the nearest free slots in schedule 000ms
And Choose suggested time for advice 000ms
Then Check if success alert is displayed "Twoja awizacja została zapisana na godzinę: 03:00" 000ms
After Hooks.deleteAllTransports() 1m 4s 271ms