示例#1
0
 public void SearchForIssue(string issueIdentifier)
 {
     using (var page = new BasePage(_Af))
     {
         page.Search(issueIdentifier);
     }
 }
示例#2
0
        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);
            }
        }