Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
256ms
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : Status potwierdzony przed czasem}
(Session info: headless chrome=91.0.4472.164): Status potwierdzony przed czasem
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.nXZW2d}, 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: 7264c1d3355f0cc641695f82fb604b37
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:118)
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.get(RemoteWebDriver.java:310)
at Pages.BasePage.load(BasePage.java:274)
at CucumberTests.BaseTest.loginAs(BaseTest.java:101)
at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:83)
at ✽.Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"(file:Features/Atom/Statuses/ConfirmStatuses.feature:343)
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "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 "testowy-różoffy-statusik"
000ms
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