Project Number Date
ApolloFullRunnerReport apollo-test-2.158 15 wrz 2021, 06:58

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status rejection 34 1 2 0 0 37 3 1 4 3m 2s 605ms Failed
Feature Status rejection
Scenario Outline Check if it is possible to reject status by guard in transport table
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 601ms
And Prepare user "lantmannen-guard" details with all notifications and "apolloautomattest@gmail.com" by JSON file 862ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 029ms
And Add access to the warehouse "Magazyn - Nowa Sól" to the user "lantmannen-guard" by JSON file 715ms
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 4s 624ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 861ms
And Check if reject date is not visible 15s 042ms
When Reject status: Book of disinfection 184ms
And Check if reject date is visible 1s 021ms
Then If user is login then logout 330ms
And Login as "lantmannen-admin" 2s 647ms
And Check if note was added to transport after status rejection 1s 679ms
And Check if history note was added to transport after status rejection - "LOAD" 16s 768ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div//h5[@data-field-name='transport-logs-section']"}
  (Session info: headless chrome=93.0.4577.63)
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=93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.FGRir8}, 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=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 1200fca61a4ea8963b6e3429618a28eb
*** Element info: {Using=xpath, value=//div//h5[@data-field-name='transport-logs-section']}
	at sun.reflect.GeneratedConstructorAccessor213.newInstance(Unknown Source)
	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.Transport.TransportFormPage.checkIfHistoryNoteWasAddedToTransport(TransportFormPage.java:227)
	at CucumberTests.StatusTests.RejectStatuses.checkIfHistoryNoteWasAddedToTransportAfterStatusRejection(RejectStatuses.java:67)
	at ✽.Check if history note was added to transport after status rejection - "LOAD"(file:Features/Atom/Statuses/RejectStatuses.feature:17)
And Get mail "apolloautomattest@gmail.com" message from mailgun with "Nieaktualna księga mycia i dezynfekcji" 000ms
And Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 124ms
After Hooks.deleteTransportAfterTest() 680ms
After Hooks.rollbackWarehousesAccess() 705ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 4s 669ms
And Create transport "CREATE_LOAD_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 2s 788ms
And Check if reject date is not visible 15s 067ms
When Reject status: Book of disinfection 234ms
And Check if reject date is visible 611ms
And Get rejection date 093ms
And Wait "60" seconds 1m
And Reject status: Book of disinfection 208ms
Then Check if reject date has changed 1s 219ms
After Hooks.deleteTransportAfterTest() 724ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 560ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 783ms
And Go to transport details "LOAD" 2s 790ms
And Check if reject date is not visible 15s 086ms
When Reject status: Book of disinfection 230ms
Then Check if reject date is visible 614ms
After Hooks.deleteTransportAfterTest() 832ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 421ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 826ms
And Open statuses popup 205ms
And Check if reject date is not visible 15s 063ms
When Reject status: Book of disinfection 191ms
Then Open statuses popup 150ms
And Check if reject date is visible 416ms
After Hooks.deleteTransportAfterTest() 838ms