Project Number Date
ApolloFullRunnerReport apollo-test-2.154 11 wrz 2021, 06:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Schedule 145 3 15 0 0 163 17 3 20 19m 58s 309ms 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 565ms
When Go to "WAREHOUSE_TAB" 1s 403ms
And Select warehouse "Magazyn - Nowa Sól" 2s 182ms
And Select view "DAY" 2s 236ms
Then Click on every spot and check if time window was created 3s 914ms
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.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.jmHEYW}, 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: 71dd6aa921b779f6ffe9792924bce038
	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 445ms
When Go to "WAREHOUSE_TAB" 1s 057ms
And Select warehouse "Magazyn S7" 1s 408ms
And Select view "DAY" 2s 167ms
Then Click on every spot and check if time window was created 1m 8s 062ms
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.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.jmHEYW}, 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: 71dd6aa921b779f6ffe9792924bce038
	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 "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 853ms
When Go to "WAREHOUSE_TAB" 776ms
And Select warehouse "Magazyn Surowców" 1s 378ms
And Select view "DAY" 2s 159ms
Then Click on every spot and check if time window was created 38s 234ms
And Check if warehouse is empty 15s 070ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 5s 155ms
When Go to "WAREHOUSE_TAB" 937ms
And Select warehouse "Towary sypkie" 1s 383ms
And Select view "DAY" 2s 137ms
Then Click on every spot and check if time window was created 1m 25s 312ms
And Check if warehouse is empty 15s 042ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 345ms
When Go to "WAREHOUSE_TAB" 675ms
And Select warehouse "Magazyn Alrec" 1s 309ms
And Select view "DAY" 2s 130ms
Then Click on every spot and check if time window was created 52s 742ms
And Check if warehouse is empty 15s 040ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 495ms
When Go to "WAREHOUSE_TAB" 1s 332ms
And Select warehouse "Magazyn - Nowa Sól" 2s 117ms
And Go to template schedule 1s 384ms
Then Click on every spot and check if time window was created 1m 46s 357ms
And Check if warehouse is empty 15s 060ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 678ms
When Go to "WAREHOUSE_TAB" 1s 151ms
And Select warehouse "Magazyn S7" 1s 443ms
And Go to template schedule 1s 187ms
Then Click on every spot and check if time window was created 2m 12s 917ms
And Check if warehouse is empty 15s 026ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 691ms
When Go to "WAREHOUSE_TAB" 755ms
And Select warehouse "Magazyn Surowców" 1s 359ms
And Go to template schedule 1s 163ms
Then Click on every spot and check if time window was created 35s 517ms
And Check if warehouse is empty 15s 068ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 534ms
When Go to "WAREHOUSE_TAB" 849ms
And Select warehouse "Towary sypkie" 1s 381ms
And Go to template schedule 1s 179ms
Then Click on every spot and check if time window was created 1m 19s 896ms
And Check if warehouse is empty 15s 087ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 599ms
When Go to "WAREHOUSE_TAB" 721ms
And Select warehouse "Magazyn Alrec" 1s 374ms
And Go to template schedule 1s 178ms
Then Click on every spot and check if time window was created 48s 784ms
And Check if warehouse is empty 15s 057ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 8s 882ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 270ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 207ms
When Go to "WAREHOUSE_TAB" 1s 272ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 966ms
And Select view "DAYS_2" 2s 171ms
Then Check if gray window is in the schedule 2s 043ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 423ms
And Select view "DAYS_2" 2s 134ms
And Check if gray window is in the schedule 2s 041ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 529ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 11s 098ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 214ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 254ms
When Go to "WAREHOUSE_TAB" 1s 391ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 941ms
And Select view "DAYS_2" 2s 177ms
Then Check if gray window is in the schedule 2s 046ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 434ms
And Select view "DAYS_2" 2s 131ms
And Check if gray window is in the schedule 2s 035ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 613ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pha1-carrier" and set token of apiUsername "super-admin-hochland" 9s 471ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 294ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 294ms
When Go to "WAREHOUSE_TAB" 1s 228ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 855ms
And Select view "DAYS_2" 2s 170ms
Then Check if gray window is in the schedule 2s 037ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 391ms
And Select view "DAYS_2" 2s 131ms
And Check if gray window is in the schedule 2s 037ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 545ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 775ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 274ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 202ms
When Go to "WAREHOUSE_TAB" 940ms
And Select warehouse "MGW" 1s 380ms
And Select view "DAYS_2" 2s 128ms
Then Check if gray window is in the schedule 2s 045ms
And Select warehouse "HRL" 1s 551ms
And Select view "DAYS_2" 2s 117ms
And Check if gray window is in the schedule 2s 041ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 562ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 114ms
When Go to "WAREHOUSE_TAB" 1s 334ms
And Select warehouse "Proszkownia" 1s 977ms
Then Check if warehouses select dropdown is not expanded 083ms
And Check if current warehouse is "Proszkownia" 078ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 229ms
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" 281ms
And Set package type "PALLETS" settings with values: "visibleInContractorStep;visibleInWarehouseStep", "true;false" 361ms
When Login as "neuca-admin" 7s 562ms
And Go to new transport "DELIVERY" 700ms
And Fill transport form 39s 517ms
And Get sum of pallets of "load" in transport form 079ms
And Click "save-transport" save button and wait for form to disappear 30s 248ms
And Set advice window in schedule 2s 393ms
And Check is transport created in schedule and set transport id 3s 179ms
Then Verify if used pallet limit in schedule changed properly in "I" on "RT1" 248ms
After Hooks.deleteTransportAfterTest() 871ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 164ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 257ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY_PALLETS_IN_COMPANY_STEP_ONLY" "super-admin-neuca" 000ms
And Get package type settings for transportType "DELIVERY" from "neuca" 143ms
And Set package type "PALLETS" settings with values: "visibleInContractorStep;visibleInWarehouseStep", "false;true" 252ms
When Login as "neuca-admin" 2s 565ms
And Go to new transport "DELIVERY" 680ms
And Fill transport form 39s 457ms
And Get sum of pallets of "unload" in transport form 086ms
And Click "save-transport" save button and wait for form to disappear 30s 276ms
And Set advice window in schedule 2s 396ms
And Check is transport created in schedule and set transport id 3s 161ms
Then Verify if used pallet limit in schedule changed properly in "I" on "RT1" 247ms
After Hooks.deleteTransportAfterTest() 899ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 146ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 221ms
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" 114ms
And Set package type "PALLETS" settings with values: "visibleInContractorStep;visibleInWarehouseStep", "true;true" 236ms
When Login as "neuca-admin" 2s 617ms
And Go to new transport "DELIVERY" 714ms
And Fill transport form 42s 637ms
And Get sum of pallets of "unload" in transport form 097ms
And Click "save-transport" save button and wait for form to disappear 30s 260ms
And Set advice window in schedule 2s 431ms
And Check is transport created in schedule and set transport id 3s 441ms
Then Verify if used pallet limit in schedule changed properly in "I" on "RT1" 253ms
After Hooks.deleteTransportAfterTest() 986ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 142ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 5s 531ms
And Set basic authorities "ROLE_CAN_CREATE_MAX_PALLET" to user "pgf-admin" 188ms
And Go to "WAREHOUSE_TAB" 1s 121ms
When Check if pallet limit counter is visible 073ms
And Set limit to "888" 894ms
Then Verify if pallet limit in schedule changed to "888" 153ms
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" 001ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 766ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 645ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-09-11T18: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 374ms