Project Number Date
ApolloFullRunnerReport apollo-test-2.139 31 sie 2021, 05:52

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteSimilarTransportAfterTest 79 2 1 0 0 82 3 2 5 12m 59s 624ms Failed
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set "transport" inputs from JSON file "CREATE_SMALLS_IMPORT" "super-admin-skz" 000ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 656ms
When Go to new transport "SMALLS_IMPORT" 726ms
And Fill transport form 21s 479ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 264ms
And Show all transport "false" 000ms
And Go to transport details "SMALLS_IMPORT" 2s 975ms
And Click create similar button 15s 228ms
And Fill "transport" form "CREATE_SIMILAR_SMALLS_IMPORT" by "super-admin-skz" 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 250ms
And Open similar transport details 545ms
Then Check are transport values equals 2s 367ms
After Hooks.deleteSimilarTransportAfterTest() 570ms
After Hooks.deleteTransportAfterTest() 564ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct values
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 000ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 7s 904ms
When Go to new transport "DELIVERY" 15s 590ms
And Fill transport form 42s 848ms
And Click "save-transport" save button and wait for form to disappear 30s 198ms
And Set advice window in schedule 2s 389ms
And Check is transport created in schedule and set transport id 3s 314ms
And Go to "TRANSPORT_TABLE" 515ms
And Go to transport details "DELIVERY" 30s 618ms
And Click create similar button 15s 251ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 13s 999ms
And Click "save-transport" save button and wait for form to disappear 30s 252ms
And Set advice window in schedule in "2" days 4s 524ms
And Go to "TRANSPORT_TABLE" 464ms
And Open similar transport details 687ms
Then Check are transport values equals 076ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 1111 wartość poprawna: 123456 expected:<1[23456]> but was:<1[111]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:123)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:263)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/TransportForm/TransportForm.feature:42)
After Hooks.deleteSimilarTransportAfterTest() 1s 317ms
After Hooks.deleteTransportAfterTest() 854ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct carrier
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 000ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 2s 364ms
When Go to new transport "DELIVERY" 15s 556ms
And Fill transport form 42s 804ms
And Click "save-transport" save button and wait for form to disappear 30s 233ms
And Set advice window in schedule 2s 386ms
And Check is transport created in schedule and set transport id 3s 355ms
And Go to "TRANSPORT_TABLE" 484ms
And Go to transport details "DELIVERY" 30s 702ms
And Click create similar button 15s 270ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 14s 016ms
And Click "save-transport" save button and wait for form to disappear 30s 246ms
And Set advice window in schedule in "2" days 4s 589ms
And Go to "TRANSPORT_TABLE" 488ms
And Open similar transport details 31s 322ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 30 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.checkElementIsVisible(BasePage.java:179)
	at CucumberTests.Transport.TransportFormTest.openSimilarTransportDetails(TransportFormTest.java:96)
	at ✽.Open similar transport details(file:Features/Atom/Transport/TransportForm/TransportForm.feature:65)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close']
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: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
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.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:179)
	at CucumberTests.Transport.TransportFormTest.openSimilarTransportDetails(TransportFormTest.java:96)
	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)
Then Check is field "CARRIER" of type "autocomplete" equals "Przewoźnik Neuca Automat 1" 000ms
After Hooks.deleteSimilarTransportAfterTest() 805ms
After Hooks.deleteTransportAfterTest() 782ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 239ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 111ms
And Mark custom fields as not obligatory 006ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 091ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 000ms
When Login as "dayco-admin" 4s 552ms
And Click button advice in transport table "OWN_COLLECTION" 869ms
And Set advice window in schedule 3s 267ms
And Fill advice form 11s 639ms
And Click advice save button and wait for advice form to disappear 33s 266ms
And Go to "TRANSPORT_TABLE" 480ms
And Find transport in table with status "planned" 3s 691ms
And Confirm statuses until reach "on-the-area" 6s 285ms
And Go to transport details "OWN_COLLECTION" 2s 905ms
And Click create similar button 15s 293ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 7s 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 217ms
And Open similar transport details 488ms
Then Check if transport form modal is visible 081ms
After Hooks.deleteSimilarTransportAfterTest() 529ms
After Hooks.deleteTransportAfterTest() 787ms
After Hooks.rollbackAllCustomFieldsSettings() 494ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 237ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 124ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 007ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 000ms
When Login as "dayco-admin" 4s 946ms
And Click button advice in transport table "OWN_COLLECTION" 1s 066ms
And Set advice window in schedule 3s 255ms
And Fill advice form 11s 662ms
And Click advice save button and wait for advice form to disappear 33s 157ms
And Go to "TRANSPORT_TABLE" 462ms
And Find transport in table with status "planned" 3s 669ms
And Confirm statuses until reach "during-load" 11s 473ms
And Go to transport details "OWN_COLLECTION" 2s 959ms
And Click create similar button 15s 276ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 7s 020ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 233ms
And Open similar transport details 512ms
Then Check if transport form modal is visible 103ms
After Hooks.deleteSimilarTransportAfterTest() 522ms
After Hooks.deleteTransportAfterTest() 782ms
After Hooks.rollbackAllCustomFieldsSettings() 485ms