Project Number Date
ApolloFullRunnerReport apollo-test-2.87 20 lip 2021, 04:12

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 8m 23s 099ms Failed
Feature Transfer transport to carrier
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 673ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 226ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 28s 447ms
And If user is login then logout 297ms
And Login as "paa1-carrier@qa.qa-test" 2s 490ms
Then Verify that the transport has been transferred with "true" 2s 593ms
After Hooks.deleteTransportAfterTest() 10s 191ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 511ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 115ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 21s 712ms
And If user is login then logout 297ms
And Login as "paa1-carrier@qa.qa-test" 2s 691ms
Then Verify that the transport has been transferred with "false" 2s 332ms
After Hooks.deleteTransportAfterTest() 10s 205ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 654ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 149ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 31s 334ms
And If user is login then logout 280ms
And Login as "pskza1-carrier@qa.qa-test" 2s 773ms
Then Verify that the transport has been transferred 4s 259ms
After Hooks.deleteTransportAfterTest() 10s 189ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 719ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 182ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 21s 493ms
And If user is login then logout 289ms
And Login as "pskza1-carrier@qa.qa-test" 2s 369ms
Then Verify that the transport has been transferred 3s 964ms
After Hooks.deleteTransportAfterTest() 10s 190ms
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" 2s 723ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 689ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 966ms
And Go to auction offer 1s 560ms
When Offer "1000" 380ms
And Verify that offer with "1000" has been added to auction 3s 084ms
And If user is login then logout 234ms
And Login as "swisskrono-admin" 2s 618ms
Then Go to auction details 4s 170ms
And Pass transport to carrier from auction details 15s 049ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//table[contains(@class, 'offers-table')]//button[@data-field-name='transfer-button']"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.0siZ5s}, 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: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//table[contains(@class, 'offers-table')]//button[@data-field-name='transfer-button']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.Transport.AuctionFormPage.passTransportToCarrier(AuctionFormPage.java:75)
	at CucumberTests.Transport.AuctionTransport.passTransportToCarrierFromAuctionDetails(AuctionTransport.java:204)
	at ✽.Pass transport to carrier from auction details(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:46)
And If user is login then logout 000ms
And Login as "pskza1-carrier@qa.qa-test" 000ms
And Verify that the transport has been transferred 000ms
After Hooks.deleteTransportAfterTest() 10s 098ms
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" 2s 816ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 698ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 970ms
And Go to auction offer 1s 572ms
When Offer "1000" 389ms
And Verify that offer with "1000" has been added to auction 3s 076ms
And Wait till auction end 1m 52s 014ms
And If user is login then logout 295ms
Then Login as "swisskrono-admin" 3s 032ms
And Go to auction details 4s 404ms
And Pass transport to carrier from auction details 15s 096ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//table[contains(@class, 'offers-table')]//button[@data-field-name='transfer-button']"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.0siZ5s}, 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: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//table[contains(@class, 'offers-table')]//button[@data-field-name='transfer-button']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.Transport.AuctionFormPage.passTransportToCarrier(AuctionFormPage.java:75)
	at CucumberTests.Transport.AuctionTransport.passTransportToCarrierFromAuctionDetails(AuctionTransport.java:204)
	at ✽.Pass transport to carrier from auction details(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:66)
And If user is login then logout 000ms
And Login as "pskza1-carrier@qa.qa-test" 000ms
And Verify that the transport has been transferred 000ms
After Hooks.deleteTransportAfterTest() 10s 114ms
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" 2s 886ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 208ms
And Go to "TRANSPORT_TABLE" 397ms
When Open transport transfer modal 2s 193ms
Then Verify that all enabled companies from "swisskrono" are shown in select 494ms
java.lang.AssertionError: Dostępne firmy w polu wyboru nie zgadzają się z oczekiwanymi! expected:<[Firma automaty, Firma automaty nowaXXX, Firma automaty, Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2]> but was:<[Firma automaty, Firma automaty, Firma automaty nowaXXX, Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2]>
	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() 10s 085ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 276ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 964ms
And Login as "adama-admin" 2s 399ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 235ms
And Go to "TRANSPORT_TABLE" 1s 288ms
When Open transport transfer modal 1s 838ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 266ms
After Hooks.deleteTransportAfterTest() 10s 085ms
After Hooks.rollbackRejectedSections() 458ms
Scenario Outline Check if transport is not visible to carrier after expiring of time to accept transport [A-7037]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 664ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 102ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 21s 774ms
And If user is login then logout 608ms
When Login as "paa1-carrier@qa.qa-test" 5s 209ms
And Verify that the transport has been transferred with "true" 2s 482ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 105ms
java.lang.AssertionError: Transport jest nadal widoczny dla przewoźnika
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Transport.TransferTransportTest.verifyIfTransportIsNotVisibleToCarrierAfterExpiringTimeToAcceptTransport(TransferTransportTest.java:98)
	at ✽.Verify if transport is not visible to carrier after expiring time to accept transport(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:107)
After Hooks.deleteTransportAfterTest() 10s 188ms