public void SearchForIssue(string issueIdentifier) { using (var page = new BasePage(_Af)) { page.Search(issueIdentifier); } }
public void CreateNewBugIssue(string id) { const string widgetId = "create-issue-dialog"; using (var page = new BasePage(_Af)) { var testMessage = "Test bug issue " + id; page.PressCreateIssueButton(); var createIssue = new CreateIssueWidget(widgetId, _Af); createIssue.SelectIssueType("Bug"); createIssue.EnterSummary(testMessage); createIssue.EnterDescription(testMessage); createIssue.PressSubmitButton(); WaitForWidgetToDisappear(widgetId); } }