Given
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
1s 021ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
186ms
And
Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000"
16s 186ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
228ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
026ms
And
Go to mode of transportation details
133ms
And
Add "WINTER_MAPPING" document to mode of transportation
15s 229ms
And
Add "SUMMER_MAPPING" document to mode of transportation
15s 207ms
And
Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
15s 433ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
199ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
028ms
And
If user is login then logout
099ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
1s 320ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
251ms
And
Go to mode of transportation details
189ms
And
Accept "WINTER_MAPPING" document
15s 118ms
And
Accept "SUMMER_MAPPING" document
15s 672ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
196ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
245ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
027ms
And
Go to mode of transportation details
140ms
And
Approve mode of transportation
055ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
167ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
019ms
And
Go to mode of transportation details
134ms
And
Reject "SENSOR_CALIBRATION_CERTIFICATE" document
15s 900ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected
035ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
184ms
And
Check if "Zablokowany" status is visible in mode of transportation table
021ms
And
Go to mode of transportation details
139ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
234ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
026ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
173ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
032ms
And
Go to mode of transportation details
174ms
And
Reject mode of transportation
045ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
168ms
And
Check if "Odrzucony" status is visible in mode of transportation table
026ms
And
Go to mode of transportation details
121ms
And
Confirm mode of transportation
051ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
153ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
020ms
And
If user is login then logout
096ms
And
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
2s 752ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
245ms
And
Go to mode of transportation details
191ms
And
Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
15s 334ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
244ms
And
Check if "Zaktualizowany" status is visible in mode of transportation table
032ms
And
If user is login then logout
097ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
1s 391ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
263ms
And
Go to mode of transportation details
208ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
15s 076ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
038ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
219ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
025ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
104ms
And
Disable mode of transportation by API
090ms
And
Show disabled mode of transportations in the table
073ms
And
Check if "Wyłączony" status is visible in mode of transportation table
15s 050ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//tr/td/a[contains(@href, '209654061')]//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.0rC1Yz}, 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: b2bb84570eddb544e51f32c95dbe3a3d
*** Element info: {Using=xpath, value=//tr/td/a[contains(@href, '209654061')]//ancestor::*/td[@data-field-name='status-name']}
at sun.reflect.GeneratedConstructorAccessor195.newInstance(Unknown Source)
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)