Project Number Date
ApolloFullRunnerReport apollo-test-2.46 19 cze 2021, 05:43

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 52s 414ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 571ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 039ms
When Go to "TRANSPORT_TABLE" 423ms
And Show all transport types 1s 158ms
And Verify that transport has "0" files 090ms
Then Add file to transport by API 1s 564ms
And Verify that transport has "1" files 2s 584ms
After Hooks.deleteTransportAfterTest() 619ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 426ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 973ms
When Go to "TRANSPORT_TABLE" 405ms
And Show all transport types 1s 162ms
And Verify that transport has "0" files 076ms
Then Add file to transport by API 1s 472ms
And Verify that transport has "1" files 1s 709ms
After Hooks.deleteTransportAfterTest() 543ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 809ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 122ms
When Go to "TRANSPORT_TABLE" 410ms
And Show all transport types 1s 159ms
And Verify that transport has "0" files 077ms
Then Add file to transport by API 1s 403ms
And Verify that transport has "1" files 415ms
After Hooks.deleteTransportAfterTest() 913ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 425ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 965ms
When Go to "TRANSPORT_TABLE" 415ms
And Show all transport types 1s 159ms
And Verify that transport has "0" files 090ms
Then Add file to transport by API 1s 364ms
And Verify that transport has "1" files 3s 230ms
After Hooks.deleteTransportAfterTest() 513ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 407ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 967ms
And Delete transport 17s 861ms
When Go to "ARCHIVE_TAB" 549ms
And Show "DELIVERY" 145ms
And Verify that transport has "0" files 3s 648ms
Then Add file to transport 410ms
And Verify that transport has "1" files 1s 602ms
After Hooks.deleteTransportAfterTest() 614ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 567ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 957ms
And Delete transport 19s 828ms
When Go to "ARCHIVE_TAB" 549ms
And Show "LOAD" 199ms
And Verify that transport has "0" files 3s 059ms
Then Add file to transport 419ms
And Verify that transport has "1" files 1s 518ms
After Hooks.deleteTransportAfterTest() 593ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 978ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 860ms
And Delete transport 21s 516ms
When Go to "ARCHIVE_TAB" 587ms
And Show "DELIVERY" 144ms
And Verify that transport has "0" files 5s 324ms
Then Add file to transport 422ms
And Verify that transport has "1" files 1s 527ms
After Hooks.deleteTransportAfterTest() 793ms
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 577ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 938ms
And Delete transport 15s 742ms
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, '219986850')]//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.km0R6C}, 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.106, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 7cdba81576028913003193cb328e1667
	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() 591ms
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" 254ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 053ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 602ms
And Accept transferred transport by Api 016ms
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() 811ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 582ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 362ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 988ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 603ms
After Hooks.deleteTransportAfterTest() 593ms
Given Set token of apiUsername "super-admin-adama" 275ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 062ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 800ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 534ms
And Login as "paa1-carrier@qa.qa-test" 2s 325ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 17s 705ms
After Hooks.deleteTransportAfterTest() 582ms
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 697ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 225ms
When Go to "TRANSPORT_TABLE" 401ms
And Show all transport "true" 342ms
Then Verify that transport has "1" CMR file 1s 635ms
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() 609ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 419ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 428ms
When Go to "TRANSPORT_TABLE" 355ms
And Show all transport "true" 384ms
Then Verify that transport has "2" CMR file 1s 534ms
After Hooks.deleteTransportAfterTest() 581ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 227ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 270ms
When Go to "TRANSPORT_TABLE" 377ms
And Show all transport "true" 300ms
Then Verify that "CMR" document can be downloaded 20s 024ms
After Hooks.deleteTransportAfterTest() 613ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 662ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 341ms
And Show all transport "true" 326ms
And Delete transport 19s 086ms
When Go to "ARCHIVE_TAB" 564ms
And Show "TRANSPORT_ORDER" 148ms
Then Verify that "CMR" document can be downloaded 20s 468ms
After Hooks.deleteTransportAfterTest() 566ms