public virtual void MarkKingCanMakeAjaxRequests() { using (var browser = new Browser { AutoSignIn = true, UserName = "******", Password = "******" }) { browser.GoTo(Bugz.RawUrl); Assert.That(browser.Body.Text, Is.Not.Empty, "Authorized users can make AJAX requests."); } }
public virtual void MarkKingCanSeeCategorizer() { using (var browser = new Browser { AutoSignIn = true, UserName = "******", Password = "******" }) { browser.GoTo(Bugz.Categorized.Url); var page = browser.Page<FogBugzPage>(); Assert.That(page.Categorizer.Exists, Is.True, "Authorized users can see the FogBugz categorizer."); } }
public virtual void BeforeEachFixture() { _browser = new Browser { AutoSignIn = true, UserName = UserName, Password = "******" }; _page = _browser.Page<FogBugzPage>(); }
public virtual void AfterEachFixture() { _browser.Dispose(); _browser = null; }