Project Number Date
ApolloFullRunnerReport develop.452 05 cze 2021, 07:20

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackRemovedActionAuthorities 78 2 4 0 0 84 7 2 9 5m 8s 937ms Failed
View Feature Transport Form - Steps section scenarios
Given Set token of apiUsername "super-admin-skz" 119ms
And Add action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_LOAD_STEPS" "UNLIMITED" 065ms
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 292ms
When Login as "super-admin-skz" 2s 253ms
And Go to transport details "SMALLS_EXPORT" 4s 505ms
And Check if step is draggable "LOAD" 020ms
And Check if step is not draggable "UNLOAD" 024ms
After Hooks.deleteTransportAfterTest() 100ms
After Hooks.rollbackAddedActionAuthorities() 061ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if user can't add description to transport
Steps
Given Set token of apiUsername "super-admin-hochland" 140ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 425ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 059ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 094ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor203.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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:92)
	at CucumberTests.User.EditUserTest.addAccessToTheWarehouseToTheUserByJSONFileAs(EditUserTest.java:151)
	at ✽.Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file(file:Features/Atom/Transport/TransportForm/TransportForm.feature:156)
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "transport-description" in transport form is disabled 000ms
Hooks
After Hooks.deleteTransportAfterTest() 134ms
After Hooks.rollbackRemovedActionAuthorities() 059ms
After Hooks.rollbackWarehousesAccess() 085ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor203.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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:92)
	at CucumberTests.Hooks.rollbackWarehousesAccess(Hooks.java:490)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 125ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 060ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 399ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 150ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 232ms
And Go to transport details "DELIVERY" 4s 459ms
Then Verify that "CARRIER" in transport form is not visible 15s 030ms
After Hooks.deleteTransportAfterTest() 111ms
After Hooks.rollbackRemovedActionAuthorities() 067ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 125ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 066ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 253ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 578ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 123ms
And Go to transport details "TRANSPORT" 4s 447ms
Then Verify that "CARRIER" in transport form is not visible 15s 070ms
After Hooks.deleteTransportAfterTest() 081ms
After Hooks.rollbackRemovedActionAuthorities() 063ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 122ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 052ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 222ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 364ms
And Show all transport "true" 061ms
When Go to "TRANSPORT_TABLE" 134ms
And Go to transport details "TRANSPORT_ORDER" 4s 400ms
Then Verify that "CARRIER" in transport form is not visible 15s 010ms
After Hooks.deleteTransportAfterTest() 088ms
After Hooks.rollbackRemovedActionAuthorities() 064ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 130ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 059ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 065ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 375ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 263ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 264ms
And Go to transport details "DELIVERY" 4s 455ms
Then Verify that "CARRIER" in transport form is disabled 040ms
After Hooks.deleteTransportAfterTest() 116ms
After Hooks.rollbackAddedActionAuthorities() 153ms
After Hooks.rollbackRemovedActionAuthorities() 101ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 126ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 101ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 009ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 259ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 419ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 115ms
And Go to transport details "TRANSPORT" 4s 367ms
Then Verify that "CARRIER" in transport form is disabled 026ms
After Hooks.deleteTransportAfterTest() 113ms
After Hooks.rollbackAddedActionAuthorities() 057ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 127ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 065ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 004ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 204ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 361ms
And Show all transport "true" 053ms
When Go to "TRANSPORT_TABLE" 112ms
And Go to transport details "TRANSPORT_ORDER" 4s 412ms
Then Verify that "CARRIER" in transport form is disabled 028ms
After Hooks.deleteTransportAfterTest() 111ms
After Hooks.rollbackAddedActionAuthorities() 060ms
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" 124ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 314ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 076ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 069ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 080ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 421ms
When Find transport in table with status "planned" 3s 280ms
And Confirm statuses until reach "process-ended" 21s 529ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 281ms
And Show "DELIVERY" 075ms
And Go to transport details "DELIVERY" 32s 393ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 328ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 619ms
And Wait "7" seconds 7s
And Go to transport details "DELIVERY" 32s 329ms
Then Verify that "transport-description" in transport has value "opis" 029ms
org.junit.ComparisonFailure: Niepoprawna wartość pola - transport-description expected:<[]> but was:<[opis]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.TransportFormTest.checkIfInTransportHasValue(TransportFormTest.java:299)
	at ✽.Verify that "transport-description" in transport has value "opis"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:250)
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.rollbackAddedActionAuthorities() 075ms
After Hooks.rollbackRemovedActionAuthorities() 149ms