Beispiel #1
0
        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");
            }
        }
Beispiel #2
0
        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"));
        }
Beispiel #3
0
 public void WaitForAbsent_NeverExists_ByDriver()
 {
     FlutterDriver.WaitForAbsent(ControlThatNeverExists);
 }