public void WaitForAbsent_ExistsForFailQuickly_ByDriver() { try { FlutterDriver.WaitForAbsent(ControlThatAlwaysExists, timeoutInSeconds: 1); Assert.Fail($"We should never see this statement - the control being searched for ALWAYS EXISTS; so an exception should have been thrown. "); } catch (OpenQA.Selenium.WebDriverException ex) { ex.Message.Should().Contain("Timeout while executing waitForAbsent"); } }
public void NavigateToPageback() { FlutterDriver.Click(FlutterBy.Text("Navigate to Finders and Position Test Page")); FlutterDriver.WaitForAbsent(FlutterBy.Text("Navigate to Finders and Position Test Page")); }
public void WaitForAbsent_NeverExists_ByDriver() { FlutterDriver.WaitForAbsent(ControlThatNeverExists); }