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: add checking that the Authorize button exists in the ImportProjectFromGitHubTest test #8142

Merged
merged 4 commits into from
Jan 4, 2018

Conversation

SkorikSergey
Copy link
Contributor

@SkorikSergey SkorikSergey commented Jan 3, 2018

What does this PR do?

This PR adds checking that the Authorize button exists in the ImportProjectFromGitHubTest test!

@SkorikSergey SkorikSergey added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/production labels Jan 3, 2018
@@ -116,11 +117,10 @@ private void connectGithubAccount() {
gitHub.typeLogin(gitHubUsername);
gitHub.typePass(gitHubPassword);
gitHub.clickOnSignInButton();
loader.waitOnClosed();
WaitUtils.sleepQuietly(5);
Copy link
Contributor

Choose a reason for hiding this comment

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

It is better to find another solution.

@@ -247,6 +247,8 @@ public void waitAuthorizeBtn() {
/** click on authorize button */
public void clickOnAuthorizeBtn() {
waitAuthorizeBtn();
new WebDriverWait(seleniumWebDriver, 10)
Copy link
Contributor

Choose a reason for hiding this comment

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

Use timeout constant

@SkorikSergey SkorikSergey merged commit 907ac20 into master Jan 4, 2018
@SkorikSergey SkorikSergey deleted the fixImportProjectFromGitHubTest branch January 4, 2018 14:16
@SkorikSergey SkorikSergey changed the title Selenium: add timeout to the ImportProjectFromGitHubTest selenium test Selenium: add checking that the Authorize button exists in the ImportProjectFromGitHubTest test Jan 4, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jan 4, 2018
@benoitf benoitf added this to the 6.0.0-M5 milestone Jan 4, 2018
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.

None yet

3 participants