Project Number Date
ApolloFullRunnerReport master.419 11 maj 2021, 22:24

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 9s 018ms 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 199ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 134ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 250ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 292ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 3m 13s 722ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:10)
After Hooks.cleanUserDetailsAfterTest() 154ms
After Hooks.deleteTransportAfterTest() 131ms
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 199ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 132ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 260ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 264ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zostało przekazane nowe zlecenie" 3m 14s 265ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:22)
After Hooks.cleanUserDetailsAfterTest() 161ms
After Hooks.deleteTransportAfterTest() 115ms
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 052ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 218ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 266ms
And Transfer transport to carrier "Przewoźnik SKZ Automat 1" 13s 691ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.kOQtfd}, 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=90.0.4430.93, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 956e8697bb7466c00b5148bf446d263b
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:198)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:278)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:43)
	at ✽.Transfer transport to carrier "Przewoźnik SKZ Automat 1"(file:Features/Atom/Mail/TransportTransferMail.feature:32)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 000ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 276ms
After Hooks.deleteTransportAfterTest() 091ms
Scenario Outline Check mail after loosing inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 275ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 217ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 316ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 137ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 276ms
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" 293ms
Then If user is login then logout 098ms
And Login as "swisskrono-admin" 1s 171ms
And Go to auction details 1s 210ms
And Pass transport to carrier from auction details 1s 256ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 13s 329ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:52)
After Hooks.cleanUserDetailsAfterTest() 209ms
After Hooks.deleteTransportAfterTest() 128ms
Scenario Outline Check mail after creating new inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 353ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 181ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 239ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 139ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nowe zapytanie ofertowe" 3m 12s 569ms
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:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:64)
After Hooks.cleanUserDetailsAfterTest() 211ms
After Hooks.deleteTransportAfterTest() 109ms