Project Number Date
ApolloFullRunnerReport kapibary.35 10 cze 2021, 19:48

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 44s 930ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 622ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 133ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 893ms
And If user is login then logout 305ms
And Login as "paa1-carrier@qa.qa-test" 2s 782ms
Then Verify that the transport has been transferred with "true" 1s 788ms
After Hooks.deleteTransportAfterTest() 928ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 470ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 128ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 21s 033ms
And If user is login then logout 277ms
And Login as "paa1-carrier@qa.qa-test" 2s 840ms
Then Verify that the transport has been transferred with "false" 1s 772ms
After Hooks.deleteTransportAfterTest() 587ms
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" 2s 665ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 168ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 14s 783ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.VzIcGP}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 945534cbde99f8e8a8ebc35e8b36cb3e
	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:282)
	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() 676ms
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" 2s 740ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 151ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 14s 558ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.VzIcGP}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 945534cbde99f8e8a8ebc35e8b36cb3e
	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:282)
	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() 672ms
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" 2s 659ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 403ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 787ms
And Go to auction offer 1s 869ms
When Offer "1000" 380ms
And Verify that offer with "1000" has been added to auction 3s 100ms
And If user is login then logout 274ms
And Login as "swisskrono-admin" 2s 778ms
Then Go to auction details 1s 791ms
And Pass transport to carrier from auction details 1s 525ms
And If user is login then logout 1s 011ms
And Login as "pskza1-carrier@qa.qa-test" 2s 497ms
And Verify that the transport has been transferred 16s 198ms
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() 1s 204ms
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" 2s 741ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 311ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 861ms
And Go to auction offer 1s 606ms
When Offer "1000" 382ms
And Verify that offer with "1000" has been added to auction 3s 098ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 299ms
Then Login as "swisskrono-admin" 2s 905ms
And Go to auction details 2s 223ms
And Pass transport to carrier from auction details 1s 509ms
And If user is login then logout 6s 193ms
And Login as "pskza1-carrier@qa.qa-test" 2s 902ms
And Verify that the transport has been transferred 16s 207ms
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() 897ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 797ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 147ms
And Go to "TRANSPORT_TABLE" 483ms
When Open transport transfer modal 1s 645ms
Then Verify that all enabled companies from "swisskrono" are shown in select 301ms
After Hooks.deleteTransportAfterTest() 650ms
Given Set token of apiUsername "super-admin-adama" 269ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 699ms
And Login as "adama-admin" 2s 295ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 141ms
And Go to "TRANSPORT_TABLE" 406ms
When Open transport transfer modal 1s 630ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 238ms
After Hooks.deleteTransportAfterTest() 624ms
After Hooks.rollbackRejectedSections() 454ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 501ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 104ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 5s 708ms
And If user is login then logout 252ms
When Login as "paa1-carrier@qa.qa-test" 4s 797ms
And Verify that the transport has been transferred with "true" 1s 798ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 054ms
After Hooks.deleteTransportAfterTest() 693ms