Ejemplo n.º 1
0
 public void GivenIClickTheButton()
 {
     // The webdriver might be too fast and the Blazor component's state
     // might not have enough time to reload, thus making the unit tests
     // unreliable: sometimes failing, others, passing.
     ActionWaits.StateWait(() => indexPage.ClickBidiButton());
 }
 public void GivenIClickTheRotateButton()
 {
     ActionWaits.ApiWait(() => _indexPage.RotateCWButton.Click());
 }
Ejemplo n.º 3
0
 public void GivenIRightClickTheButton()
 {
     ActionWaits.StateWait(() => indexPage.RightClickButton());
 }
Ejemplo n.º 4
0
 public void GivenIOpenTheIndexPage()
 {
     // Goes to index page and sleeps the thread for a while to give a
     // chance for the Blazor page to load
     ActionWaits.PageWait(() => indexPage.OpenIndexPage());
 }
Ejemplo n.º 5
0
 public void GivenIClickTheThumbnailForPage(int p0)
 {
     ActionWaits.PageWait(() => _indexPage.Thumbnails.ElementAt(p0).Click());
 }
Ejemplo n.º 6
0
 public void GivenIClickTheNextPageButton()
 {
     ActionWaits.PageWait(() => _indexPage.NextPageButton.Click());
 }
 public void GivenIClickTheZoomDecreaseButton()
 {
     ActionWaits.PageWait(() => _indexPage.ZoomOutButton.Click());
 }