public void TestNoShareLinksOnMissingGamesPage()
 {
     SeleniumExtensions.ExecuteOnMultipleBrowsers(driver =>
     {
         SignInHelper.GoToMissingGamesPage(driver);
         AssertNoShareLinks(driver);
     });
 }
Esempio n. 2
0
 public void TestMissingGamesLinks()
 {
     SeleniumExtensions.ExecuteOnMultipleBrowsers(driver =>
     {
         SignInHelper.GoToMissingGamesPage(driver);
         Assert.IsTrue(driver.FindElement(By.Id(SiteConstants.CachedGamesPanelId)).Displayed, "Expected cached games pane to be visible in missing games page");
         Assert.IsFalse(driver.FindElement(By.Id(SiteConstants.MissingGamesLinkId)).Displayed, "Expected missing games link to be hidden in missing games page");
     });
 }
Esempio n. 3
0
 public void TestMissingGames()
 {
     SeleniumExtensions.ExecuteOnMultipleBrowsers(driver =>
     {
         SignInHelper.GoToMissingGamesPage(driver);
         driver.WaitUntil(d =>
         {
             var games = TableHelper.ParseGameTable(d);
             return(games.Length >= 10 && games.All(g => g.MissingCorrelation));
         }, Invariant($"Could not verify missing games page"));
     });
 }