-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selenium: increase timeout for checking workspace statuses on Workspaces list #8681
Conversation
@@ -101,7 +102,7 @@ public String getWorkspaceStatus(String workspaceName) { | |||
} | |||
|
|||
public void waitWorkspaceStatusIs(String workspaceName, String workspaceStatus) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ended "Is" looks strange at the end of method name. Could you, please, remove it?
@@ -101,7 +102,7 @@ public String getWorkspaceStatus(String workspaceName) { | |||
} | |||
|
|||
public void waitWorkspaceStatusIs(String workspaceName, String workspaceStatus) { | |||
new WebDriverWait(seleniumWebDriver, EXPECTED_MESS_IN_CONSOLE_SEC) | |||
new WebDriverWait(seleniumWebDriver, PREPARING_WS_TIMEOUT_SEC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a kind of bottleneck for OCP, which worth to be commented, IMHO.
@@ -240,7 +241,7 @@ public void waitWorkspaceIsPresent(String workspaceName) { | |||
|
|||
/** wait the workspace is not present on dashboard */ | |||
public void waitWorkspaceIsNotPresent(String workspaceName) { | |||
new WebDriverWait(seleniumWebDriver, LOADER_TIMEOUT_SEC) | |||
new WebDriverWait(seleniumWebDriver, EXPECTED_MESS_IN_CONSOLE_SEC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a kind of bottleneck for OCP, which worth to be commented, IMHO.
What does this PR do?
This PR increases timeouts for checking workspace statuses on Dashboard.
What issues does this PR fix or reference?
#8677