Project Number Date
ApolloFullRunnerReport apollo-test-2.116 13 sie 2021, 02:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pallet limit 17 2 9 0 0 28 1 2 3 3m 11s 547ms Failed
Feature Pallet limit
Before Hooks.showScenarioName(Scenario) 001ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 002ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 465ms
When Go to new transport "DELIVERY" 731ms
And Fill transport form 48s 438ms
And Change filled value in details "number-of-pallets-step-0" "number" "1000000" "0" 1s 682ms
And Click "save-transport" save button and wait for form to disappear 30s 221ms
And Set advice window in schedule 2s 428ms
Then Verify that the error is visible after exceeding the pallet limit 714ms
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) 001ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 521ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 314ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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:20)
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport "false" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in 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
Scenario Outline Check if it is possible to create advice when pallet limit equals 1 [A-7073]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-pgf" 244ms
And Prepare max pallet limit "1" in "Magazyn Łódź" 039ms
And Get inputs from database "CREATE_UNLOAD" "super-admin-pgf" 019ms
When Login as "pgf-admin" 5s 613ms
And Go to new transport "UNLOAD" 15s 553ms
And Fill transport form 32s 770ms
And Click "save-transport" save button and wait for form to disappear 30s 236ms
And Set advice window in schedule 2s 432ms
And Check is transport created in schedule and set transport id 15s 114ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-80268928-2021-08-13-00-00']//div[@data-transport-id]"}
  (Session info: headless chrome=92.0.4515.131)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.LEzQRD}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a25bd0c5c1c96689075b9b6bad1f055f
*** Element info: {Using=xpath, value=//div[@id='slot-80268928-2021-08-13-00-00']//div[@data-transport-id]}
	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.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.Schedule.SchedulePage.getTransportId(SchedulePage.java:167)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:169)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/MaxPallet/MaxPallet.feature:41)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "UNLOAD" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackMaxPalletLimit() 017ms