diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-10-09 19:07:28 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-10-09 19:07:28 +0300 |
commit | c4d3c05856faed8c305d29c871909ef22963a3cc (patch) | |
tree | 32e3434cf83e489f90dd6e1b2b3405c4c679542c /main/tests | |
parent | adfc823d15583f26e9491dc8e9f5211ef4e9ccca (diff) | |
parent | 600853622d1a063e93bea75332d165dcd769fa09 (diff) |
Merge pull request #1091 from kdubau/git-waitfor-sensitivity
[UITest] Wait for Commit button sensitivity
Diffstat (limited to 'main/tests')
-rw-r--r-- | main/tests/UserInterfaceTests/VersionControlTests/VCSBase.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/tests/UserInterfaceTests/VersionControlTests/VCSBase.cs b/main/tests/UserInterfaceTests/VersionControlTests/VCSBase.cs index 3a1ac15ff6..904dfa8e3d 100644 --- a/main/tests/UserInterfaceTests/VersionControlTests/VCSBase.cs +++ b/main/tests/UserInterfaceTests/VersionControlTests/VCSBase.cs @@ -85,6 +85,7 @@ namespace UserInterfaceTests protected void TestCommit (string commitMsg) { Session.ExecuteCommand (MonoDevelop.VersionControl.Commands.SolutionStatus); + Session.WaitForElement (c => c.Button ().Marked ("buttonCommit").Sensitivity (true)); Session.ClickElement (c => c.Button ().Marked ("buttonCommit"), false); Session.WaitForElement (c => c.Window ().Marked ("MonoDevelop.VersionControl.Dialogs.CommitDialog")); TakeScreenShot ("Commit-Dialog-Opened"); |