Project Number Date
ApolloFullRunnerReport develop.416 09 maj 2021, 06:40

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Edit transport using pencil 91 1 5 0 0 97 12 1 13 5m 35s 128ms Failed
Feature Edit transport using pencil
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 550ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 358ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 271ms
And Click pencil and move transport to next day in schedule 16s 975ms
Then Check if transport is in new location in schedule 2s 103ms
And Check if dates in transport form are correct 3s 452ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 153ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 306ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 238ms
And Click pencil and move transport to next day in schedule 16s 670ms
Then Check if transport is in new location in schedule 2s 133ms
And Check if dates in transport form are correct 3s 349ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 126ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 332ms
And Show all transport "false" 011ms
When Find transport pencil button in transports table 1s 265ms
And Click pencil and move transport to next day in schedule 16s 896ms
Then Check if transport is in new location in schedule 2s 122ms
And Check if dates in transport form are correct 3s 367ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 179ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 355ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 255ms
And Click pencil and move transport to next day in schedule 16s 340ms
Then Check if transport is in new location in schedule 2s 121ms
And Check if dates in transport form are correct 3s 356ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 181ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 364ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 248ms
And Click pencil and move transport to next day in schedule 16s 322ms
Then Check if transport is in new location in schedule 2s 108ms
And Check if dates in transport form are correct 3s 359ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 160ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-alrec" 1s 415ms
And Show all transport "true" 084ms
When Find transport pencil button in transports table 1s 256ms
And Click pencil and move transport to next day in schedule 16s 407ms
Then Check if transport is in new location in schedule 2s 120ms
And Check if dates in transport form are correct 3s 357ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 227ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 195ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
When Show all transport types 1s 044ms
And Click button advice in transport table "DELIVERY" 100ms
And Set advice window in schedule 2s 608ms
And Fill advice form 8s 330ms
And Click advice save button and wait for advice form to disappear 30s 700ms
And Go to "TRANSPORT_TABLE" 246ms
And Find transport pencil button in transports table 1s 227ms
And Click pencil and move transport to next day in schedule 17s 326ms
Then Check if transport is in new location in schedule 2s 136ms
And Check if dates in transport form are correct 3s 407ms
After Hooks.deleteTransportAfterTest() 141ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 519ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 097ms
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:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(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() 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 237ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 261ms
And Click pencil and move transport to next day in schedule 16s 716ms
And Move advice window "3" 1s 387ms
Then Check if advice window is in new location 024ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 138ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 304ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 245ms
And Click pencil and move transport to next day in schedule 16s 909ms
And Move advice window "3" 1s 554ms
Then Check if advice window is in new location 030ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 229ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 356ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 263ms
And Click pencil and move transport to next day in schedule 16s 313ms
And Move advice window "3" 1s 329ms
Then Check if advice window is in new location 024ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 146ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 351ms
And Show all transport "false" 012ms
When Find transport pencil button in transports table 1s 282ms
And Click pencil and move transport to next day in schedule 16s 354ms
And Move advice window "3" 1s 306ms
Then Check if advice window is in new location 023ms
After Hooks.deleteTransportAfterTest() 118ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 046ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 313ms
And Show all transport "true" 084ms
When Find transport pencil button in transports table 1s 225ms
And Click pencil and move transport to next day in schedule 16s 344ms
And Move advice window "3" 1s 356ms
Then Check if advice window is in new location 023ms
After Hooks.deleteTransportAfterTest() 108ms