Project Number Date
ApolloFullRunnerReport develop.287 31 sty 2021, 04:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Edit transport using pencil 85 3 9 0 0 97 10 3 13 5m 1s 031ms Failed
Feature Edit transport using pencil
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 901ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 493ms
And Show all transport "false" 007ms
When Find transport pencil button in transports table 1s 202ms
And Click pencil and move transport to next day in schedule 16s 760ms
Then Check if transport is in new location in schedule 2s 117ms
And Check if dates in transport form are correct 3s 433ms
After Hooks.deleteTransportAfterTest() 2s 185ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 136ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 383ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 212ms
And Click pencil and move transport to next day in schedule 16s 637ms
Then Check if transport is in new location in schedule 2s 116ms
And Check if dates in transport form are correct 3s 406ms
After Hooks.deleteTransportAfterTest() 099ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 136ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 369ms
And Show all transport "false" 007ms
When Find transport pencil button in transports table 1s 167ms
And Click pencil and move transport to next day in schedule 16s 803ms
Then Check if transport is in new location in schedule 2s 136ms
And Check if dates in transport form are correct 3s 397ms
After Hooks.deleteTransportAfterTest() 090ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 147ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 363ms
And Show all transport "false" 011ms
When Find transport pencil button in transports table 1s 227ms
And Click pencil and move transport to next day in schedule 16s 309ms
Then Check if transport is in new location in schedule 2s 116ms
And Check if dates in transport form are correct 3s 386ms
After Hooks.deleteTransportAfterTest() 103ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 192ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 285ms
And Show all transport "false" 011ms
When Find transport pencil button in transports table 1s 239ms
And Click pencil and move transport to next day in schedule 16s 256ms
Then Check if transport is in new location in schedule 2s 119ms
And Check if dates in transport form are correct 3s 348ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 180ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-alrec" 1s 452ms
And Show all transport "true" 096ms
When Find transport pencil button in transports table 1s 252ms
And Click pencil and move transport to next day in schedule 16s 431ms
Then Check if transport is in new location in schedule 2s 116ms
And Check if dates in transport form are correct 3s 398ms
After Hooks.deleteTransportAfterTest() 104ms
Scenario Outline Check if it possible to add advice by advice button in transport table and edit transport by pencil
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 196ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 202ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
When Show all transport types 1s 046ms
And Click button advice in transport table "DELIVERY" 139ms
And Set advice window in schedule 2s 611ms
And Fill advice form 8s 399ms
And Click advice save button and wait for advice form to disappear 30s 740ms
And Go to "TRANSPORT_TABLE" 210ms
And Find transport pencil button in transports table 1s 220ms
And Click pencil and move transport to next day in schedule 3s 855ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[contains(@class, 'btn btn-primary save-advice-button')] (tried for 2 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.wQgCXl}, 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=88.0.4324.96, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: dd0ed3e47289deb7c995af0fd11974ed
	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:201)
	at Pages.Schedule.SchedulePage.moveTransportToNextDayUsingPencilButton(SchedulePage.java:231)
	at CucumberTests.AdviceEdition.PencilEdition.clickInPencilAndMoveAdviceWindowInNewLocationInSchedule(PencilEdition.java:44)
	at ✽.Click pencil and move transport to next day in schedule(file:Features/Atom/Transport/PencilEdition.feature:33)
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 3s 503ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 555ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 495ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 226ms
And Click pencil and move transport to next day in schedule 16s 805ms
And Move advice window "3" 1s 348ms
Then Check if advice window is in new location 014ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 118ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 407ms
And Show all transport "false" 007ms
When Find transport pencil button in transports table 1s 191ms
And Click pencil and move transport to next day in schedule 16s 631ms
And Move advice window "3" 1s 384ms
Then Check if advice window is in new location 024ms
After Hooks.deleteTransportAfterTest() 112ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 066ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 083ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.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.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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:65)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:77)
	at ✽.Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 002ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 115ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 327ms
And Show all transport "false" 004ms
When Find transport pencil button in transports table 1s 178ms
And Click pencil and move transport to next day in schedule 2s 813ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[contains(@class, 'btn btn-primary save-advice-button')] (tried for 2 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-128-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.wQgCXl}, 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=88.0.4324.96, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: dd0ed3e47289deb7c995af0fd11974ed
	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:201)
	at Pages.Schedule.SchedulePage.moveTransportToNextDayUsingPencilButton(SchedulePage.java:231)
	at CucumberTests.AdviceEdition.PencilEdition.clickInPencilAndMoveAdviceWindowInNewLocationInSchedule(PencilEdition.java:44)
	at ✽.Click pencil and move transport to next day in schedule(file:Features/Atom/Transport/PencilEdition.feature:46)
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 3s 155ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 022ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 360ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 223ms
And Click pencil and move transport to next day in schedule 16s 258ms
And Move advice window "3" 1s 344ms
Then Check if advice window is in new location 025ms
After Hooks.deleteTransportAfterTest() 124ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 226ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 303ms
And Show all transport "true" 085ms
When Find transport pencil button in transports table 1s 240ms
And Click pencil and move transport to next day in schedule 16s 332ms
And Move advice window "3" 1s 358ms
Then Check if advice window is in new location 019ms
After Hooks.deleteTransportAfterTest() 096ms