Project Number Date
ApolloFullRunnerReport kapibary.24 01 cze 2021, 07:23

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackRemovedActionAuthorities 68 1 15 0 0 84 8 1 9 2m 42s 434ms Failed
View Feature Transport Form - Steps section scenarios
Given Set token of apiUsername "super-admin-skz" 264ms
And Add action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_LOAD_STEPS" "UNLIMITED" 319ms
And Remove action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "UNLIMITED" 035ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 074ms
When Login as "super-admin-skz" 8s 187ms
And Go to transport details "SMALLS_EXPORT" 4s 812ms
And Check if step is draggable "LOAD" 074ms
And Check if step is not draggable "UNLOAD" 060ms
After Hooks.deleteTransportAfterTest() 538ms
After Hooks.rollbackAddedActionAuthorities() 297ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 270ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 2s 855ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 331ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 676ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 7s 479ms
When Go to "TRANSPORT_TABLE" 443ms
And Go to transport details "DELIVERY" 4s 843ms
Then Verify that "transport-description" in transport form is disabled 065ms
After Hooks.deleteTransportAfterTest() 770ms
After Hooks.rollbackRemovedActionAuthorities() 300ms
After Hooks.rollbackWarehousesAccess() 890ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 273ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 320ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 857ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 7s 322ms
And Show all transport "false" 154ms
When Go to "TRANSPORT_TABLE" 592ms
And Go to transport details "DELIVERY" 4s 958ms
Then Verify that "CARRIER" in transport form is not visible 15s 025ms
After Hooks.deleteTransportAfterTest() 912ms
After Hooks.rollbackRemovedActionAuthorities() 322ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 291ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 330ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 047ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 439ms
And Show all transport "false" 165ms
When Go to "TRANSPORT_TABLE" 424ms
And Go to transport details "TRANSPORT" 4s 890ms
Then Verify that "CARRIER" in transport form is not visible 15s 031ms
After Hooks.deleteTransportAfterTest() 532ms
After Hooks.rollbackRemovedActionAuthorities() 298ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 269ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 314ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 322ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 007ms
And Show all transport "true" 289ms
When Go to "TRANSPORT_TABLE" 314ms
And Go to transport details "TRANSPORT_ORDER" 4s 826ms
Then Verify that "CARRIER" in transport form is not visible 15s 055ms
After Hooks.deleteTransportAfterTest() 534ms
After Hooks.rollbackRemovedActionAuthorities() 343ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 277ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 316ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 350ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 2s 917ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 7s 851ms
And Show all transport "false" 154ms
When Go to "TRANSPORT_TABLE" 624ms
And Go to transport details "DELIVERY" 5s 059ms
Then Verify that "CARRIER" in transport form is disabled 080ms
After Hooks.deleteTransportAfterTest() 786ms
After Hooks.rollbackAddedActionAuthorities() 294ms
After Hooks.rollbackRemovedActionAuthorities() 293ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 262ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 322ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 036ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 127ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 229ms
And Show all transport "false" 152ms
When Go to "TRANSPORT_TABLE" 428ms
And Go to transport details "TRANSPORT" 4s 888ms
Then Verify that "CARRIER" in transport form is disabled 091ms
After Hooks.deleteTransportAfterTest() 527ms
After Hooks.rollbackAddedActionAuthorities() 319ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 247ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 326ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 031ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 179ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 3s 929ms
And Show all transport "true" 301ms
When Go to "TRANSPORT_TABLE" 399ms
And Go to transport details "TRANSPORT_ORDER" 4s 833ms
Then Verify that "CARRIER" in transport form is disabled 087ms
After Hooks.deleteTransportAfterTest() 540ms
After Hooks.rollbackAddedActionAuthorities() 284ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if user can add description to archived transport
Steps
Given Set token of apiUsername "super-admin-adama" 256ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 348ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor188.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/TransportForm/TransportForm.feature:234)
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 000ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 000ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 000ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 000ms
When Find transport in table with status "planned" 000ms
And Confirm statuses until reach "process-ended" 000ms
And Wait "90" seconds 000ms
And Go to "ARCHIVE_TAB" 000ms
And Show "DELIVERY" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Wait "7" seconds 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "transport-description" in transport has value "opis" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.rollbackAddedActionAuthorities() 000ms
After Hooks.rollbackRemovedActionAuthorities() 000ms