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

Stabilize part for waiting Dashboard in WorkspaceCreationAndLsInitialization test #13850

Merged
merged 3 commits into from
Jul 15, 2019

Conversation

musienko-maxim
Copy link
Contributor

What does this PR do?

Improve openDashboard method in the Dashboard page object. Before the driverHelper.navigateTo(TestConstants.TS_SELENIUM_BASE_URL); method compare TestConstants.TS_SELENIUM_BASE_URL and url from dashboard. But actually this url's can be not equal. Because after consuming the TestConstants.TS_SELENIUM_BASE_URL dashboard add dashboard/#/ suffix to the TS_SELENIUM_BASE_URL. The reason what the test passed earlier - looks like Webdriver could catch Dashboar url before redirection and urls matched.
This PR fix this problem.

@@ -49,8 +49,9 @@ export class Dashboard {
}

async openDashboard(timeout: number = TestConstants.TS_SELENIUM_LOAD_PAGE_TIMEOUT) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timeout parameter is not used in this method...

@rhopp
Copy link
Contributor

rhopp commented Jul 15, 2019

I've approved the PR, but let's wait for the PR check to finish before merging...

@SkorikSergey
Copy link
Contributor

ci-build

@musienko-maxim musienko-maxim merged commit bf688d8 into master Jul 15, 2019
@musienko-maxim musienko-maxim deleted the fix_PR_checker_test branch July 15, 2019 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants