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

CHE-6024: Add selenium test for git revert action #6550

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Oct 3, 2017

What does this PR do?

Adds selenium test for git revert action

What issues does this PR fix or reference?

#6024

not required

Release Notes

not required

Docs PR

not required

@tolusha tolusha requested a review from vinokurig October 3, 2017 12:28
@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. labels Oct 3, 2017
@tolusha tolusha merged commit 0181b65 into master Oct 3, 2017
@tolusha tolusha deleted the CHE-6024 branch October 3, 2017 12:51
new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC)
.until(
ExpectedConditions.visibilityOfElementLocated(
By.xpath("//*[contains(text(),'" + revision + "')]")))
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks strange to search on revision number in the whole page. We can potentially find the revision number in the wrong place. IMHO, it's better to restrict search by Git revert commit panel.

@@ -98,16 +97,10 @@ public void clickOnGitStatusBarTab() {
}

/** wait expected message into the IDE git status bar */
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's update method docs as well.

@@ -287,6 +287,7 @@
<exclude name="pullConflictsTest"/>
</methods>
</class>
<class name="org.eclipse.che.selenium.git.RevertCommitTest"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, don't forget to add test to the CodenvyOnpremSuite.xml and CodenvySaasSuite.xml as well.

@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 Oct 3, 2017
@benoitf benoitf added this to the 5.19.0 milestone Oct 3, 2017
@codenvy-ci
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants