Project Number Date
ApolloFullRunnerReport after_release_3_8_0.327 09 mar 2021, 17:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Edit transport using pencil 92 2 3 0 0 97 11 2 13 6m 4s 454ms Failed
Feature Edit transport using pencil
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 415ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 373ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 264ms
And Click pencil and move transport to next day in schedule 16s 396ms
Then Check if transport is in new location in schedule 2s 120ms
And Check if dates in transport form are correct 3s 454ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 092ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 281ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 258ms
And Click pencil and move transport to next day in schedule 16s 734ms
Then Check if transport is in new location in schedule 2s 131ms
And Check if dates in transport form are correct 3s 370ms
After Hooks.deleteTransportAfterTest() 099ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 155ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 302ms
And Show all transport "false" 005ms
When Find transport pencil button in transports table 1s 253ms
And Click pencil and move transport to next day in schedule 16s 894ms
Then Check if transport is in new location in schedule 2s 136ms
And Check if dates in transport form are correct 3s 436ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 191ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 317ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 243ms
And Click pencil and move transport to next day in schedule 16s 315ms
Then Check if transport is in new location in schedule 2s 120ms
And Check if dates in transport form are correct 3s 397ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 186ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 346ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 241ms
And Click pencil and move transport to next day in schedule 16s 363ms
Then Check if transport is in new location in schedule 2s 116ms
And Check if dates in transport form are correct 3s 410ms
After Hooks.deleteTransportAfterTest() 112ms
Scenario Outline Check if it possible to edit transport by pencil
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 183ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-alrec" 1s 387ms
And Show all transport "true" 098ms
When Find transport pencil button in transports table 1s 257ms
And Click pencil and move transport to next day in schedule 16s 379ms
Then Check if transport is in new location in schedule 17s 136ms
java.lang.AssertionError: Nie udało się odnaleźć okna w nowej lokalizacji
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:712)
	at CucumberTests.AdviceEdition.PencilEdition.checkIfAdviceWindowIsInNewLocationInSchedule(PencilEdition.java:51)
	at ✽.Check if transport is in new location in schedule(file:Features/Atom/Transport/PencilEdition.feature:10)
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 239ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 241ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
When Show all transport types 1s 043ms
And Click button advice in transport table "DELIVERY" 140ms
And Set advice window in schedule 2s 606ms
And Fill advice form 8s 450ms
And Click advice save button and wait for advice form to disappear 30s 683ms
And Go to "TRANSPORT_TABLE" 237ms
And Find transport pencil button in transports table 1s 250ms
And Click pencil and move transport to next day in schedule 17s 576ms
Then Check if transport is in new location in schedule 2s 105ms
And Check if dates in transport form are correct 3s 475ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 390ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 409ms
And Show all transport "false" 009ms
When Find transport pencil button in transports table 1s 269ms
And Click pencil and move transport to next day in schedule 16s 313ms
And Move advice window "3" 1s 317ms
Then Check if advice window is in new location 023ms
After Hooks.deleteTransportAfterTest() 112ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 164ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 288ms
And Show all transport "false" 008ms
When Find transport pencil button in transports table 1s 225ms
And Click pencil and move transport to next day in schedule 16s 702ms
And Move advice window "3" 1s 383ms
Then Check if advice window is in new location 029ms
After Hooks.deleteTransportAfterTest() 130ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 002ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 333ms
And Show all transport "false" 009ms
When Find transport pencil button in transports table 1s 206ms
And Click pencil and move transport to next day in schedule 16s 870ms
And Move advice window "3" 1s 402ms
Then Check if advice window is in new location 029ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 211ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 300ms
And Show all transport "false" 011ms
When Find transport pencil button in transports table 1s 256ms
And Click pencil and move transport to next day in schedule 16s 297ms
And Move advice window "3" 1s 312ms
Then Check if advice window is in new location 022ms
After Hooks.deleteTransportAfterTest() 097ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 095ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 350ms
And Show all transport "false" 010ms
When Find transport pencil button in transports table 1s 242ms
And Click pencil and move transport to next day in schedule 16s 350ms
And Move advice window "3" 1s 324ms
Then Check if advice window is in new location 027ms
After Hooks.deleteTransportAfterTest() 116ms
Scenario Outline Check if it possible to edit transport after editing by pencil button
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 147ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 304ms
And Show all transport "true" 082ms
When Find transport pencil button in transports table 1s 248ms
And Click pencil and move transport to next day in schedule 15s 606ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //button[contains(@class, 'btn btn-primary save-advice-button')] (tried for 2 second(s) with 500 MILLISECONDS interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:205)
	at Pages.Schedule.SchedulePage.moveTransportToNextDayUsingPencilButton(SchedulePage.java:175)
	at CucumberTests.AdviceEdition.PencilEdition.clickInPencilAndMoveAdviceWindowInNewLocationInSchedule(PencilEdition.java:44)
	at ✽.Click pencil and move transport to next day in schedule(file:Features/Atom/Transport/PencilEdition.feature:46)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //button[contains(@class, 'btn btn-primary save-advice-button')]
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:643)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:640)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:205)
	at Pages.Schedule.SchedulePage.moveTransportToNextDayUsingPencilButton(SchedulePage.java:175)
	at CucumberTests.AdviceEdition.PencilEdition.clickInPencilAndMoveAdviceWindowInNewLocationInSchedule(PencilEdition.java:44)
	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.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	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)
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 065ms