Project Number Date
ApolloFullRunnerReport 2021.AT1.3 19 Jul 2021, 02:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pallet limit 6 2 8 0 0 16 0 2 2 1m 26s 251ms Failed
Feature Pallet limit
Scenario Outline Verify that the error is visible after exceeding the pallet limit during create transport
Before Hooks.showScenarioName(Scenario) 000ms
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 065ms
When Go to new transport "DELIVERY" 15s 323ms
And Fill transport form 40s 625ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 1s 329ms
And Click "save-transport" save button and wait for form to disappear 25s 563ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport'] (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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-59-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-2/temp/buildTmp/.com.google.Chrome.vDN1jO}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: dba5b175465b672380623475d71f06d6
	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.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:198)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:202)
	at ✽.Click "save-transport" save button and wait for form to disappear(file:Features/Atom/MaxPallet/MaxPallet.feature:10)
And Set advice window in schedule 000ms
Then Verify that the error is visible after exceeding the pallet limit 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Verify that the error is visible after exceeding the pallet limit during edit transport [A-7071]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 235ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 107ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-19T18:00:00Z, windowSizeInMinutes:15, rampName:Katowice - R6], detail:We can not reserve a time slot of 15 minutes in the indicated place because the warehouse is already occupied during these hours. Please select another time or ramp., 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/MaxPallet/MaxPallet.feature:21)
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport "false" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 000ms
And Click "save-transport" save button 000ms
Then Verify that the error is visible after exceeding the pallet limit 000ms
After Hooks.deleteTransportAfterTest() 000ms