Project Number Date
ApolloFullRunnerReport apollo-test-2.51 22 cze 2021, 10:35

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK Api - Advice transport 94 2 22 0 0 118 8 2 10 15m 42s 299ms Failed
Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 4s 878ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 035ms
And Add transport by SKApi in "MGW" 023ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 035ms
And Check is transport "CONTAINER" created in transport table and set transport id 49s 098ms
When Click button advice in transport table "CONTAINER" 233ms
And Set advice window in schedule 3s 736ms
And Fill advice form 17s 895ms
And Click advice save button and wait for advice form to disappear 33s 784ms
And Go to "TRANSPORT_TABLE" 442ms
And Go to transport details "CONTAINER" 4s 925ms
Then Check are advice values equals 2s 885ms
After Hooks.deleteTransportAfterTest() 989ms
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 8s 755ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 035ms
And Add transport by SKApi in "MGW" 021ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 034ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 46s 323ms
When Click button advice in transport table "OWN_COLLECTION" 244ms
And Set advice window in schedule 3s 643ms
And Fill advice form 17s 898ms
And Click advice save button and wait for advice form to disappear 33s 274ms
And Go to "TRANSPORT_TABLE" 456ms
And Go to transport details "OWN_COLLECTION" 4s 869ms
Then Check are advice values equals 2s 879ms
After Hooks.deleteTransportAfterTest() 1s
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 8s 773ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 039ms
And Add transport by SKApi in "MGW" 023ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 034ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 45s 778ms
When Click button advice in transport table "TRANSPORT_ORDER" 232ms
And Set advice window in schedule 3s 572ms
And Fill advice form 18s 062ms
And Click advice save button and wait for advice form to disappear 33s 769ms
And Go to "TRANSPORT_TABLE" 415ms
And Go to transport details "TRANSPORT_ORDER" 4s 804ms
Then Check are advice values equals 2s 818ms
After Hooks.deleteTransportAfterTest() 1s 006ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 797ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 036ms
And Add transport by SKApi in "MGW" 023ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 034ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 52s 351ms
When Click button advice in transport table "OWN_COLLECTION" 232ms
And Set advice window in schedule 3s 705ms
And Fill advice form 18s 049ms
And Click advice save button and wait for advice form to disappear 33s 767ms
And Go to "TRANSPORT_TABLE" 467ms
Then Check advice data in SK API database "OWN_COLLECTION" 517ms
After Hooks.deleteTransportAfterTest() 1s 033ms
Scenario Outline Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 15s 723ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udało się załadować strony (tried for 10 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:183)
	at Pages.LoginPage.login(LoginPage.java:48)
	at Pages.LoginPage.loginAs(LoginPage.java:37)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:27)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@id='login-template']//input[@type='text']
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:183)
	at Pages.LoginPage.login(LoginPage.java:48)
	at Pages.LoginPage.loginAs(LoginPage.java:37)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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 Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" 000ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 000ms
And Check is transport "CONTAINER" created in transport table and set transport id 000ms
When Click button advice in transport table "CONTAINER" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Check advice data in SK API database "CONTAINER" 000ms
After Hooks.deleteTransportAfterTest() 001ms
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 451ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 035ms
And Add transport by SKApi in "MGW" 017ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 034ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 43s 567ms
When Click button advice in transport table "TRANSPORT_ORDER" 237ms
And Set advice window in schedule 3s 610ms
And Fill advice form 18s 156ms
And Click advice save button and wait for advice form to disappear 33s 784ms
And Go to "TRANSPORT_TABLE" 505ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 090ms
After Hooks.deleteTransportAfterTest() 1s 104ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 870ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 038ms
And Add transport by SKApi in "MGW" 019ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 036ms
And Check is transport "CONTAINER" created in transport table and set transport id 1m 1s 124ms
When Click button advice in transport table "CONTAINER" 223ms
And Set advice window in schedule in the past 3s 785ms
And Fill advice form 18s 144ms
And Click advice save button to check error message 158ms
Then Check if possible advice alert is displayed 069ms
After Hooks.deleteTransportAfterTest() 621ms
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 628ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 036ms
And Add transport by SKApi in "MGW" 024ms
And Get inputs from database "EDIT_ADVICE" "super-admin-skz" 037ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 34s 253ms
And Create advice "CREATE_ADVICE" "OWN_COLLECTION" "super-admin-skz" 55s 095ms
And Go to "TRANSPORT_TABLE" 444ms
When Go to transport details "OWN_COLLECTION" 4s 906ms
And Expand advice panel 249ms
And Edit advice in transport details 16s 563ms
And Fill arrival date field 2s 570ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 448ms
Then Check advice data in database after edition "OWN_COLLECTION" 104ms
After Hooks.deleteTransportAfterTest() 1s 087ms
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 807ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 035ms
And Add transport by SKApi in "MGW" 022ms
And Get inputs from database "EDIT_ADVICE" "super-admin-skz" 034ms
And Check is transport "CONTAINER" created in transport table and set transport id 19s 072ms
And Create advice "CREATE_ADVICE" "CONTAINER" "super-admin-skz" 55s 512ms
And Go to "TRANSPORT_TABLE" 468ms
When Go to transport details "CONTAINER" 4s 917ms
And Expand advice panel 278ms
And Edit advice in transport details 16s 509ms
And Fill arrival date field 2s 546ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 451ms
Then Check advice data in database after edition "CONTAINER" 100ms
After Hooks.deleteTransportAfterTest() 1s 125ms
Scenario Outline Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 15s 772ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udało się załadować strony (tried for 10 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:183)
	at Pages.LoginPage.login(LoginPage.java:48)
	at Pages.LoginPage.loginAs(LoginPage.java:37)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:63)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@id='login-template']//input[@type='text']
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:183)
	at Pages.LoginPage.login(LoginPage.java:48)
	at Pages.LoginPage.loginAs(LoginPage.java:37)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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 Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 000ms
And Add transport by SKApi in "MGW" 000ms
And Get inputs from database "EDIT_ADVICE" "super-admin-skz" 000ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 000ms
And Create advice "CREATE_ADVICE" "TRANSPORT_ORDER" "super-admin-skz" 000ms
And Go to "TRANSPORT_TABLE" 000ms
When Go to transport details "TRANSPORT_ORDER" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Fill arrival date field 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
Then Check advice data in database after edition "TRANSPORT_ORDER" 000ms
After Hooks.deleteTransportAfterTest() 001ms