Project Number Date
ApolloFullRunnerReport refs/heads/develop.17 26 maj 2021, 00:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Mode of transportation status 92 2 42 0 0 136 7 2 9 5m 20s 939ms Failed
Feature Mode of transportation status
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 671ms
When Create default mode of transportation by API with "pba1-carrier" 481ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 585ms
And Go to mode of transportation details 283ms
Then Reject mode of transportation 167ms
And Verify that user is redirected to mode of transportation tab 455ms
Then Check if "Odrzucony" status is visible in mode of transportation table 085ms
After Hooks.deleteModeOfTransportationAfterTest() 352ms
Scenario Outline Check if mode transportation status change appropriate to performed actions by users
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 603ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 17s 599ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 566ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 083ms
And Go to mode of transportation details 229ms
And Add "WINTER_MAPPING" document to mode of transportation 15s 441ms
And Add "SUMMER_MAPPING" document to mode of transportation 15s 517ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 16s 218ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 598ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 066ms
And If user is login then logout 272ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 841ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 606ms
And Go to mode of transportation details 373ms
And Accept "WINTER_MAPPING" document 16s 199ms
And Accept "SUMMER_MAPPING" document 16s 211ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 16s 323ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 692ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 093ms
And Go to mode of transportation details 343ms
And Approve mode of transportation 154ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 532ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 075ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Z]aakceptowany> but was:<[Niez]aakceptowany>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Zaakceptowany" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:49)
And Go to mode of transportation details 000ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zablokowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Reject mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Odrzucony" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Confirm mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaktualizowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Disable mode of transportation by API 000ms
And Show disabled mode of transportations in the table 000ms
And Go to the last mode of transportations table page 000ms
And Check if "Wyłączony" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 426ms
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 672ms
When Create default mode of transportation by API with "pba1-carrier" 490ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 347ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 359ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 585ms
And Go to mode of transportation details 340ms
Then Approve mode of transportation 130ms
And Check if confirm mode of transportation button is visible 844ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 560ms
And Verify that user is redirected to mode of transportation tab 085ms
Then Check if "Zaakceptowany" status is visible in mode of transportation table 087ms
After Hooks.deleteModeOfTransportationAfterTest() 373ms
Given Set token of apiUsername "super-admin-bausch" 249ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 655ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 364ms
When Login as "super-admin-bausch" 2s 400ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 583ms
And Go to mode of transportation details 336ms
And Verify that MOT has "SUMMER_MAPPING" document 043ms
Then Disable "SUMMER_MAPPING" document 15s 853ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 024ms
And Check if mode of transportation has status "Zaakceptowany" 068ms
After Hooks.deleteModeOfTransportationAfterTest() 483ms
Given Set token of apiUsername "super-admin-bausch" 234ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 473ms
When Login as "super-admin-bausch" 2s 335ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 584ms
And Go to mode of transportation details 333ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 039ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 777ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 084ms
And Check if mode of transportation has status "Zablokowany" 082ms
After Hooks.deleteModeOfTransportationAfterTest() 541ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Steps
Given Set token of apiUsername "super-admin-bausch" 225ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 401ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 354ms
When Login as "super-admin-bausch" 2s 306ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 30s 867ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'mode-of-transportation')] (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:177)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:94)
	at CucumberTests.Transport.CreateTransport.GoToTab(CreateTransport.java:193)
	at ✽.Go to "MODE_OF_TRANSPORTATION_TAB"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:162)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[contains(@class, 'mode-of-transportation')]
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:177)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:94)
	at CucumberTests.Transport.CreateTransport.GoToTab(CreateTransport.java:193)
	at sun.reflect.GeneratedMethodAccessor208.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 Go to mode of transportation details 000ms
Then Approve mode of transportation 000ms
And Check if mode of transportation has status "Niezaakceptowany" 000ms
And Check if error message is visible in mode of transportation details 000ms
After Hooks.deleteModeOfTransportationAfterTest() 380ms
Given Set token of apiUsername "super-admin-bausch" 241ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 667ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 351ms
When Login as "super-admin-bausch" 2s 518ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 651ms
And Go to mode of transportation details 335ms
And Verify that MOT has "SUMMER_MAPPING" document 040ms
Then Disable "SUMMER_MAPPING" document 15s 829ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 069ms
And Check if mode of transportation has status "Zaakceptowany" 088ms
After Hooks.deleteModeOfTransportationAfterTest() 397ms
Given Set token of apiUsername "super-admin-bausch" 240ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 683ms
When Login as "super-admin-bausch" 2s 541ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 633ms
And Go to mode of transportation details 326ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 044ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 804ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 085ms
And Check if mode of transportation has status "Zablokowany" 088ms
After Hooks.deleteModeOfTransportationAfterTest() 463ms
Given Set token of apiUsername "super-admin-bausch" 236ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 502ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 362ms
When Login as "super-admin-bausch" 2s 577ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 636ms
And Go to mode of transportation details 355ms
Then Approve mode of transportation 163ms
And Check if mode of transportation has status "Niezaakceptowany" 074ms
And Check if error message is visible in mode of transportation details 221ms
After Hooks.deleteModeOfTransportationAfterTest() 368ms