Project Number Date
ApolloFullRunnerReport develop.283 27 sty 2021, 04:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Edit transport using pencil 89 2 6 0 0 97 11 2 13 5m 45s 992ms Failed
Feature Edit transport using pencil
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 119ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 342ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 235ms
And Click pencil and move transport to next day in schedule 16s 779ms
Then Check if transport is in new location in schedule 2s 113ms
And Check if dates in transport form are correct 3s 450ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 107ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 259ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 232ms
And Click pencil and move transport to next day in schedule 16s 654ms
Then Check if transport is in new location in schedule 2s 135ms
And Check if dates in transport form are correct 3s 398ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 115ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 291ms
And Show all transport "false" 012ms
When Find transport pencil button in transports table 1s 220ms
And Click pencil and move transport to next day in schedule 16s 832ms
Then Check if transport is in new location in schedule 2s 144ms
And Check if dates in transport form are correct 3s 336ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 109ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 305ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 208ms
And Click pencil and move transport to next day in schedule 16s 261ms
Then Check if transport is in new location in schedule 2s 101ms
And Check if dates in transport form are correct 3s 360ms
After Hooks.deleteTransportAfterTest() 097ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 171ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 313ms
And Show all transport "false" 011ms
When Find transport pencil button in transports table 1s 236ms
And Click pencil and move transport to next day in schedule 16s 254ms
Then Check if transport is in new location in schedule 2s 121ms
And Check if dates in transport form are correct 3s 424ms
After Hooks.deleteTransportAfterTest() 135ms
Scenario Outline Check if it possible to edit transport by pencil
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 175ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-alrec" 1s 419ms
And Show all transport "true" 086ms
When Find transport pencil button in transports table 1s 207ms
And Click pencil and move transport to next day in schedule 16s 346ms
Then Check if transport is in new location in schedule 17s 131ms
java.lang.AssertionError: Nie udało się odnaleźć okna w nowej lokalizacji
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:712)
	at CucumberTests.AdviceEdition.PencilEdition.checkIfAdviceWindowIsInNewLocationInSchedule(PencilEdition.java:51)
	at ✽.Check if transport is in new location in schedule(file:Features/Atom/Transport/PencilEdition.feature:10)
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 129ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 238ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 204ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
When Show all transport types 1s 048ms
And Click button advice in transport table "DELIVERY" 139ms
And Set advice window in schedule 2s 564ms
And Fill advice form 8s 357ms
And Click advice save button and wait for advice form to disappear 30s 701ms
And Go to "TRANSPORT_TABLE" 205ms
And Find transport pencil button in transports table 1s 233ms
And Click pencil and move transport to next day in schedule 17s 238ms
Then Check if transport is in new location in schedule 2s 122ms
And Check if dates in transport form are correct 3s 484ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 488ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 355ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 228ms
And Click pencil and move transport to next day in schedule 16s 761ms
And Move advice window "3" 1s 328ms
Then Check if advice window is in new location 024ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 024ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 286ms
And Show all transport "false" 009ms
When Find transport pencil button in transports table 1s 211ms
And Click pencil and move transport to next day in schedule 16s 607ms
And Move advice window "3" 1s 391ms
Then Check if advice window is in new location 027ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 108ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 345ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 221ms
And Click pencil and move transport to next day in schedule 16s 836ms
And Move advice window "3" 1s 389ms
Then Check if advice window is in new location 026ms
After Hooks.deleteTransportAfterTest() 121ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 125ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 333ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 208ms
And Click pencil and move transport to next day in schedule 16s 226ms
And Move advice window "3" 1s 318ms
Then Check if advice window is in new location 028ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 170ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 350ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 200ms
And Click pencil and move transport to next day in schedule 16s 235ms
And Move advice window "3" 1s 317ms
Then Check if advice window is in new location 026ms
After Hooks.deleteTransportAfterTest() 110ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 080ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 054ms
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:79)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "true" 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() 001ms