Project Number Date
ApolloFullRunnerReport develop.287 31 sty 2021, 04:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Move transport to archive 11 1 0 0 0 12 0 1 1 1m 11s 464ms Failed
Feature Move transport to archive
Scenario Outline Check if delayed transport is moved to archived and can be restored
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 703ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 003ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 022ms
And Set proper delay time to move order to archive after task timeout 034ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 270ms
And Wait "60" seconds 1m
And Go to "WAREHOUSE_TAB" 660ms
And Change warehouse in schedule to: "Katowice" 1s 107ms
And Verify that transport window is grey 071ms
And Verify that transport is in archive 517ms
Then Restore transport from archive 3s 417ms
And Verify that transport has been successfully restored 2s 655ms
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : Poprawnie przywrócono zlecenie}
  (Session info: headless chrome=88.0.4324.96): Poprawnie przywrócono zlecenie
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/temp/buildTmp/.com.google.Chrome.wQgCXl}, 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.96, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: dd0ed3e47289deb7c995af0fd11974ed
*** Element info: {Using=xpath, value=//span[contains(@class, 'btn-group')]//a[contains(@href, 'transports/ALL')]}
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:118)
	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.findElements(RemoteWebDriver.java:383)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementsByXPath(RemoteWebDriver.java:462)
	at org.openqa.selenium.By$ByXPath.findElements(By.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:344)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:643)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:640)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:205)
	at Pages.Transport.TransportsPage.showAllTransportTypes(TransportsPage.java:203)
	at CucumberTests.Transport.ArchiveTest.verifyThatTransportHasBeenSuccessfullyRestored(ArchiveTest.java:92)
	at ✽.Verify that transport has been successfully restored(file:Features/Atom/Transport/Archive.feature:16)
After Hooks.deleteTransportAfterTest() 217ms
After Hooks.rollbackSettings() 068ms