Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
1s 873ms
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz"
482ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 274ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
168ms
When
Accept or reject "accept" transferred transport
21s 004ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
037ms
And
Click button advice in transport table "SMALLS_IMPORT"
396ms
And
Set advice window in schedule
2s 939ms
And
Fill advice form
14s 443ms
And
Click advice save button and wait for advice form to disappear
30s 792ms
And
If user is login then logout
110ms
And
Login as "swisskrono-admin"
2s 122ms
And
Show all transport types
1s 051ms
Then
Check if transport has "testowy-różoffy-statusik"
15s 508ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[contains(@data-status-name, 'testowy-różoffy-statusik')]"}
(Session info: headless chrome=91.0.4472.164)
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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-59-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.HeysgT}, 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=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 210ddbdc0212ab90c222d89440fe3f54
*** Element info: {Using=xpath, value=//td[contains(@data-status-name, 'testowy-różoffy-statusik')]}
at sun.reflect.GeneratedConstructorAccessor184.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 CucumberTests.StatusTests.StatusUtils.checkIfTransportHasStatus(StatusUtils.java:20)
at ✽.Check if transport has "testowy-różoffy-statusik"(file:Features/Atom/Statuses/ConfirmStatuses.feature:356)
And
Go to "SETTINGS_TAB"
000ms
When
Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT"
000ms
And
Delete created transport by API
000ms
Then
If user is login then logout
000ms
Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
000ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
000ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
000ms
When
Accept or reject "accept" transferred transport
000ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
000ms
And
Click button advice in transport table "SMALLS_IMPORT"
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
If user is login then logout
000ms
And
Login as "swisskrono-admin"
000ms
And
Show all transport types
000ms
Then
Check if transport has disabled status "testowy-różoffy-statusik"
000ms