Project Number Date
ApolloFullRunnerReport apollo-test-2.53 24 cze 2021, 06:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 88 3 7 0 0 98 12 3 15 4m 58s 626ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 883ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 007ms
When Go to "TRANSPORT_TABLE" 315ms
And Show all transport types 1s 115ms
And Verify that transport has "0" files 064ms
Then Add file to transport by API 1s 982ms
And Verify that transport has "1" files 2s 438ms
After Hooks.deleteTransportAfterTest() 655ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 328ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 934ms
When Go to "TRANSPORT_TABLE" 339ms
And Show all transport types 1s 119ms
And Verify that transport has "0" files 081ms
Then Add file to transport by API 1s 799ms
And Verify that transport has "1" files 1s 478ms
After Hooks.deleteTransportAfterTest() 609ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 867ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 104ms
When Go to "TRANSPORT_TABLE" 389ms
And Show all transport types 1s 148ms
And Verify that transport has "0" files 080ms
Then Add file to transport by API 1s 366ms
And Verify that transport has "1" files 553ms
After Hooks.deleteTransportAfterTest() 1s 043ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 477ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 961ms
When Go to "TRANSPORT_TABLE" 390ms
And Show all transport types 1s 167ms
And Verify that transport has "0" files 101ms
Then Add file to transport by API 1s 740ms
And Verify that transport has "1" files 3s 188ms
After Hooks.deleteTransportAfterTest() 556ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 477ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 007ms
And Delete transport 20s 809ms
When Go to "ARCHIVE_TAB" 465ms
And Show "DELIVERY" 138ms
And Verify that transport has "0" files 3s 734ms
Then Add file to transport 351ms
And Verify that transport has "1" files 1s 801ms
After Hooks.deleteTransportAfterTest() 535ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 497ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 2s 008ms
And Delete transport 18s 670ms
When Go to "ARCHIVE_TAB" 507ms
And Show "LOAD" 206ms
And Verify that transport has "0" files 3s 645ms
Then Add file to transport 413ms
And Verify that transport has "1" files 1s 628ms
After Hooks.deleteTransportAfterTest() 612ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 059ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 109ms
And Delete transport 21s 479ms
When Go to "ARCHIVE_TAB" 536ms
And Show "DELIVERY" 130ms
And Verify that transport has "0" files 5s 118ms
Then Add file to transport 396ms
And Verify that transport has "1" files 1s 648ms
After Hooks.deleteTransportAfterTest() 760ms
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 793ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 965ms
And Delete transport 15s 676ms
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, '220991925')]//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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.7CIOVP}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: c8c7ae5e3278a2e9c6c89c673026655c
	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() 600ms
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" 270ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 085ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 630ms
And Accept transferred transport by Api 015ms
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:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	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() 802ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 714ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 476ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 881ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 408ms
After Hooks.deleteTransportAfterTest() 591ms
Given Set token of apiUsername "super-admin-adama" 233ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 126ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 839ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 596ms
And Login as "paa1-carrier@qa.qa-test" 2s 399ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 485ms
After Hooks.deleteTransportAfterTest() 639ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 718ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 303ms
When Go to "TRANSPORT_TABLE" 437ms
And Show all transport "true" 374ms
Then Verify that transport has "1" CMR file 1s 586ms
After Hooks.deleteTransportAfterTest() 629ms
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 417ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 491ms
When Go to "TRANSPORT_TABLE" 400ms
And Show all transport "true" 392ms
Then Verify that transport has "2" CMR file 1s 660ms
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() 643ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 444ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 461ms
When Go to "TRANSPORT_TABLE" 414ms
And Show all transport "true" 371ms
Then Verify that "CMR" document can be downloaded 19s 294ms
After Hooks.deleteTransportAfterTest() 673ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 609ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 466ms
And Show all transport "true" 323ms
And Delete transport 19s 219ms
When Go to "ARCHIVE_TAB" 525ms
And Show "TRANSPORT_ORDER" 144ms
Then Verify that "CMR" document can be downloaded 20s 697ms
After Hooks.deleteTransportAfterTest() 603ms