Project Number Date
ApolloFullRunnerReport develop.371 07 kwi 2021, 19:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transfer transport to carrier 61 4 6 0 0 71 5 4 9 7m 6s 243ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 111ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 222ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 160ms
And If user is login then logout 106ms
And Login as "paa1-carrier@qa.qa-test" 1s 114ms
Then Verify that the transport has been transferred with "true" 1s 206ms
After Hooks.deleteTransportAfterTest() 070ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 034ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 225ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 209ms
And If user is login then logout 119ms
And Login as "paa1-carrier@qa.qa-test" 1s 233ms
Then Verify that the transport has been transferred with "false" 1s 198ms
After Hooks.deleteTransportAfterTest() 077ms
Scenario Outline Check if it is possible to transfer transport to carrier - without confirmation checkbox
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 031ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 198ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 13s 696ms
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.xf5gDH}, 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: f72ba6814e35b8d4699ea9d0576024e5
	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/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() 060ms
Scenario Outline Check if it is possible to transfer transport to carrier - without confirmation checkbox
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 155ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 213ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 13s 675ms
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.xf5gDH}, 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: f72ba6814e35b8d4699ea9d0576024e5
	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/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() 074ms
Scenario Outline Check if it is possible to pass transport to carrier during auction
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 087ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 206ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 163ms
And Go to auction offer 1s 228ms
When Offer "1000" 142ms
And Verify that offer with "1000" has been added to auction 3s 039ms
And If user is login then logout 095ms
And Login as "swisskrono-admin" 1s 256ms
Then Go to auction details 1s 201ms
And Pass transport to carrier from auction details 1s 264ms
And If user is login then logout 419ms
And Login as "pskza1-carrier@qa.qa-test" 1s 180ms
And Verify that the transport has been transferred 16s 105ms
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() 107ms
Scenario Outline Check if it is possible to pass transport to carrier when auction is finished
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 128ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 225ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 103ms
And Go to auction offer 1s 197ms
When Offer "1000" 126ms
And Verify that offer with "1000" has been added to auction 3s 037ms
And Wait till auction end 1m 54s 017ms
And If user is login then logout 121ms
Then Login as "swisskrono-admin" 1s 641ms
And Go to auction details 1s 205ms
And Pass transport to carrier from auction details 1s 153ms
And If user is login then logout 547ms
And Login as "pskza1-carrier@qa.qa-test" 1s 128ms
And Verify that the transport has been transferred 16s 069ms
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() 142ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 264ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 227ms
And Go to "TRANSPORT_TABLE" 143ms
When Open transport transfer modal 1s 252ms
Then Verify that all enabled companies from "swisskrono" are shown in select 133ms
After Hooks.deleteTransportAfterTest() 076ms
Given Set token of apiUsername "super-admin-adama" 098ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 479ms
And Login as "adama-admin" 986ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 295ms
And Go to "TRANSPORT_TABLE" 139ms
When Open transport transfer modal 1s 240ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 097ms
After Hooks.deleteTransportAfterTest() 090ms
After Hooks.rollbackRejectedSections() 100ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 997ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 193ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 248ms
And If user is login then logout 115ms
When Login as "paa1-carrier@qa.qa-test" 3s 020ms
And Verify that the transport has been transferred with "true" 1s 241ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 059ms
After Hooks.deleteTransportAfterTest() 119ms