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

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackRemovedActionAuthorities 72 2 10 0 0 84 7 2 9 4m 44s 563ms Failed
View Feature Transport Form - Steps section scenarios
Given Set token of apiUsername "super-admin-skz" 114ms
And Add action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_LOAD_STEPS" "UNLIMITED" 045ms
And Remove action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "UNLIMITED" 009ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 250ms
When Login as "super-admin-skz" 2s 146ms
And Go to transport details "SMALLS_EXPORT" 4s 529ms
And Check if step is draggable "LOAD" 032ms
And Check if step is not draggable "UNLOAD" 022ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.rollbackAddedActionAuthorities() 031ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 107ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 381ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 041ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 155ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 2s 349ms
When Go to "TRANSPORT_TABLE" 188ms
And Go to transport details "DELIVERY" 4s 684ms
Then Verify that "transport-description" in transport form is disabled 029ms
After Hooks.deleteTransportAfterTest() 138ms
After Hooks.rollbackRemovedActionAuthorities() 044ms
After Hooks.rollbackWarehousesAccess() 164ms
View Feature Transport form
Scenario Outline Check if user can't see `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 114ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 049ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 086ms
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/TransportForm/TransportForm.feature:185)
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is not visible 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.rollbackRemovedActionAuthorities() 052ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 117ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 046ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 207ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 366ms
And Show all transport "false" 004ms
When Go to "TRANSPORT_TABLE" 125ms
And Go to transport details "TRANSPORT" 4s 462ms
Then Verify that "CARRIER" in transport form is not visible 15s 012ms
After Hooks.deleteTransportAfterTest() 095ms
After Hooks.rollbackRemovedActionAuthorities() 034ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 113ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 040ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 233ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 506ms
And Show all transport "true" 069ms
When Go to "TRANSPORT_TABLE" 110ms
And Go to transport details "TRANSPORT_ORDER" 4s 482ms
Then Verify that "CARRIER" in transport form is not visible 15s 021ms
After Hooks.deleteTransportAfterTest() 066ms
After Hooks.rollbackRemovedActionAuthorities() 044ms
View Feature Transport form
Scenario Outline Check if user can't edit `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 113ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 043ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 038ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 107ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.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/TransportForm/TransportForm.feature:219)
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is disabled 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAddedActionAuthorities() 024ms
After Hooks.rollbackRemovedActionAuthorities() 038ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 114ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 044ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 008ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 205ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 460ms
And Show all transport "false" 004ms
When Go to "TRANSPORT_TABLE" 118ms
And Go to transport details "TRANSPORT" 4s 517ms
Then Verify that "CARRIER" in transport form is disabled 029ms
After Hooks.deleteTransportAfterTest() 079ms
After Hooks.rollbackAddedActionAuthorities() 036ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 116ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 042ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 007ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 243ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 505ms
And Show all transport "true" 093ms
When Go to "TRANSPORT_TABLE" 112ms
And Go to transport details "TRANSPORT_ORDER" 4s 443ms
Then Verify that "CARRIER" in transport form is disabled 027ms
After Hooks.deleteTransportAfterTest() 069ms
After Hooks.rollbackAddedActionAuthorities() 035ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 114ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 279ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 045ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 040ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 040ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 375ms
When Find transport in table with status "planned" 3s 304ms
And Confirm statuses until reach "process-ended" 21s 543ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 299ms
And Show "DELIVERY" 084ms
And Go to transport details "DELIVERY" 32s 382ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 325ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 637ms
And Wait "7" seconds 7s
And Go to transport details "DELIVERY" 32s 393ms
Then Verify that "transport-description" in transport has value "opis" 032ms
After Hooks.deleteTransportAfterTest() 103ms
After Hooks.rollbackAddedActionAuthorities() 037ms
After Hooks.rollbackRemovedActionAuthorities() 093ms