Project Number Date
ApolloFullRunnerReport apollo-test-2.84 18 lip 2021, 04:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport files 82 5 11 0 0 98 10 5 15 5m 2s 382ms Failed
Feature Transport files
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 542ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 020ms
When Go to "TRANSPORT_TABLE" 373ms
And Show all transport types 1s 140ms
And Verify that transport has "0" files 090ms
Then Add file to transport by API 2s 111ms
And Verify that transport has "1" files 2s 320ms
After Hooks.deleteTransportAfterTest() 10s 098ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 853ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 2s 014ms
When Go to "TRANSPORT_TABLE" 428ms
And Show all transport types 1s 161ms
And Verify that transport has "0" files 284ms
Then Add file to transport by API 1s 362ms
And Verify that transport has "1" files 1s 782ms
After Hooks.deleteTransportAfterTest() 10s 092ms
Scenario Outline Check if it possible to add file to transport in transport table
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 899ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 568ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-19T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/File.feature:6)
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Verify that transport has "0" files 000ms
Then Add file to transport by API 000ms
And Verify that transport has "1" files 000ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 382ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 2s 001ms
When Go to "TRANSPORT_TABLE" 384ms
And Show all transport types 1s 138ms
And Verify that transport has "0" files 088ms
Then Add file to transport by API 1s 499ms
And Verify that transport has "1" files 439ms
After Hooks.deleteTransportAfterTest() 10s 116ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 574ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 059ms
And Delete transport 18s 116ms
When Go to "ARCHIVE_TAB" 477ms
And Show "DELIVERY" 140ms
And Verify that transport has "0" files 2s 617ms
Then Add file to transport 392ms
And Verify that transport has "1" files 1s 709ms
After Hooks.deleteTransportAfterTest() 10s 115ms
Before Hooks.showScenarioName(Scenario) 002ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 590ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 999ms
And Delete transport 20s 211ms
When Go to "ARCHIVE_TAB" 500ms
And Show "LOAD" 182ms
And Verify that transport has "0" files 1s 794ms
Then Add file to transport 389ms
And Verify that transport has "1" files 1s 633ms
After Hooks.deleteTransportAfterTest() 10s 193ms
Scenario Outline Check if it possible to add file to transport in archive
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 109ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 549ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-19T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/File.feature:22)
And Delete transport 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "DELIVERY" 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() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 297ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 989ms
And Delete transport 18s 330ms
When Go to "ARCHIVE_TAB" 477ms
And Show "CONTAINER" 170ms
And Verify that transport has "0" files 1s 029ms
Then Add file to transport 390ms
And Verify that transport has "1" files 1s 411ms
After Hooks.deleteTransportAfterTest() 10s 189ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 286ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 927ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 827ms
And Accept transferred transport by Api 663ms
And Login as "paa1-carrier@qa.qa-test" 2s 383ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 903ms
After Hooks.deleteTransportAfterTest() 10s 092ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 706ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 320ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 1s 050ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 880ms
After Hooks.deleteTransportAfterTest() 10s 096ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 234ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 053ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 987ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 682ms
And Login as "paa1-carrier@qa.qa-test" 2s 279ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 18s 167ms
After Hooks.deleteTransportAfterTest() 10s 089ms
Scenario Outline Check if it CMR documents are added to transport after creation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 523ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 299ms
When Go to "TRANSPORT_TABLE" 385ms
And Show all transport "true" 234ms
Then Verify that transport has "1" CMR file 16s 433ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<1> but was:<0>
	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() 10s 186ms
Scenario Outline Check if it CMR documents are added to transport after creation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 591ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 467ms
When Go to "TRANSPORT_TABLE" 407ms
And Show all transport "true" 307ms
Then Verify that transport has "2" CMR file 16s 462ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<2> but was:<0>
	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() 10s 195ms
Scenario Outline Check if it CMR document can be downloaded
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 769ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 467ms
When Go to "TRANSPORT_TABLE" 359ms
And Show all transport "true" 293ms
Then Verify that "CMR" document can be downloaded 541ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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.StkGj7}, 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: 6b533f8080c04f427f4c4895dd558f77
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:128)
	at CucumberTests.Transport.TransportFile.verifyThatDocumentCanBeDownloaded(TransportFile.java:83)
	at ✽.Verify that "CMR" document can be downloaded(file:Features/Atom/Transport/File.feature:88)
After Hooks.deleteTransportAfterTest() 10s 095ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 488ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 521ms
And Show all transport "true" 249ms
And Delete transport 19s 341ms
When Go to "ARCHIVE_TAB" 502ms
And Show "TRANSPORT_ORDER" 127ms
Then Verify that "CMR" document can be downloaded 18s 214ms
After Hooks.deleteTransportAfterTest() 10s 099ms