Example #1
0
 public void ScrollToKoniecTest()
 {
     var taskPage = new Task10(this.Driver);
     for (int i = 0; i < 6; i++)
     {
         taskPage.GetTextContainer().SendKeys(Keys.PageDown);
     }
     Assert.True(taskPage.Contains("Koniec"));
 }
Example #2
0
 public void KoniecNotVisibleTest()
 {
     var taskPage = new Task10(this.Driver);
     Assert.False(taskPage.Contains("<h3>Koniec</h3>"));
 }