Given
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
1s 070ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
211ms
And
Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000"
16s 266ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
221ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
022ms
And
Go to mode of transportation details
127ms
And
Add "WINTER_MAPPING" document to mode of transportation
15s 223ms
And
Add "SUMMER_MAPPING" document to mode of transportation
15s 217ms
And
Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
15s 429ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
256ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
029ms
And
If user is login then logout
097ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
1s 421ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
280ms
And
Go to mode of transportation details
164ms
And
Accept "WINTER_MAPPING" document
15s 071ms
And
Accept "SUMMER_MAPPING" document
228ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
15s 073ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
290ms
And
Check if "Niezaakceptowany" status is visible in mode of transportation table
032ms
And
Go to mode of transportation details
183ms
And
Approve mode of transportation
066ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
191ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
026ms
And
Go to mode of transportation details
151ms
And
Reject "SENSOR_CALIBRATION_CERTIFICATE" document
15s 894ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected
030ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
202ms
And
Check if "Zablokowany" status is visible in mode of transportation table
024ms
And
Go to mode of transportation details
149ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
15s 773ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
043ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
271ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
029ms
And
Go to mode of transportation details
176ms
And
Reject mode of transportation
064ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
185ms
And
Check if "Odrzucony" status is visible in mode of transportation table
024ms
And
Go to mode of transportation details
161ms
And
Confirm mode of transportation
056ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
195ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
022ms
And
If user is login then logout
089ms
And
Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch"
2s 722ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
224ms
And
Go to mode of transportation details
163ms
And
Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation
15s 376ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
210ms
And
Check if "Zaktualizowany" status is visible in mode of transportation table
027ms
And
If user is login then logout
098ms
And
Login as "bausch-admin" and set token of apiUsername "super-admin-bausch"
1s 295ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
302ms
And
Go to mode of transportation details
172ms
And
Accept "SENSOR_CALIBRATION_CERTIFICATE" document
15s 696ms
And
Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted
045ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
273ms
And
Check if "Zaakceptowany" status is visible in mode of transportation table
030ms
And
Go to "MODE_OF_TRANSPORTATION_TAB"
122ms
And
Disable mode of transportation by API
096ms
And
Show disabled mode of transportations in the table
069ms
And
Check if "Wyłączony" status is visible in mode of transportation table
15s 036ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//tr/td/a[contains(@href, '210993644')]//ancestor::*/td[@data-field-name='status-name']"}
(Session info: headless chrome=89.0.4389.90)
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=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.Pj4cd0}, 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=89.0.4389.90, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 7685a441a3e1f7cd5f61183278d8096c
*** Element info: {Using=xpath, value=//tr/td/a[contains(@href, '210993644')]//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:306)
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)