Project Number Date
ApolloFullRunnerReport kapibary.37 12 cze 2021, 04:30

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 31s 252ms Failed
Feature Transport table
Given Login as "lantmannen-guard-3" and set token of apiUsername "super-admin-lantmannen" 4s 509ms
And Create transport "CREATE_DELIVERY_NIEPORET_WAREHOUSE" by JSON file as "super-admin-lantmannen" 2s 814ms
And Show all transport types 1s 139ms
Then Check if transport number is visible "DELIVERY" 15s 147ms
And Check if transport details is not visible 15s 024ms
After Hooks.deleteTransportAfterTest() 712ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 10s 363ms
And Show all transport "false" 154ms
And Go to "TRANSPORT_TABLE" 601ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 064ms
When Click on transport row 213ms
Then Verify if transport row is selected 077ms
After Hooks.deleteTransportAfterTest() 940ms
Scenario Outline Check if transport table row is selected
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 090ms
And Show all transport "false" 157ms
And Go to "TRANSPORT_TABLE" 500ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 419ms
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() 000ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 4s 953ms
And Show all transport "false" 150ms
And Go to "TRANSPORT_TABLE" 401ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 16s 593ms
When Click on transport row 183ms
Then Verify if transport row is selected 098ms
After Hooks.deleteTransportAfterTest() 809ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 658ms
And Show all transport "false" 155ms
And Go to "TRANSPORT_TABLE" 454ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 828ms
When Click on transport row 161ms
Then Verify if transport row is selected 082ms
After Hooks.deleteTransportAfterTest() 867ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 469ms
And Show all transport "false" 162ms
And Go to "TRANSPORT_TABLE" 504ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 840ms
When Click on transport row 165ms
Then Verify if transport row is selected 081ms
After Hooks.deleteTransportAfterTest() 813ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 5s 009ms
And Show all transport "true" 330ms
And Go to "TRANSPORT_TABLE" 524ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 664ms
When Click on transport row 169ms
Then Verify if transport row is selected 080ms
After Hooks.deleteTransportAfterTest() 802ms
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 952ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 17s 955ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 726ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 663ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 624ms
When Show closest date transport 227ms
Then Verify if "2" transport in table is selected 15s 064ms
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.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.RU4hwZ}, 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: 50caafb0670514c05ead27b6beca997b
*** 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 309ms
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" 244ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 847ms
And Login as "farmacol-admin" 7s 477ms
And Show all transport types 1s 159ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 871ms
And Click create similar button 15s 301ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "super-admin-farmacol" 8s 683ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 371ms
Then Check if orders are not multiplicated when creating by create similar button 2s 080ms
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 115ms