Project Number Date
ApolloFullRunnerReport develop.454 07 cze 2021, 07:19

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 9s 093ms Failed
View Feature Transport Form - Steps section scenarios
Given Set token of apiUsername "super-admin-skz" 126ms
And Add action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_LOAD_STEPS" "UNLIMITED" 072ms
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 211ms
And Go to transport details "SMALLS_EXPORT" 4s 478ms
And Check if step is draggable "LOAD" 029ms
And Check if step is not draggable "UNLOAD" 019ms
After Hooks.deleteTransportAfterTest() 093ms
After Hooks.rollbackAddedActionAuthorities() 054ms
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" 114ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 393ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 057ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 092ms
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() 130ms
After Hooks.rollbackRemovedActionAuthorities() 095ms
After Hooks.rollbackWarehousesAccess() 083ms
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" 126ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 063ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 401ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 250ms
And Show all transport "false" 007ms
When Go to "TRANSPORT_TABLE" 231ms
And Go to transport details "DELIVERY" 4s 499ms
Then Verify that "CARRIER" in transport form is not visible 15s 058ms
After Hooks.deleteTransportAfterTest() 135ms
After Hooks.rollbackRemovedActionAuthorities() 059ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 115ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 071ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 290ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 599ms
And Show all transport "false" 004ms
When Go to "TRANSPORT_TABLE" 124ms
And Go to transport details "TRANSPORT" 4s 438ms
Then Verify that "CARRIER" in transport form is not visible 15s 034ms
After Hooks.deleteTransportAfterTest() 087ms
After Hooks.rollbackRemovedActionAuthorities() 074ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 128ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 055ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 284ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 520ms
And Show all transport "true" 062ms
When Go to "TRANSPORT_TABLE" 132ms
And Go to transport details "TRANSPORT_ORDER" 4s 425ms
Then Verify that "CARRIER" in transport form is not visible 15s 065ms
After Hooks.deleteTransportAfterTest() 100ms
After Hooks.rollbackRemovedActionAuthorities() 070ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 123ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 060ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 059ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 370ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 178ms
And Show all transport "false" 007ms
When Go to "TRANSPORT_TABLE" 258ms
And Go to transport details "DELIVERY" 4s 501ms
Then Verify that "CARRIER" in transport form is disabled 034ms
After Hooks.deleteTransportAfterTest() 104ms
After Hooks.rollbackAddedActionAuthorities() 058ms
After Hooks.rollbackRemovedActionAuthorities() 056ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 117ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 080ms
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 222ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 438ms
And Show all transport "false" 004ms
When Go to "TRANSPORT_TABLE" 103ms
And Go to transport details "TRANSPORT" 4s 448ms
Then Verify that "CARRIER" in transport form is disabled 026ms
After Hooks.deleteTransportAfterTest() 082ms
After Hooks.rollbackAddedActionAuthorities() 062ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 125ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 088ms
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 202ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 332ms
And Show all transport "true" 054ms
When Go to "TRANSPORT_TABLE" 115ms
And Go to transport details "TRANSPORT_ORDER" 4s 361ms
Then Verify that "CARRIER" in transport form is disabled 024ms
After Hooks.deleteTransportAfterTest() 097ms
After Hooks.rollbackAddedActionAuthorities() 057ms
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" 133ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 300ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 068ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 060ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 070ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 388ms
When Find transport in table with status "planned" 3s 285ms
And Confirm statuses until reach "process-ended" 21s 490ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 247ms
And Show "DELIVERY" 069ms
And Go to transport details "DELIVERY" 32s 414ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 338ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 625ms
And Wait "7" seconds 7s
And Go to transport details "DELIVERY" 32s 326ms
Then Verify that "transport-description" in transport has value "opis" 031ms
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() 133ms
After Hooks.rollbackAddedActionAuthorities() 066ms
After Hooks.rollbackRemovedActionAuthorities() 137ms