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()); }