Project Number Date
ApolloFullRunnerReport apollo-test-2.137 29 sie 2021, 05:53

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 615ms 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 543ms
When Go to new transport "SMALLS_IMPORT" 688ms
And Fill transport form 21s 508ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 209ms
And Show all transport "false" 000ms
And Go to transport details "SMALLS_IMPORT" 2s 939ms
And Click create similar button 15s 264ms
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 293ms
And Open similar transport details 537ms
Then Check are transport values equals 2s 373ms
After Hooks.deleteSimilarTransportAfterTest() 576ms
After Hooks.deleteTransportAfterTest() 543ms
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" 8s 053ms
When Go to new transport "DELIVERY" 15s 599ms
And Fill transport form 42s 867ms
And Click "save-transport" save button and wait for form to disappear 30s 231ms
And Set advice window in schedule 2s 435ms
And Check is transport created in schedule and set transport id 3s 448ms
And Go to "TRANSPORT_TABLE" 512ms
And Go to transport details "DELIVERY" 30s 626ms
And Click create similar button 15s 278ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 14s 017ms
And Click "save-transport" save button and wait for form to disappear 30s 231ms
And Set advice window in schedule in "2" days 4s 531ms
And Go to "TRANSPORT_TABLE" 517ms
And Open similar transport details 693ms
Then Check are transport values equals 071ms
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 003ms
After Hooks.deleteTransportAfterTest() 823ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct carrier
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" 2s 429ms
When Go to new transport "DELIVERY" 15s 625ms
And Fill transport form 42s 785ms
And Click "save-transport" save button and wait for form to disappear 30s 210ms
And Set advice window in schedule 2s 421ms
And Check is transport created in schedule and set transport id 3s 359ms
And Go to "TRANSPORT_TABLE" 544ms
And Go to transport details "DELIVERY" 30s 658ms
And Click create similar button 15s 240ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 14s 034ms
And Click "save-transport" save button and wait for form to disappear 30s 186ms
And Set advice window in schedule in "2" days 4s 524ms
And Go to "TRANSPORT_TABLE" 470ms
And Open similar transport details 31s 252ms
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() 819ms
After Hooks.deleteTransportAfterTest() 809ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 230ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 005ms
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 610ms
And Click button advice in transport table "OWN_COLLECTION" 839ms
And Set advice window in schedule 3s 301ms
And Fill advice form 11s 651ms
And Click advice save button and wait for advice form to disappear 33s 278ms
And Go to "TRANSPORT_TABLE" 461ms
And Find transport in table with status "planned" 3s 706ms
And Confirm statuses until reach "on-the-area" 6s 276ms
And Go to transport details "OWN_COLLECTION" 2s 904ms
And Click create similar button 15s 217ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 995ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 217ms
And Open similar transport details 515ms
Then Check if transport form modal is visible 063ms
After Hooks.deleteSimilarTransportAfterTest() 534ms
After Hooks.deleteTransportAfterTest() 766ms
After Hooks.rollbackAllCustomFieldsSettings() 488ms
View Feature Transport form
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-dayco" 246ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 101ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 044ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 4s 767ms
And Click button advice in transport table "OWN_COLLECTION" 938ms
And Set advice window in schedule 3s 251ms
And Fill advice form 11s 562ms
And Click advice save button and wait for advice form to disappear 33s 238ms
And Go to "TRANSPORT_TABLE" 480ms
And Find transport in table with status "planned" 3s 672ms
And Confirm statuses until reach "during-load" 11s 472ms
And Go to transport details "OWN_COLLECTION" 2s 868ms
And Click create similar button 15s 278ms
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 240ms
And Open similar transport details 614ms
Then Check if transport form modal is visible 101ms
After Hooks.deleteSimilarTransportAfterTest() 547ms
After Hooks.deleteTransportAfterTest() 781ms
After Hooks.rollbackAllCustomFieldsSettings() 492ms