Project Number Date
ApolloFullRunnerReport 2021.AT1.58 13 sie 2021, 02:50

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 2m 52s 678ms Failed
Feature Pallet limit
Before Hooks.showScenarioName(Scenario) 000ms
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" 1s 075ms
When Go to new transport "DELIVERY" 365ms
And Fill transport form 43s 048ms
And Change filled value in details "number-of-pallets-step-0" "number" "1000000" "0" 1s 370ms
And Click "save-transport" save button and wait for form to disappear 30s 159ms
And Set advice window in schedule 2s 199ms
Then Verify that the error is visible after exceeding the pallet limit 245ms
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 093ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 052ms
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" 097ms
And Prepare max pallet limit "1" in "Magazyn Łódź" 005ms
And Get inputs from database "CREATE_UNLOAD" "super-admin-pgf" 039ms
When Login as "pgf-admin" 1s 315ms
And Go to new transport "UNLOAD" 15s 310ms
And Fill transport form 28s 857ms
And Click "save-transport" save button and wait for form to disappear 30s 139ms
And Set advice window in schedule 2s 228ms
And Check is transport created in schedule and set transport id 15s 071ms
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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-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-2/temp/buildTmp/.com.google.Chrome.nMoPf6}, 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: 8985c6aef34bc2ee84a41d67573a54de
*** 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() 002ms