public void CreateBranch() { BranchesPage.GoTo(); BranchesPage.CreateNewBranch("NewTestBranch") .WithCode().Create(); BranchesPage.ViewNewBranch("NewTestBranch"); Assert.AreEqual("NewTestBranch", ViewBranchPage.BranchName, "Names are not matched"); }
public void SearchForBranch() { BranchesPage.GoTo(); BranchesPage.SearchForBranch("NewTestBranch"); BranchesPage.ItemAction.View(); Assert.AreEqual("NewTestBranch", ViewBranchPage.BranchName, "Branch not found"); }