Project Number Date
ApolloFullRunnerReport kapibary.19 27 maj 2021, 08:37

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 102 3 7 0 0 112 13 3 16 6m 28s 523ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 694ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 942ms
When Go to "TRANSPORT_TABLE" 405ms
And Show all transport types 1s 152ms
And Verify that transport has "0" files 092ms
Then Add file to transport by API 1s 997ms
And Verify that transport has "1" files 2s 365ms
After Hooks.deleteTransportAfterTest() 535ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 559ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 922ms
When Go to "TRANSPORT_TABLE" 403ms
And Show all transport types 1s 158ms
And Verify that transport has "0" files 105ms
Then Add file to transport by API 1s 353ms
And Verify that transport has "1" files 281ms
After Hooks.deleteTransportAfterTest() 468ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 482ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 791ms
When Go to "TRANSPORT_TABLE" 397ms
And Show all transport types 1s 140ms
And Verify that transport has "0" files 075ms
Then Add file to transport by API 1s 372ms
And Verify that transport has "1" files 492ms
After Hooks.deleteTransportAfterTest() 781ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 737ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 945ms
When Go to "TRANSPORT_TABLE" 364ms
And Show all transport types 1s 144ms
And Verify that transport has "0" files 075ms
Then Add file to transport by API 1s 605ms
And Verify that transport has "1" files 2s 983ms
After Hooks.deleteTransportAfterTest() 525ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 449ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 014ms
And Delete transport 17s 971ms
When Go to "ARCHIVE_TAB" 555ms
And Show "DELIVERY" 150ms
And Verify that transport has "0" files 2s 709ms
Then Add file to transport 409ms
And Verify that transport has "1" files 1s 578ms
After Hooks.deleteTransportAfterTest() 627ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 3s 088ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 886ms
And Delete transport 18s 585ms
When Go to "ARCHIVE_TAB" 501ms
And Show "LOAD" 194ms
And Verify that transport has "0" files 3s 196ms
Then Add file to transport 401ms
And Verify that transport has "1" files 1s 656ms
After Hooks.deleteTransportAfterTest() 597ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 217ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 830ms
And Delete transport 21s 392ms
When Go to "ARCHIVE_TAB" 513ms
And Show "DELIVERY" 147ms
And Verify that transport has "0" files 5s 021ms
Then Add file to transport 433ms
And Verify that transport has "1" files 1s 526ms
After Hooks.deleteTransportAfterTest() 727ms
Scenario Outline Check if it possible to add file to transport in archive
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 766ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 890ms
And Delete transport 15s 611ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //td[contains(@data-column-name, 'IDENTIFIER') and contains(@data-transport-id, '217607190')]//button (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=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.vP8VUv}, 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=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 5c7164dfef1c3fbedda82ccba85f8e18
	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 CucumberTests.Transport.DeleteTransportTest.deleteTransport(DeleteTransportTest.java:32)
	at ✽.Delete transport(file:Features/Atom/Transport/File.feature:23)
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() 491ms
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" 292ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 149ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 599ms
And Accept transferred transport by Api 006ms
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() 731ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 718ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 446ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 838ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 199ms
After Hooks.deleteTransportAfterTest() 574ms
Given Set token of apiUsername "super-admin-adama" 236ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 066ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 852ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 702ms
And Login as "paa1-carrier@qa.qa-test" 2s 488ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 002ms
After Hooks.deleteTransportAfterTest() 527ms
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 814ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 248ms
When Go to "TRANSPORT_TABLE" 377ms
And Show all transport "true" 364ms
Then Verify that transport has "1" CMR file 1s 606ms
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() 520ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 387ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 379ms
When Go to "TRANSPORT_TABLE" 404ms
And Show all transport "true" 417ms
Then Verify that transport has "2" CMR file 1s 547ms
After Hooks.deleteTransportAfterTest() 566ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 475ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 321ms
When Go to "TRANSPORT_TABLE" 390ms
And Show all transport "true" 367ms
Then Verify that "CMR" document can be downloaded 18s 980ms
After Hooks.deleteTransportAfterTest() 528ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 865ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 330ms
And Show all transport "true" 325ms
And Delete transport 19s 229ms
When Go to "ARCHIVE_TAB" 470ms
And Show "TRANSPORT_ORDER" 141ms
Then Verify that "CMR" document can be downloaded 20s 222ms
After Hooks.deleteTransportAfterTest() 580ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 5s 256ms
And Create default accepted mode of transportation by API with "pba1-carrier" 1s 993ms
And If user is login then logout 281ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 776ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 2s 114ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 839ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 001ms
And Click button advice in transport table "LOAD_PL" 780ms
And Set advice window in schedule 3s 812ms
And Fill advice form 11s 643ms
And Click advice save button and wait for advice form to disappear 33s 435ms
And Find transport in table with status "advice-added" 3s 758ms
When Confirm statuses until reach "on-the-way" 13s 732ms
Then Verify that "delivery_document" document can be downloaded 17s 082ms
After Hooks.deleteTransportAfterTest() 843ms
After Hooks.deleteModeOfTransportationAfterTest() 382ms