Project Number Date
ApolloFullRunnerReport kapibary.36 11 cze 2021, 04:41

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport table 52 3 5 0 0 60 6 3 9 4m 30s 237ms Failed
Feature Transport table
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 4s 477ms
And Create transport "CREATE_DELIVERY_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 2s 832ms
And Show all transport types 1s 152ms
Then Check if transport number is visible "DELIVERY" 15s 181ms
And Check if transport details is not visible 15s 077ms
After Hooks.deleteTransportAfterTest() 754ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 10s 362ms
And Show all transport "false" 157ms
And Go to "TRANSPORT_TABLE" 486ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 012ms
When Click on transport row 234ms
Then Verify if transport row is selected 081ms
After Hooks.deleteTransportAfterTest() 944ms
Scenario Outline Check if transport table row is selected
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 179ms
And Show all transport "false" 154ms
And Go to "TRANSPORT_TABLE" 470ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 397ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor189.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/TransportTable/TransportTable.feature:19)
When Click on transport row 000ms
Then Verify if transport row is selected 000ms
After Hooks.deleteTransportAfterTest() 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 4s 749ms
And Show all transport "false" 156ms
And Go to "TRANSPORT_TABLE" 984ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 16s 567ms
When Click on transport row 190ms
Then Verify if transport row is selected 097ms
After Hooks.deleteTransportAfterTest() 848ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 374ms
And Show all transport "false" 155ms
And Go to "TRANSPORT_TABLE" 462ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 737ms
When Click on transport row 158ms
Then Verify if transport row is selected 081ms
After Hooks.deleteTransportAfterTest() 838ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 871ms
And Show all transport "false" 157ms
And Go to "TRANSPORT_TABLE" 420ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 898ms
When Click on transport row 171ms
Then Verify if transport row is selected 102ms
After Hooks.deleteTransportAfterTest() 837ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 935ms
And Show all transport "true" 293ms
And Go to "TRANSPORT_TABLE" 387ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 583ms
When Click on transport row 174ms
Then Verify if transport row is selected 083ms
After Hooks.deleteTransportAfterTest() 780ms
Scenario Outline Check if correct row is selected after using closest date transport button [A-3790]
Steps
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 4s 929ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 17s 831ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 553ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 532ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 506ms
When Show closest date transport 255ms
Then Verify if "2" transport in table is selected 15s 087ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//tr[2][contains(@class,'checked-transport-row')]"}
  (Session info: headless chrome=91.0.4472.77)
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-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.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.b4yLL4}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 2262440b6002293542e73df875fde300
*** Element info: {Using=xpath, value=//tr[2][contains(@class,'checked-transport-row')]}
	at sun.reflect.GeneratedConstructorAccessor221.newInstance(Unknown Source)
	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.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyIfTransportInTableIsSelected(TransportTableTest.java:175)
	at ✽.Verify if "2" transport in table is selected(file:Features/Atom/Transport/TransportTable/TransportTable.feature:39)
After Hooks.deleteAllTransports() 1m 34s 067ms
Scenario Outline Check if orders are not multiplicated when creating by create similar button [A-7545]
Steps
Given Set token of apiUsername "super-admin-farmacol" 245ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 885ms
And Login as "farmacol-admin" 7s 035ms
And Show all transport types 1s 152ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 907ms
And Click create similar button 15s 251ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "super-admin-farmacol" 8s 591ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 338ms
Then Check if orders are not multiplicated when creating by create similar button 2s 077ms
java.lang.AssertionError: Tworząc nowy transport przez "Utworz podobne" w tabeli powinny być tylko 2 transporty. Widoczna ilość to: 4
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests._PerformanceTests.TransportTableTest.checkIfOrdersAreNotMultiplicatedWhenCreatingByCreateSimilarButton(TransportTableTest.java:191)
	at ✽.Check if orders are not multiplicated when creating by create similar button(file:Features/Atom/Transport/TransportTable/TransportTable.feature:54)
When Go to "WAREHOUSE_TAB" 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Check if orders are not multiplicated when creating by create similar button 000ms
After Hooks.deleteAllTransports() 1m 4s 460ms