Project Number Date
ApolloFullRunnerReport apollo-test-2.98 29 lip 2021, 06:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 83 4 11 0 0 98 11 4 15 4m 54s 229ms Failed
Feature Transport files
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 976ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 081ms
When Go to "TRANSPORT_TABLE" 404ms
And Show all transport types 1s 125ms
And Verify that transport has "0" files 081ms
Then Add file to transport by API 2s 116ms
And Verify that transport has "1" files 2s 090ms
After Hooks.deleteTransportAfterTest() 631ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 411ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 945ms
When Go to "TRANSPORT_TABLE" 347ms
And Show all transport types 1s 135ms
And Verify that transport has "0" files 096ms
Then Add file to transport by API 1s 402ms
And Verify that transport has "1" files 288ms
After Hooks.deleteTransportAfterTest() 563ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 719ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 123ms
When Go to "TRANSPORT_TABLE" 351ms
And Show all transport types 1s 151ms
And Verify that transport has "0" files 078ms
Then Add file to transport by API 1s 435ms
And Verify that transport has "1" files 487ms
After Hooks.deleteTransportAfterTest() 941ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 319ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 963ms
When Go to "TRANSPORT_TABLE" 411ms
And Show all transport types 1s 160ms
And Verify that transport has "0" files 067ms
Then Add file to transport by API 1s 669ms
And Verify that transport has "1" files 286ms
After Hooks.deleteTransportAfterTest() 559ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 454ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 968ms
And Delete transport 20s 833ms
When Go to "ARCHIVE_TAB" 576ms
And Show "DELIVERY" 152ms
And Verify that transport has "0" files 5s 751ms
Then Add file to transport 400ms
And Verify that transport has "1" files 1s 734ms
After Hooks.deleteTransportAfterTest() 572ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 629ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 929ms
And Delete transport 18s 452ms
When Go to "ARCHIVE_TAB" 541ms
And Show "LOAD" 203ms
And Verify that transport has "0" files 3s 891ms
Then Add file to transport 352ms
And Verify that transport has "1" files 1s 750ms
After Hooks.deleteTransportAfterTest() 500ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 954ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 115ms
And Delete transport 21s 424ms
When Go to "ARCHIVE_TAB" 554ms
And Show "DELIVERY" 132ms
And Verify that transport has "0" files 5s 594ms
Then Add file to transport 424ms
And Verify that transport has "1" files 1s 563ms
After Hooks.deleteTransportAfterTest() 688ms
Scenario Outline Check if it possible to add file to transport in archive
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 15s 716ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udało się załadować strony (tried for 10 second(s) with 500 MILLISECONDS interval)
	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.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.login(LoginPage.java:48)
	at Pages.LoginPage.loginAs(LoginPage.java:37)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper"(file:Features/Atom/Transport/File.feature:21)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@id='login-template']//input[@type='text']
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: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.login(LoginPage.java:48)
	at Pages.LoginPage.loginAs(LoginPage.java:37)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 000ms
And Delete transport 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "CONTAINER" 000ms
And Verify that transport has "0" files 000ms
Then Add file to transport 000ms
And Verify that transport has "1" files 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check that the file is added to the transport after carrier acceptance when the transport has been passed to the carrier
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-adama" 258ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 973ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 693ms
And Accept transferred transport by Api 781ms
And Login as "paa1-carrier@qa.qa-test" 283ms
org.openqa.selenium.WebDriverException: unknown error: net::ERR_NAME_NOT_RESOLVED
  (Session info: headless chrome=91.0.4472.164)
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.GxgvzN}, 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: 609527d1d4e5ac9ec9d931f6b622da30
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.get(RemoteWebDriver.java:310)
	at Pages.BasePage.load(BasePage.java:274)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:101)
	at CucumberTests.LoginTest.login_as(LoginTest.java:50)
	at ✽.Login as "paa1-carrier@qa.qa-test"(file:Features/Atom/Transport/File.feature:42)
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 520ms
Scenario Outline Check that the file is automatically added to the transport after the transport has been passed to the carrier
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 502ms
org.openqa.selenium.WebDriverException: unknown error: net::ERR_NAME_NOT_RESOLVED
  (Session info: headless chrome=91.0.4472.164)
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.GxgvzN}, 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: 609527d1d4e5ac9ec9d931f6b622da30
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.get(RemoteWebDriver.java:310)
	at Pages.BasePage.load(BasePage.java:274)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:101)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama"(file:Features/Atom/Transport/File.feature:50)
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 000ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 000ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 232ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 922ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 909ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 758ms
And Login as "paa1-carrier@qa.qa-test" 2s 717ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 699ms
After Hooks.deleteTransportAfterTest() 567ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 517ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 238ms
When Go to "TRANSPORT_TABLE" 353ms
And Show all transport "true" 215ms
Then Verify that transport has "1" CMR file 1s 511ms
After Hooks.deleteTransportAfterTest() 548ms
Scenario Outline Check if it CMR documents are added to transport after creation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 385ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 389ms
When Go to "TRANSPORT_TABLE" 386ms
And Show all transport "true" 247ms
Then Verify that transport has "2" CMR file 1s 630ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<2> but was:<4>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at CucumberTests.Transport.TransportFile.verifyThatTransportHasCMRFile(TransportFile.java:75)
	at ✽.Verify that transport has "2" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 577ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 347ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 407ms
When Go to "TRANSPORT_TABLE" 347ms
And Show all transport "true" 227ms
Then Verify that "CMR" document can be downloaded 19s 019ms
After Hooks.deleteTransportAfterTest() 563ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 616ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 425ms
And Show all transport "true" 217ms
And Delete transport 19s 123ms
When Go to "ARCHIVE_TAB" 475ms
And Show "TRANSPORT_ORDER" 155ms
Then Verify that "CMR" document can be downloaded 20s 423ms
After Hooks.deleteTransportAfterTest() 542ms