Given
Set token of apiUsername "super-admin-hochland"
256ms
And
Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company
266ms
And
Mark custom fields as not obligatory
4s 911ms
And
Set "advice" inputs from JSON file "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland"
000ms
And
Set custom field "Magazynier (R)" with "EDIT_TRANSFER_BETWEEN_WAREHOUSES_WAREHOUSEMAN_U_CFD" in "TRANSFER_BETWEEN_WAREHOUSES" - "hochland" by "super-admin-hochland"
388ms
And
Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland"
2s 011ms
And
Login as "hochland-admin"
10s 297ms
And
Show all transport types
1s 165ms
And
Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES"
1s 112ms
And
Set advice window in schedule
7s 571ms
And
Fill advice form
18s 869ms
And
Click advice save button and wait for advice form to disappear
33s 869ms
And
Go to "TRANSPORT_TABLE"
473ms
And
Find transport in table with status "advice-added"
3s 607ms
When
Confirm statuses until reach "during-load"
11s 515ms
Then
Check if confirm status modal appeared on confirming next status in transport "table"
659ms
And
Check if next status is not possible to confirm in status confirmation modal
323ms
And
Set "transport" inputs from JSON file "EDIT_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland"
000ms
And
Click cancel in status confirmation modal
15s 383ms
And
Go to transport details "TRANSFER_BETWEEN_WAREHOUSES"
2s 985ms
And
Open section: "advice-panel"
1s 166ms
And
Fill transport form
39s 847ms
And
Click "save-transport-and-close" save button and wait for form to disappear
15s 038ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@type='submit' and @data-field-name='save-transport-and-close']"}
(Session info: headless chrome=93.0.4577.63)
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: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.YcHu2J}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 13fedc522d7dee1a732dea1116ebf13a
*** Element info: {Using=xpath, value=//button[@type='submit' and @data-field-name='save-transport-and-close']}
at sun.reflect.GeneratedConstructorAccessor213.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.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:194)
at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:202)
at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:195)
And
Go to transport details "TRANSFER_BETWEEN_WAREHOUSES"
000ms
And
Open section: "advice-panel"
000ms
And
Fill "warehouseman-(u)" in transport form
000ms
And
Confirm statuses until reach "process-ended"
000ms
Then
Check if transport has "process-ended"
000ms