Skip to content
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

Merged
merged 2 commits into from
Feb 8, 2018

Conversation

SkorikSergey
Copy link
Contributor

What does this PR do?

This PR increases timeouts for checking workspace statuses on Dashboard.

What issues does this PR fix or reference?

#8677

@SkorikSergey SkorikSergey added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. team/che-qe labels Feb 8, 2018
@SkorikSergey SkorikSergey changed the title Selenium: increase timeouts for checking workspace statuses on Workspaces list Selenium: increase timeout for checking workspace statuses on Workspaces list Feb 8, 2018
@@ -101,7 +102,7 @@ public String getWorkspaceStatus(String workspaceName) {
}

public void waitWorkspaceStatusIs(String workspaceName, String workspaceStatus) {
Copy link
Contributor

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)
Copy link
Contributor

@dmytro-ndp dmytro-ndp Feb 8, 2018

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)
Copy link
Contributor

@dmytro-ndp dmytro-ndp Feb 8, 2018

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.

@SkorikSergey SkorikSergey merged commit e659a75 into master Feb 8, 2018
@SkorikSergey SkorikSergey deleted the fixWorkspacesListTest branch February 8, 2018 15:12
@SkorikSergey SkorikSergey removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Feb 8, 2018
@benoitf benoitf added this to the 6.1.0 milestone Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants