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()); }
public void GivenIRightClickTheButton() { ActionWaits.StateWait(() => indexPage.RightClickButton()); }
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()); }
public void GivenIClickTheThumbnailForPage(int p0) { ActionWaits.PageWait(() => _indexPage.Thumbnails.ElementAt(p0).Click()); }
public void GivenIClickTheNextPageButton() { ActionWaits.PageWait(() => _indexPage.NextPageButton.Click()); }
public void GivenIClickTheZoomDecreaseButton() { ActionWaits.PageWait(() => _indexPage.ZoomOutButton.Click()); }