public void ButtonPage_SelfButton() { _buttonPage.ClickButonTakeOneRegeneratingCarrot(); Assert.IsTrue(WaitForText(_buttonPage.TakeOneRegeneratingCarrotLabel, "Currently Regenerating!", 5)); }
public void ButtonPage_SelfButton() { _buttonPage.ClickButonTakeOneRegeneratingCarrot(); WaitUntil(x => _buttonPage.GeneratingCarrotsElement.Displayed); Assert.IsTrue(WaitForText(_buttonPage.GeneratingCarrotsLabel, "This button will regenerate in 5 seconds!", 5)); }