Project Number Date
ApolloFullRunnerReport develop.451 04 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 733ms Failed
View Feature Transport Form - Steps section scenarios
Given Set token of apiUsername "super-admin-skz" 130ms
And Add action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_LOAD_STEPS" "UNLIMITED" 066ms
And Remove action authority with: "swisskrono" "super-admin-skz" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "UNLIMITED" 005ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 277ms
When Login as "super-admin-skz" 2s 075ms
And Go to transport details "SMALLS_EXPORT" 4s 555ms
And Check if step is draggable "LOAD" 027ms
And Check if step is not draggable "UNLOAD" 020ms
After Hooks.deleteTransportAfterTest() 110ms
After Hooks.rollbackAddedActionAuthorities() 065ms
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" 136ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 481ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 065ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 081ms
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() 117ms
After Hooks.rollbackRemovedActionAuthorities() 059ms
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" 129ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 072ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 403ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 338ms
And Show all transport "false" 007ms
When Go to "TRANSPORT_TABLE" 206ms
And Go to transport details "DELIVERY" 4s 532ms
Then Verify that "CARRIER" in transport form is not visible 15s 027ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.rollbackRemovedActionAuthorities() 063ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 133ms
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 260ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 611ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 136ms
And Go to transport details "TRANSPORT" 4s 362ms
Then Verify that "CARRIER" in transport form is not visible 15s 018ms
After Hooks.deleteTransportAfterTest() 111ms
After Hooks.rollbackRemovedActionAuthorities() 066ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 129ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 060ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 306ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 538ms
And Show all transport "true" 061ms
When Go to "TRANSPORT_TABLE" 137ms
And Go to transport details "TRANSPORT_ORDER" 4s 434ms
Then Verify that "CARRIER" in transport form is not visible 15s 033ms
After Hooks.deleteTransportAfterTest() 079ms
After Hooks.rollbackRemovedActionAuthorities() 067ms
View Feature Transport form
Given Set token of apiUsername "super-admin-hochland" 126ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 061ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 067ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 345ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 183ms
And Show all transport "false" 005ms
When Go to "TRANSPORT_TABLE" 224ms
And Go to transport details "DELIVERY" 4s 519ms
Then Verify that "CARRIER" in transport form is disabled 037ms
After Hooks.deleteTransportAfterTest() 130ms
After Hooks.rollbackAddedActionAuthorities() 076ms
After Hooks.rollbackRemovedActionAuthorities() 063ms
View Feature Transport form
Given Set token of apiUsername "super-admin-adama" 146ms
And Add action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 057ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 006ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 272ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 585ms
And Show all transport "false" 006ms
When Go to "TRANSPORT_TABLE" 127ms
And Go to transport details "TRANSPORT" 4s 450ms
Then Verify that "CARRIER" in transport form is disabled 037ms
After Hooks.deleteTransportAfterTest() 101ms
After Hooks.rollbackAddedActionAuthorities() 062ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Given Set token of apiUsername "super-admin-alrec" 129ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 066ms
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 250ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 392ms
And Show all transport "true" 073ms
When Go to "TRANSPORT_TABLE" 126ms
And Go to transport details "TRANSPORT_ORDER" 4s 437ms
Then Verify that "CARRIER" in transport form is disabled 029ms
After Hooks.deleteTransportAfterTest() 089ms
After Hooks.rollbackAddedActionAuthorities() 066ms
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" 129ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 310ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 075ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 073ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 075ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 454ms
When Find transport in table with status "planned" 3s 285ms
And Confirm statuses until reach "process-ended" 21s 497ms
And Wait "90" seconds 1m 30s
And Go to "ARCHIVE_TAB" 288ms
And Show "DELIVERY" 073ms
And Go to transport details "DELIVERY" 32s 434ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 1s 314ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 642ms
And Wait "7" seconds 7s
And Go to transport details "DELIVERY" 32s 342ms
Then Verify that "transport-description" in transport has value "opis" 021ms
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() 181ms
After Hooks.rollbackAddedActionAuthorities() 100ms
After Hooks.rollbackRemovedActionAuthorities() 122ms