Project Number Date
ApolloFullRunnerReport apollo-test-2.80 14 lip 2021, 05:39

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@clearAlgorithmSettings 43 1 10 0 0 54 4 1 5 2m 4s 214ms Failed
View Feature TransportWindow atom tests
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 259ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 070ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;true" 090ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 192ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 488ms
When Go to "WAREHOUSE_TAB" 637ms
And Select warehouse "Magazyn Surowców" 1s 364ms
And Set week view 1s 246ms
Then Check if time window has proper "60" 059ms
After Hooks.deleteTransportAfterTest() 143ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 043ms
After Hooks.clearAlgorithmSettings() 015ms
View Feature TransportWindow atom tests
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 050ms
And Get package type settings for transportType "UNLOAD" from "keeeper" 060ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 093ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 196ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 447ms
When Go to "WAREHOUSE_TAB" 626ms
And Select warehouse "Magazyn Surowców" 1s 347ms
And Set week view 1s 263ms
Then Check if time window has proper "60" 069ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 043ms
After Hooks.clearAlgorithmSettings() 017ms
View Feature TransportWindow atom tests
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 083ms
And Get package type settings for transportType "LOAD" from "keeeper" 061ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "4;false" 088ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 194ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 324ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 019ms
And Show all transport types 1s 156ms
And Click button advice in transport table "LOAD" 273ms
And Set advice window in schedule 2s 746ms
And Fill advice form 15s 662ms
And Click advice save button and wait for advice form to disappear 30s 991ms
Then Check if time window has proper "30" 075ms
After Hooks.deleteTransportAfterTest() 142ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 045ms
After Hooks.clearAlgorithmSettings() 014ms
View Feature TransportWindow atom tests
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 290ms
And Get package type settings for transportType "CONTAINER" from "keeeper" 062ms
And Set package type "PALLETS" settings with values: "defaultValue;required", "20;false" 084ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 191ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 335ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 023ms
And Show all transport types 1s 149ms
And Click button advice in transport table "CONTAINER" 253ms
And Set advice window in schedule 2s 710ms
And Fill advice form 15s 621ms
And Click advice save button and wait for advice form to disappear 30s 964ms
Then Check if time window has proper "60" 075ms
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.rollbackPackageTypeTransportTypeSettings() 043ms
After Hooks.clearAlgorithmSettings() 014ms
View Feature TransportWindow atom tests
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Set token of apiUsername "super-admin-hochland" 118ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 090ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /algorithm-settings/206914331 - status odpowiedzi: 422 , komunikat:  [errors:[Operacja nie powiodła się. Prosimy spróbować ponownie a, jeśli problem się powtarza, o kontakt z info@logintegra.com.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.AlgorithmSetting.AlgorithmSettingTest.setAlgorithmSettingIn(AlgorithmSettingTest.java:91)
	at ✽.Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera"(file:Features/Atom/TimeWindow/TransportWindow.feature:134)
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 000ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 000ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 000ms
When Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "25" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.clearAlgorithmSettings() 099ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <204> but was <500>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.GeneratedMethodAccessor74.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.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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Hooks.lambda$clearAlgorithmSettings$3(Hooks.java:490)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at CucumberTests.Hooks.clearAlgorithmSettings(Hooks.java:489)
	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)