Project Number Date
ApolloFullRunnerReport develop.329 03 mar 2021, 06:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Transfer Mail 29 5 2 0 0 36 0 5 5 14m 37s 446ms Failed
Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 168ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 256ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 244ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 275ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 3m 14s 405ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:10)
After Hooks.deleteTransportAfterTest() 117ms
After Hooks.cleanUserDetailsAfterTest() 230ms
Scenario Outline Check if mail was sent to carrier after transport transfer with no confirmation
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 157ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 219ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 248ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 217ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zostało przekazane nowe zlecenie" 3m 16s 416ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:22)
After Hooks.deleteTransportAfterTest() 086ms
After Hooks.cleanUserDetailsAfterTest() 184ms
Scenario Outline Check if mail was sent to carrier after transport transfer in inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 439ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 275ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 222ms
And Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 151ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 3m 15s 706ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:34)
After Hooks.deleteTransportAfterTest() 146ms
After Hooks.cleanUserDetailsAfterTest() 323ms
Scenario Outline Check mail after loosing inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 280ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 316ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 260ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 227ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 244ms
And Add a bid "500" to an auction by JSON file as "pskza2-carrier-2@qa.qa-test" for "pskza2-carrier-2@qa.qa-test" 215ms
Then If user is login then logout 091ms
And Login as "swisskrono-admin" 1s 201ms
And Go to auction details 1s 195ms
And Pass transport to carrier from auction details 16s 133ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='CARRIER']//button"}
  (Session info: headless chrome=88.0.4324.182)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-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-2/temp/buildTmp/.com.google.Chrome.24oI5U}, 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.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 4689f137e21176f8a706ab67750e7e81
*** Element info: {Using=xpath, value=//td[@data-column-name='CARRIER']//button}
	at sun.reflect.GeneratedConstructorAccessor199.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.BasePage.getWebElementByXpath(BasePage.java:305)
	at Pages.Transport.AuctionFormPage.passTransportToCarrier(AuctionFormPage.java:79)
	at CucumberTests.Transport.AuctionTransport.passTransportToCarrierFromAuctionDetails(AuctionTransport.java:202)
	at ✽.Pass transport to carrier from auction details(file:Features/Atom/Mail/TransportTransferMail.feature:50)
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 167ms
After Hooks.cleanUserDetailsAfterTest() 245ms
Scenario Outline Check mail after creating new inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 165ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 329ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 266ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 133ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nowe zapytanie ofertowe" 3m 14s 977ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:33)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:64)
After Hooks.deleteTransportAfterTest() 125ms
After Hooks.cleanUserDetailsAfterTest() 307ms