Project Number Date
ApolloFullRunnerReport master.314 20 lut 2021, 00:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pallet limit 12 2 2 0 0 16 0 2 2 2m 12s 006ms Failed
Feature Pallet limit
Scenario Outline Verify that the error is visible after exceeding the pallet limit during create transport
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-neuca" 002ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 123ms
When Go to new transport "DELIVERY" 15s 324ms
And Fill transport form 37s 670ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 1s 365ms
And Click "save-transport" save button and wait for form to disappear 10s 200ms
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.7qz6Rj}, 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=88.0.4324.150, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 5c42872c8e581ff3f5d2343eb69f2295
	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:197)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:251)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:188)
	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() 002ms
Scenario Outline Verify that the error is visible after exceeding the pallet limit during edit transport
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 121ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 15s 334ms
And Go to "TRANSPORT_TABLE" 228ms
And Show all transport "false" 008ms
And Go to transport details "DELIVERY" 32s 411ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 1s 476ms
And Click "save-transport" save button 711ms
Then Verify that the error is visible after exceeding the pallet limit 15s 026ms
java.lang.AssertionError: Komunikat: Limit awizacji w harmonogramie w dniu 20.02.2021 został przekroczony. Proszę wybrać inną datę awizacji.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.MaxPallet.MaxPalletTest.verifyThatTheErrorIsVisibleAfterExceedingThePalletLimit(MaxPalletTest.java:23)
	at ✽.Verify that the error is visible after exceeding the pallet limit(file:Features/Atom/MaxPallet/MaxPallet.feature:27)
After Hooks.deleteTransportAfterTest() 116ms