public void UrlComparisonTest1() { RunInAllBrowsers(browser => { browser.NavigateToUrl("/NoParentTest.aspx"); AssertUI.CheckUrl(browser, url => url.Contains("NoParentTest.aspx")); }); }
public void PathAndHostUrlMatchTest4() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "//localhosta/path1/path2", UrlKind.Absolute, UriComponents.Path, UriComponents.Host); }
public void PathUrlMatchTest4() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "https://localhost:12345/path1/path2/nonon", UrlKind.Absolute, UriComponents.Path); }
public void PathUrlMatchTest() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "/path1/path2", UrlKind.Relative, UriComponents.Path); }
public void HostUrlMatchTest2() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "https://localhosst:12345/", UrlKind.Absolute, UriComponents.Host); }
public void PortUrlMatchTest2() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "https://ex.com/", UrlKind.Absolute, UriComponents.Port); }
public void FragmentUrlMatchTest2() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "#fragment", UrlKind.Relative, UriComponents.Fragment); }
public void FragmentUrlMatchTest() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "//localhost:12345/path1/path2#fragment", UrlKind.Absolute, UriComponents.Fragment); }
public void QueryUrlMatchTest2() { var browser = new BrowserWrapper(new MockIWebDriver(), new MockISeleniumTest(), new ScopeOptions()); AssertUI.CheckUrl(browser, "?query=1", UrlKind.Relative, UriComponents.Query); }