Project Number Date
ApolloFullRunnerReport kapibary.43 15 cze 2021, 06:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 101 3 8 0 0 112 13 3 16 5m 46s 820ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 634ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 855ms
When Go to "TRANSPORT_TABLE" 326ms
And Show all transport types 1s 114ms
And Verify that transport has "0" files 071ms
Then Add file to transport by API 2s 210ms
And Verify that transport has "1" files 2s 135ms
After Hooks.deleteTransportAfterTest() 620ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 439ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 877ms
When Go to "TRANSPORT_TABLE" 417ms
And Show all transport types 1s 171ms
And Verify that transport has "0" files 084ms
Then Add file to transport by API 1s 397ms
And Verify that transport has "1" files 1s 719ms
After Hooks.deleteTransportAfterTest() 476ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 852ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 920ms
When Go to "TRANSPORT_TABLE" 440ms
And Show all transport types 1s 141ms
And Verify that transport has "0" files 074ms
Then Add file to transport by API 1s 362ms
And Verify that transport has "1" files 1s 058ms
After Hooks.deleteTransportAfterTest() 943ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 542ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 939ms
When Go to "TRANSPORT_TABLE" 410ms
And Show all transport types 1s 154ms
And Verify that transport has "0" files 080ms
Then Add file to transport by API 1s 200ms
And Verify that transport has "1" files 284ms
After Hooks.deleteTransportAfterTest() 482ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 452ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 971ms
And Delete transport 17s 989ms
When Go to "ARCHIVE_TAB" 478ms
And Show "DELIVERY" 119ms
And Verify that transport has "0" files 2s 375ms
Then Add file to transport 340ms
And Verify that transport has "1" files 1s 626ms
After Hooks.deleteTransportAfterTest() 548ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 577ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 867ms
And Delete transport 18s 438ms
When Go to "ARCHIVE_TAB" 563ms
And Show "LOAD" 209ms
And Verify that transport has "0" files 3s 141ms
Then Add file to transport 404ms
And Verify that transport has "1" files 1s 392ms
After Hooks.deleteTransportAfterTest() 472ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 973ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 921ms
And Delete transport 18s 983ms
When Go to "ARCHIVE_TAB" 494ms
And Show "DELIVERY" 162ms
And Verify that transport has "0" files 3s 246ms
Then Add file to transport 321ms
And Verify that transport has "1" files 1s 576ms
After Hooks.deleteTransportAfterTest() 642ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 555ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 2s 049ms
And Delete transport 18s 390ms
When Go to "ARCHIVE_TAB" 550ms
And Show "CONTAINER" 182ms
And Verify that transport has "0" files 3s 337ms
Then Add file to transport 418ms
And Verify that transport has "1" files 1s 398ms
After Hooks.deleteTransportAfterTest() 483ms
Scenario Outline Check that the file is added to the transport after carrier acceptance when the transport has been passed to the carrier
Steps
Given Set token of apiUsername "super-admin-adama" 268ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 886ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 577ms
And Accept transferred transport by Api 005ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:117)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:107)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Transport/File.feature:41)
And Login as "paa1-carrier@qa.qa-test" 000ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 748ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 655ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 286ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 771ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 875ms
After Hooks.deleteTransportAfterTest() 585ms
Given Set token of apiUsername "super-admin-adama" 281ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 077ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 827ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 533ms
And Login as "paa1-carrier@qa.qa-test" 2s 342ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 757ms
After Hooks.deleteTransportAfterTest() 557ms
Scenario Outline Check if it CMR documents are added to transport after creation
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 556ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 168ms
When Go to "TRANSPORT_TABLE" 402ms
And Show all transport "true" 345ms
Then Verify that transport has "1" CMR file 1s 555ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<1> but was:<2>
	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 "1" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 560ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 386ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 427ms
When Go to "TRANSPORT_TABLE" 387ms
And Show all transport "true" 407ms
Then Verify that transport has "2" CMR file 1s 583ms
After Hooks.deleteTransportAfterTest() 635ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 200ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 252ms
When Go to "TRANSPORT_TABLE" 303ms
And Show all transport "true" 289ms
Then Verify that "CMR" document can be downloaded 18s 721ms
After Hooks.deleteTransportAfterTest() 572ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 703ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 443ms
And Show all transport "true" 326ms
And Delete transport 19s 128ms
When Go to "ARCHIVE_TAB" 507ms
And Show "TRANSPORT_ORDER" 143ms
Then Verify that "CMR" document can be downloaded 20s 124ms
After Hooks.deleteTransportAfterTest() 538ms
Scenario Outline The link to the delivery document appears after confirming the respective status [A-6905]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 5s 891ms
And Create default accepted mode of transportation by API with "pba1-carrier" 1s 933ms
And If user is login then logout 282ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 700ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 2s 118ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 767ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 001ms
And Click button advice in transport table "LOAD_PL" 30s 183ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='ADVICE' and ancestor-or-self::*[@data-transport-type='LOAD_PL']]//button"}
  (Session info: headless chrome=91.0.4472.77)
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.jSOPAe}, 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: 3cfc5f7f4e1808bafe7ab0b4b47b656f
*** Element info: {Using=xpath, value=//td[@data-column-name='ADVICE' and ancestor-or-self::*[@data-transport-type='LOAD_PL']]//button}
	at sun.reflect.GeneratedConstructorAccessor187.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 CucumberTests.Transport.AdviceTransport.adviceTransport(AdviceTransport.java:69)
	at ✽.Click button advice in transport table "LOAD_PL"(file:Features/Atom/Transport/File.feature:115)
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "on-the-way" 000ms
Then Verify that "delivery_document" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 623ms
After Hooks.deleteModeOfTransportationAfterTest() 368ms