Project Number Date
ApolloFullRunnerReport develop.380 15 kwi 2021, 01:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Transfer Mail 32 2 2 0 0 36 3 2 5 5m 4s 798ms Failed
Feature Transport Transfer Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 193ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 216ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 229ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 228ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 7s 053ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 096ms
After Hooks.cleanUserDetailsAfterTest() 168ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 211ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 204ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 268ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 233ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zostało przekazane nowe zlecenie" 7s 031ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 098ms
After Hooks.cleanUserDetailsAfterTest() 185ms
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 328ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 168ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 212ms
And Transfer transport to carrier "Przewoźnik SKZ Automat 1" 13s 720ms
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=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.8ECiW3}, 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=89.0.4389.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 427d9d5a97b62dfab7a9866754a68cc7
	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.deleteTransportAfterTest() 091ms
After Hooks.cleanUserDetailsAfterTest() 262ms
Scenario Outline Check mail after loosing inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 228ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 289ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 244ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 254ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 252ms
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" 191ms
Then If user is login then logout 245ms
And Login as "swisskrono-admin" 1s 129ms
And Go to auction details 1s 199ms
And Pass transport to carrier from auction details 1s 251ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 15s 374ms
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.deleteTransportAfterTest() 191ms
After Hooks.cleanUserDetailsAfterTest() 3s 422ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 316ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 334ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 425ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 320ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nowe zapytanie ofertowe" 19s 441ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 093ms
After Hooks.cleanUserDetailsAfterTest() 253ms