Project Number Date
ApolloFullRunnerReport develop.342 16 mar 2021, 05:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Mode of transportation status 100 2 3 0 0 105 4 2 6 4m 12s 631ms Failed
Feature Mode of transportation status
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 078ms
When Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 072ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 329ms
And Go to mode of transportation details 115ms
Then Reject mode of transportation 056ms
And Verify that user is redirected to mode of transportation tab 175ms
Then Check if "Odrzucony" status is visible in mode of transportation table 029ms
After Hooks.deleteModeOfTransportationAfterTest() 082ms
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" 1s 036ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 214ms
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 16s 226ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 187ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 025ms
And Go to mode of transportation details 103ms
And Add "WINTER_MAPPING" document to mode of transportation 15s 217ms
And Add "SUMMER_MAPPING" document to mode of transportation 15s 207ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 15s 407ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 265ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 029ms
And If user is login then logout 115ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 411ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 264ms
And Go to mode of transportation details 171ms
And Accept "WINTER_MAPPING" document 15s 110ms
And Accept "SUMMER_MAPPING" document 233ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 205ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 193ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 030ms
And Go to mode of transportation details 144ms
And Approve mode of transportation 060ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 182ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 023ms
And Go to mode of transportation details 127ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 15s 878ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 041ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 278ms
And Check if "Zablokowany" status is visible in mode of transportation table 031ms
And Go to mode of transportation details 172ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 15s 719ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 037ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 223ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 026ms
And Go to mode of transportation details 144ms
And Reject mode of transportation 089ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 156ms
And Check if "Odrzucony" status is visible in mode of transportation table 020ms
And Go to mode of transportation details 111ms
And Confirm mode of transportation 057ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 160ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 020ms
And If user is login then logout 089ms
And Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 607ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 264ms
And Go to mode of transportation details 178ms
And Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 15s 414ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 223ms
And Check if "Zaktualizowany" status is visible in mode of transportation table 020ms
And If user is login then logout 085ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 296ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 260ms
And Go to mode of transportation details 188ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 15s 063ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 033ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 239ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 034ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 107ms
And Disable mode of transportation by API 081ms
And Show disabled mode of transportations in the table 071ms
And Check if "Wyłączony" status is visible in mode of transportation table 15s 025ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//tr/td/a[contains(@href, '209152805')]//ancestor::*/td[@data-field-name='status-name']"}
  (Session info: headless chrome=88.0.4324.182)
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: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.RQrowI}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=88.0.4324.182, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 0101ac6283bb5a0e3244b7af87d77d17
*** Element info: {Using=xpath, value=//tr/td/a[contains(@href, '209152805')]//ancestor::*/td[@data-field-name='status-name']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:305)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Wyłączony" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:102)
After Hooks.deleteModeOfTransportationAfterTest() 091ms
Scenario Outline Check if accepted mode of transportation status is accepted
Steps
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 212ms
When Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 073ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 374ms
And Go to mode of transportation details 124ms
Then Approve mode of transportation 074ms
And Check if confirm mode of transportation button is visible 15s 054ms
java.lang.AssertionError: Confirm mode of transportation button is not visible!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfConfirmMOTButtonIsVisible(MOTDetailsTest.java:312)
	at ✽.Check if confirm mode of transportation button is visible(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:114)
Then Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Verify that user is redirected to mode of transportation tab 000ms
Then Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 086ms
Given Set token of apiUsername "super-admin-bausch" 095ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 288ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 058ms
When Login as "super-admin-bausch" 1s 083ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 246ms
And Go to mode of transportation details 150ms
And Verify that MOT has "SUMMER_MAPPING" document 014ms
Then Disable "SUMMER_MAPPING" document 15s 665ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 053ms
And Check if mode of transportation has status "Zaakceptowany" 035ms
After Hooks.deleteModeOfTransportationAfterTest() 107ms
Given Set token of apiUsername "super-admin-bausch" 092ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 289ms
When Login as "super-admin-bausch" 1s 167ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 269ms
And Go to mode of transportation details 153ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 014ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 626ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 013ms
And Check if mode of transportation has status "Zablokowany" 030ms
After Hooks.deleteModeOfTransportationAfterTest() 083ms
Given Set token of apiUsername "super-admin-bausch" 091ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 063ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 049ms
When Login as "super-admin-bausch" 1s 135ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 261ms
And Go to mode of transportation details 138ms
Then Approve mode of transportation 056ms
And Check if mode of transportation has status "Niezaakceptowany" 025ms
And Check if error message is visible in mode of transportation details 032ms
After Hooks.deleteModeOfTransportationAfterTest() 080ms