Project Number Date
ApolloFullRunnerReport apollo-test-2.47 20 cze 2021, 05:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status rejection 32 1 2 0 0 35 3 1 4 3m 13s 887ms Failed
Feature Status rejection
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 714ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 074ms
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 4s 784ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 855ms
And Check if reject date is not visible 15s 027ms
When Reject status: Book of disinfection 212ms
And Check if reject date is visible 759ms
Then If user is login then logout 250ms
And Login as "lantmannen-admin" 2s 407ms
And Check if note was added to transport after status rejection 1s 674ms
And Check if history note was added to transport after status rejection - "LOAD" 6s 050ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nieaktualna księga mycia i dezynfekcji" 7s 942ms
And Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 904ms
After Hooks.cleanUserDetailsAfterTest() 989ms
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 5s 003ms
And Create transport "CREATE_LOAD_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 2s 843ms
And Check if reject date is not visible 15s 027ms
When Reject status: Book of disinfection 206ms
And Check if reject date is visible 550ms
And Get rejection date 077ms
And Wait "60" seconds 1m
And Reject status: Book of disinfection 199ms
Then Check if reject date has changed 1s 212ms
After Hooks.deleteTransportAfterTest() 870ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 510ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 796ms
And Go to transport details "LOAD" 4s 774ms
And Check if reject date is not visible 15s 027ms
When Reject status: Book of disinfection 165ms
Then Check if reject date is visible 556ms
After Hooks.deleteTransportAfterTest() 758ms
Scenario Outline Check if it is possible to reject status by admin in statuses popup
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 216ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 667ms
And Open statuses popup 181ms
And Check if reject date is not visible 15s 039ms
When Reject status: Book of disinfection 15s 077ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@data-button-name='reject-checkpoint']"}
  (Session info: headless chrome=91.0.4472.106)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.OOhPKl}, 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=91.0.4472.106, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a42369ccf1baf21b04e410e395fab6ad
*** Element info: {Using=xpath, value=//button[@data-button-name='reject-checkpoint']}
	at sun.reflect.GeneratedConstructorAccessor201.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 CucumberTests.StatusTests.RejectStatuses.rejectStatusBookOfDisinfection(RejectStatuses.java:41)
	at ✽.Reject status: Book of disinfection(file:Features/Atom/Statuses/RejectStatuses.feature:56)
Then Open statuses popup 000ms
And Check if reject date is visible 000ms
After Hooks.deleteTransportAfterTest() 826ms