Project Number Date
ApolloFullRunnerReport apollo-test-2.93 24 lip 2021, 05:47

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deletePeriodicTransports 69 2 0 0 0 71 4 2 6 17m 41s 756ms Failed
View Feature Base options of periodic transport - create, edit, delete etc.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 896ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 484ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 547ms
And Fill transport form 45s 773ms
And Select option of periodic transport and fill settings "DAILY" 50s 570ms
And Click "save-transport" save button and wait for form to disappear 30s 288ms
Then Set advice window in schedule in "0" days 258ms
And Check is transport created in schedule and set transport id 3s 746ms
And Set week view 3s 057ms
Then Wait "120" seconds 2m
And Refresh page 2s 351ms
Then Check if periodic transport for "DAILY" is created correctly 16s 788ms
After Hooks.deletePeriodicTransports() 3s 288ms
View Feature Base options of periodic transport - create, edit, delete etc.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 511ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 302ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 524ms
And Fill transport form 45s 722ms
And Select option of periodic transport and fill settings "WEEKLY" 20s 514ms
And Click "save-transport" save button and wait for form to disappear 30s 214ms
Then Set advice window in schedule in "0" days 255ms
And Check is transport created in schedule and set transport id 3s 528ms
And Set week view 3s 030ms
Then Wait "120" seconds 2m
And Refresh page 2s 296ms
Then Check if periodic transport for "WEEKLY" is created correctly 27s 498ms
After Hooks.deletePeriodicTransports() 8s 516ms
View Feature Base options of periodic transport - create, edit, delete etc.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 376ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 305ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 482ms
And Fill transport form 45s 569ms
And Select option of periodic transport and fill settings "MONTHLY" 19s 574ms
And Click "save-transport" save button and wait for form to disappear 30s 268ms
Then Set advice window in schedule in "0" days 222ms
And Check is transport created in schedule and set transport id 3s 482ms
And Set week view 3s 253ms
Then Wait "120" seconds 2m
And Refresh page 2s 261ms
Then Check if periodic transport for "MONTHLY" is created correctly 53s 753ms
After Hooks.deletePeriodicTransports() 3s 359ms
View Feature Base options of periodic transport - create, edit, delete etc.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 659ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 312ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 2s 052ms
When Go to "WAREHOUSE_TAB" 977ms
And Set week view 2s 445ms
And Select warehouse "Katowice" 5s 056ms
And Open the middle periodic transport form from the schedule view 39s 894ms
Then Change filled value in transport details "number-of-pallets-step-0" "number" "30" "0" 1s 699ms
And Click save and-close and react on alert "dismiss" 738ms
And Check if rest of periodic transports is react correctly "noEditing" 20s 612ms
After Hooks.deletePeriodicTransports() 4s 174ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Edition data of periodic transport from order form
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 425ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 292ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 1s 989ms
When Go to "WAREHOUSE_TAB" 841ms
And Set week view 2s 648ms
And Select warehouse "Katowice" 5s 553ms
And Open the middle periodic transport form from the schedule view 26s 018ms
Then Change filled value in transport details "number-of-pallets-step-0" "number" "30" "0" 1s 680ms
And Click save and-close and react on alert "accept" 744ms
And Check if rest of periodic transports is react correctly "editing" 20s 629ms
org.junit.ComparisonFailure: Następna awizacja okresowa nie została zmieniona expected:<[60]> but was:<[45]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.PeriodicTransportTest.checkIfRestOfPeriodicTransportsIsReactCorrectly(PeriodicTransportTest.java:128)
	at ✽.Check if rest of periodic transports is react correctly "editing"(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:36)
Hooks
After Hooks.deletePeriodicTransports() 7s 226ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224694633/delete - status odpowiedzi: 500 , komunikat:  [error:org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [logintegra.warehouse.TimeWindow#224694640]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteTransportsAfterTest(Hooks.java:202)
	at CucumberTests.Hooks.deletePeriodicTransports(Hooks.java:749)
	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 Base options of periodic transport - create, edit, delete etc.
Scenario Outline Designations of periodic transports
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 601ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 286ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 1s 966ms
When Go to "WAREHOUSE_TAB" 866ms
And Set week view 2s 676ms
And Select warehouse "Katowice" 5s 308ms
And Open the middle periodic transport form from the schedule view 23s 911ms
Then Check if designation of periodic transport in transport form is correct 094ms
And Close transport details 15s 388ms
When Go to "TRANSPORT_TABLE" 919ms
And Wait until all periodic transports will be visible in transport table 659ms
Then Check if designation of periodic transport in transport table is correct 2s 084ms
java.lang.AssertionError: Numer awizacji okresowej w formularzu i tabeli różnią się
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.PeriodicTransportTest.checkIfDesignationOfPeriodicTransportInTransportTableIsCorrect(PeriodicTransportTest.java:170)
	at ✽.Check if designation of periodic transport in transport table is correct(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:55)
After Hooks.deletePeriodicTransports() 4s 061ms