Project Number Date
ApolloFullRunnerReport develop.347 15 cze 2021, 22:44

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackRemovedActionAuthorities 67 3 14 0 0 84 6 3 9 4m 37s 001ms Failed
View Feature Transport Form - Steps section scenarios
Given Set token of apiUsername "super-admin-skz" 104ms
And Add action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_LOAD_STEPS" "UNLIMITED" 052ms
And Remove action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "UNLIMITED" 008ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 213ms
When Login as "super-admin-skz" 2s 677ms
And Go to transport details "SMALLS_EXPORT" 4s 601ms
And Check if step is draggable "LOAD" 019ms
And Check if step is not draggable "UNLOAD" 016ms
After Hooks.deleteTransportAfterTest() 095ms
After Hooks.rollbackAddedActionAuthorities() 047ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 100ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 545ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 108ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 118ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 4s 353ms
When Go to "TRANSPORT_TABLE" 198ms
And Go to transport details "DELIVERY" 5s 014ms
Then Verify that "transport-description" in transport form is disabled 022ms
After Hooks.deleteTransportAfterTest() 1s 098ms
After Hooks.rollbackRemovedActionAuthorities() 202ms
After Hooks.rollbackWarehousesAccess() 167ms
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" 373ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 282ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 165ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor199.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:87)
	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() 000ms
After Hooks.rollbackRemovedActionAuthorities() 081ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 206ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 092ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 162ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 345ms
And Show all transport "false" 050ms
When Go to "TRANSPORT_TABLE" 091ms
And Go to transport details "TRANSPORT" 4s 378ms
Then Verify that "CARRIER" in transport form is not visible 15s 039ms
After Hooks.deleteTransportAfterTest() 098ms
After Hooks.rollbackRemovedActionAuthorities() 050ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 149ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 039ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 234ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 961ms
And Show all transport "true" 089ms
When Go to "TRANSPORT_TABLE" 135ms
And Go to transport details "TRANSPORT_ORDER" 4s 788ms
Then Verify that "CARRIER" in transport form is not visible 15s 038ms
After Hooks.deleteTransportAfterTest() 183ms
After Hooks.rollbackRemovedActionAuthorities() 171ms
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" 106ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 032ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 039ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 082ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor199.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:87)
	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() 043ms
After Hooks.rollbackRemovedActionAuthorities() 039ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 109ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 041ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 004ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 186ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 351ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 103ms
And Go to transport details "TRANSPORT" 4s 387ms
Then Verify that "CARRIER" in transport form is disabled 021ms
After Hooks.deleteTransportAfterTest() 080ms
After Hooks.rollbackAddedActionAuthorities() 026ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 110ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 035ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 005ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 215ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 291ms
And Show all transport "true" 065ms
When Go to "TRANSPORT_TABLE" 113ms
And Go to transport details "TRANSPORT_ORDER" 4s 378ms
Then Verify that "CARRIER" in transport form is disabled 025ms
After Hooks.deleteTransportAfterTest() 066ms
After Hooks.rollbackAddedActionAuthorities() 032ms
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" 099ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 228ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 036ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 034ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 037ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 410ms
When Find transport in table with status "planned" 3s 288ms
And Confirm statuses until reach "process-ended" 22s 188ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 239ms
And Show "DELIVERY" 065ms
And Go to transport details "DELIVERY" 1m 834ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 15s 042ms
java.lang.AssertionError: Nie można wypełnić pola transport-description, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "transport-description" "text" "opis" "0"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:245)
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() 059ms
After Hooks.rollbackAddedActionAuthorities() 026ms
After Hooks.rollbackRemovedActionAuthorities() 068ms