Ejemplo n.º 1
0
 protected void DeleteBranch(string branchName)
 {
     Assert.IsTrue(Session.SelectElement(c => branchDisplayName(c).Contains(branchName)));
     Session.ClickElement(c => IdeQuery.GitConfigurationDialog(c).Children().Button().Text("Delete"), false);
     TakeScreenShot(string.Format("Delete-Branch-{0}", branchName));
     Ide.ClickButtonAlertDialog("Delete");
     Session.WaitForElement(IdeQuery.GitConfigurationDialog);
 }
Ejemplo n.º 2
0
 protected void DeleteRemote(string remoteName)
 {
     Session.WaitForElement(c => remoteTreeName(c).Contains(remoteName));
     Session.ClickElement(c => IdeQuery.GitConfigurationDialog(c).Children().Button().Text("Remove"), false);
     TakeScreenShot(string.Format("Remove-Remote-{0}", remoteName));
     Ide.ClickButtonAlertDialog("Delete");
     Session.WaitForElement(IdeQuery.GitConfigurationDialog);
 }
Ejemplo n.º 3
0
 protected void DeleteBranch(string branchName)
 {
     SelectBranch(branchName);
     ReproStep("Press Delete");
     Session.ClickElement(c => IdeQuery.GitConfigurationDialog(c).Children().Button().Text("Delete"), false);
     TakeScreenShot(string.Format("Delete-Branch-{0}", branchName));
     ReproStep("If prompted for confirmation, press Delete");
     Ide.ClickButtonAlertDialog("Delete");
     Session.WaitForElement(IdeQuery.GitConfigurationDialog);
 }