Project Number Date
ApolloFullRunnerReport refs/heads/develop.6 21 maj 2021, 04:17

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 33s 908ms Failed
Feature Transport files
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 527ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 937ms
When Go to "TRANSPORT_TABLE" 408ms
And Show all transport types 1s 155ms
And Verify that transport has "0" files 095ms
Then Add file to transport by API 2s 016ms
And Verify that transport has "1" files 2s 136ms
After Hooks.deleteTransportAfterTest() 613ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 448ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 895ms
When Go to "TRANSPORT_TABLE" 410ms
And Show all transport types 1s 148ms
And Verify that transport has "0" files 100ms
Then Add file to transport by API 1s 253ms
And Verify that transport has "1" files 338ms
After Hooks.deleteTransportAfterTest() 527ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 784ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 898ms
When Go to "TRANSPORT_TABLE" 442ms
And Show all transport types 1s 139ms
And Verify that transport has "0" files 101ms
Then Add file to transport by API 1s 368ms
And Verify that transport has "1" files 341ms
After Hooks.deleteTransportAfterTest() 883ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 420ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 943ms
When Go to "TRANSPORT_TABLE" 408ms
And Show all transport types 1s 155ms
And Verify that transport has "0" files 091ms
Then Add file to transport by API 1s 389ms
And Verify that transport has "1" files 3s 001ms
After Hooks.deleteTransportAfterTest() 576ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 418ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 977ms
And Delete transport 18s 012ms
When Go to "ARCHIVE_TAB" 542ms
And Show "DELIVERY" 145ms
And Verify that transport has "0" files 2s 711ms
Then Add file to transport 418ms
And Verify that transport has "1" files 2s 426ms
After Hooks.deleteTransportAfterTest() 581ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 594ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 871ms
And Delete transport 18s 574ms
When Go to "ARCHIVE_TAB" 561ms
And Show "LOAD" 214ms
And Verify that transport has "0" files 7s 125ms
Then Add file to transport 399ms
And Verify that transport has "1" files 1s 534ms
After Hooks.deleteTransportAfterTest() 488ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 021ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 882ms
And Delete transport 21s 511ms
When Go to "ARCHIVE_TAB" 558ms
And Show "DELIVERY" 150ms
And Verify that transport has "0" files 5s 552ms
Then Add file to transport 426ms
And Verify that transport has "1" files 1s 403ms
After Hooks.deleteTransportAfterTest() 745ms
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 561ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 928ms
And Delete transport 15s 689ms
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, '216326232')]//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/temp/buildTmp/.com.google.Chrome.ZP5UYX}, 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: 42b373e0960f8f697f316422a5af1e3a
	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() 540ms
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" 236ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 543ms
And Accept transferred transport by Api 011ms
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() 758ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 627ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 150ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 771ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 19s 395ms
After Hooks.deleteTransportAfterTest() 560ms
Given Set token of apiUsername "super-admin-adama" 245ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 001ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 807ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 447ms
And Login as "paa1-carrier@qa.qa-test" 2s 402ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 481ms
After Hooks.deleteTransportAfterTest() 538ms
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 560ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 182ms
When Go to "TRANSPORT_TABLE" 420ms
And Show all transport "true" 333ms
Then Verify that transport has "1" CMR file 1s 637ms
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() 558ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 405ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 320ms
When Go to "TRANSPORT_TABLE" 402ms
And Show all transport "true" 316ms
Then Verify that transport has "2" CMR file 1s 603ms
After Hooks.deleteTransportAfterTest() 620ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 353ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 348ms
When Go to "TRANSPORT_TABLE" 400ms
And Show all transport "true" 325ms
Then Verify that "CMR" document can be downloaded 18s 888ms
After Hooks.deleteTransportAfterTest() 554ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 605ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 314ms
And Show all transport "true" 321ms
And Delete transport 19s 125ms
When Go to "ARCHIVE_TAB" 538ms
And Show "TRANSPORT_ORDER" 145ms
Then Verify that "CMR" document can be downloaded 20s 325ms
After Hooks.deleteTransportAfterTest() 513ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 5s 186ms
And Create default accepted mode of transportation by API with "pba1-carrier" 1s 800ms
And If user is login then logout 279ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 5s 296ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 2s 162ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 723ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-bausch" 001ms
And Click button advice in transport table "LOAD_PL" 801ms
And Set advice window in schedule 3s 748ms
And Fill advice form 11s 518ms
And Click advice save button and wait for advice form to disappear 33s 328ms
And Find transport in table with status "advice-added" 3s 756ms
When Confirm statuses until reach "on-the-way" 13s 730ms
Then Verify that "delivery_document" document can be downloaded 18s 005ms
After Hooks.deleteTransportAfterTest() 776ms
After Hooks.deleteModeOfTransportationAfterTest() 352ms