Project Number Date
ApolloFullRunnerReport apollo-test-2.1 17 Jul 2021, 02:42

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 4m 19s 882ms Failed
Feature Transport files
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 178ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 345ms
When Go to "TRANSPORT_TABLE" 652ms
And Show all transport types 1s 032ms
And Verify that transport has "0" files 035ms
Then Add file to transport by API 500ms
And Verify that transport has "1" files 1s 248ms
After Hooks.deleteTransportAfterTest() 10s 037ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 091ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 343ms
When Go to "TRANSPORT_TABLE" 634ms
And Show all transport types 1s 036ms
And Verify that transport has "0" files 375ms
Then Add file to transport by API 212ms
And Verify that transport has "1" files 2s 780ms
After Hooks.deleteTransportAfterTest() 10s 034ms
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" 1s 405ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 106ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-18T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:We can not reserve a time slot of 30 minutes in the indicated place because the warehouse is already occupied during these hours. Please select another time or ramp., 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) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 066ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 454ms
When Go to "TRANSPORT_TABLE" 122ms
And Show all transport types 1s 035ms
And Verify that transport has "0" files 029ms
Then Add file to transport by API 284ms
And Verify that transport has "1" files 1s 144ms
After Hooks.deleteTransportAfterTest() 10s 030ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 183ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 368ms
And Delete transport 18s 514ms
When Go to "ARCHIVE_TAB" 248ms
And Show "DELIVERY" 057ms
And Verify that transport has "0" files 1s 357ms
Then Add file to transport 164ms
And Verify that transport has "1" files 396ms
After Hooks.deleteTransportAfterTest() 10s 031ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 255ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 389ms
And Delete transport 20s 146ms
When Go to "ARCHIVE_TAB" 259ms
And Show "LOAD" 441ms
And Verify that transport has "0" files 1s 903ms
Then Add file to transport 183ms
And Verify that transport has "1" files 364ms
After Hooks.deleteTransportAfterTest() 10s 042ms
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" 1s 447ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 092ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-18T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:We can not reserve a time slot of 30 minutes in the indicated place because the warehouse is already occupied during these hours. Please select another time or ramp., 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) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 059ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 437ms
And Delete transport 18s 052ms
When Go to "ARCHIVE_TAB" 221ms
And Show "CONTAINER" 074ms
And Verify that transport has "0" files 1s 998ms
Then Add file to transport 162ms
And Verify that transport has "1" files 402ms
After Hooks.deleteTransportAfterTest() 10s 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 095ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 237ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 132ms
And Accept transferred transport by Api 118ms
And Login as "paa1-carrier@qa.qa-test" 1s 182ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 607ms
After Hooks.deleteTransportAfterTest() 10s 036ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 349ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 388ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 175ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 16s 009ms
After Hooks.deleteTransportAfterTest() 10s 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 091ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 242ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 168ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 323ms
And Login as "paa1-carrier@qa.qa-test" 1s 410ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 15s 572ms
After Hooks.deleteTransportAfterTest() 10s 033ms
Scenario Outline Check if it CMR documents are added to transport after creation
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 136ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 336ms
When Go to "TRANSPORT_TABLE" 118ms
And Show all transport "true" 224ms
Then Verify that transport has "1" CMR file 16s 139ms
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 030ms
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" 1s 172ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 316ms
When Go to "TRANSPORT_TABLE" 137ms
And Show all transport "true" 232ms
Then Verify that transport has "2" CMR file 16s 175ms
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 046ms
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" 1s 140ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 337ms
When Go to "TRANSPORT_TABLE" 113ms
And Show all transport "true" 218ms
Then Verify that "CMR" document can be downloaded 15s 094ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //div[contains(a, 'CMR')]/a (tried for 3 second(s) with 500 MILLISECONDS interval)
	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.waitUntilElementClickable(BasePage.java:223)
	at CucumberTests.Transport.TransportFile.verifyThatDocumentCanBeDownloaded(TransportFile.java:81)
	at ✽.Verify that "CMR" document can be downloaded(file:Features/Atom/Transport/File.feature:88)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[contains(a, 'CMR')]/a
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-59-generic', java.version: '1.8.0_292'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:643)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:640)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:223)
	at CucumberTests.Transport.TransportFile.verifyThatDocumentCanBeDownloaded(TransportFile.java:81)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
After Hooks.deleteTransportAfterTest() 10s 030ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 124ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 1s 327ms
And Show all transport "true" 229ms
And Delete transport 17s 166ms
When Go to "ARCHIVE_TAB" 205ms
And Show "TRANSPORT_ORDER" 071ms
Then Verify that "CMR" document can be downloaded 16s 454ms
After Hooks.deleteTransportAfterTest() 10s 030ms