Project Number Date
ApolloFullRunnerReport 2021.AT1.30 01 sie 2021, 16:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transfer transport to carrier 60 5 6 0 0 71 4 5 9 7m 1s 763ms Failed
Feature Transfer transport to carrier
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 088ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 215ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 163ms
And If user is login then logout 097ms
And Login as "paa1-carrier@qa.qa-test" 1s 419ms
Then Verify that the transport has been transferred with "true" 1s 207ms
After Hooks.deleteTransportAfterTest() 112ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 963ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 207ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 158ms
And If user is login then logout 096ms
And Login as "paa1-carrier@qa.qa-test" 1s 388ms
Then Verify that the transport has been transferred with "false" 1s 119ms
After Hooks.deleteTransportAfterTest() 076ms
Scenario Outline Check if it is possible to transfer transport to carrier - without confirmation checkbox
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 057ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 236ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 13s 578ms
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: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-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-2/temp/buildTmp/.com.google.Chrome.zieG9z}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3a86796f70515d6343f238dd21b0f855
	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:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:43)
	at ✽.Transfer transport to carrier "Przewoźnik SKZ Automat 1"(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:26)
And If user is login then logout 000ms
And Login as "pskza1-carrier@qa.qa-test" 000ms
Then Verify that the transport has been transferred 000ms
After Hooks.deleteTransportAfterTest() 105ms
Scenario Outline Check if it is possible to transfer transport to carrier - without confirmation checkbox
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 170ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 236ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 13s 561ms
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: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-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-2/temp/buildTmp/.com.google.Chrome.zieG9z}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3a86796f70515d6343f238dd21b0f855
	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:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:43)
	at ✽.Transfer transport to carrier "Przewoźnik SKZ Automat 1"(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:26)
And If user is login then logout 000ms
And Login as "pskza1-carrier@qa.qa-test" 000ms
Then Verify that the transport has been transferred 000ms
After Hooks.deleteTransportAfterTest() 084ms
Scenario Outline Check if it is possible to pass transport to carrier during auction
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 158ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 310ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 096ms
And Go to auction offer 1s 186ms
When Offer "1000" 115ms
And Verify that offer with "1000" has been added to auction 3s 033ms
And If user is login then logout 089ms
And Login as "swisskrono-admin" 1s 137ms
Then Go to auction details 1s 184ms
And Pass transport to carrier from auction details 1s 235ms
And If user is login then logout 564ms
And Login as "pskza1-carrier@qa.qa-test" 1s 029ms
And Verify that the transport has been transferred 16s 097ms
java.lang.AssertionError: Nie znaleziono przycisków transakcji dla przekazanego transportu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.TransferTransportTest.checkIfTransportIsTransferred(TransferTransportTest.java:68)
	at CucumberTests.Transport.TransferTransportTest.verifyThatTheTransportHasBeenTransferred(TransferTransportTest.java:59)
	at ✽.Verify that the transport has been transferred(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:49)
After Hooks.deleteTransportAfterTest() 121ms
Scenario Outline Check if it is possible to pass transport to carrier when auction is finished
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 056ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 245ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 094ms
And Go to auction offer 1s 195ms
When Offer "1000" 110ms
And Verify that offer with "1000" has been added to auction 3s 040ms
And Wait till auction end 1m 54s 016ms
And If user is login then logout 387ms
Then Login as "swisskrono-admin" 1s 096ms
And Go to auction details 1s 183ms
And Pass transport to carrier from auction details 1s 255ms
And If user is login then logout 649ms
And Login as "pskza1-carrier@qa.qa-test" 947ms
And Verify that the transport has been transferred 16s 102ms
java.lang.AssertionError: Nie znaleziono przycisków transakcji dla przekazanego transportu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.TransferTransportTest.checkIfTransportIsTransferred(TransferTransportTest.java:68)
	at CucumberTests.Transport.TransferTransportTest.verifyThatTheTransportHasBeenTransferred(TransferTransportTest.java:59)
	at ✽.Verify that the transport has been transferred(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:69)
After Hooks.deleteTransportAfterTest() 085ms
Scenario Outline Check if enabled carriers are shown in transport transfer select
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 112ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 232ms
And Go to "TRANSPORT_TABLE" 129ms
When Open transport transfer modal 1s 232ms
Then Verify that all enabled companies from "swisskrono" are shown in select 137ms
java.lang.AssertionError: Dostępne firmy w polu wyboru nie zgadzają się z oczekiwanymi! expected:<[Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2, Przewoźnik SKZ Automat 3, Firma automaty nowaXXX]> but was:<[Firma automaty nowaXXX, Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2, Przewoźnik SKZ Automat 3]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at Pages.Transport.TransferFormPage.checkIfCompaniesAreAvailableInSelect(TransferFormPage.java:35)
	at CucumberTests.Transport.TransferTransportTest.verifyThatAllEnabledCompaniesFromAreShownInSelect(TransferTransportTest.java:86)
	at ✽.Verify that all enabled companies from "swisskrono" are shown in select(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:80)
After Hooks.deleteTransportAfterTest() 083ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 091ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 236ms
And Login as "adama-admin" 884ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 227ms
And Go to "TRANSPORT_TABLE" 110ms
When Open transport transfer modal 1s 224ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 090ms
After Hooks.deleteTransportAfterTest() 065ms
After Hooks.rollbackRejectedSections() 080ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 988ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 196ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 167ms
And If user is login then logout 097ms
When Login as "paa1-carrier@qa.qa-test" 1s 790ms
And Verify that the transport has been transferred with "true" 1s 185ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 039ms
After Hooks.deleteTransportAfterTest() 088ms