Module: CapybaraTestHelpers::Synchronization

Included in:
TestHelper
Defined in:
lib/capybara_test_helpers/synchronization.rb

Overview

Internal: Provides helper functions to perform asynchronous assertions.

Defined Under Namespace

Classes: ExpectationError

Constant Summary collapse

EXPECTATION_ERRORS =

Internal: Errors that will be retried in a ‘synchronize_expectation` block.

[
  ExpectationError,
  Capybara::ElementNotFound,
  (Selenium::WebDriver::Error::StaleElementReferenceError if defined?(Selenium::WebDriver::Error::StaleElementReferenceError)),
].compact.freeze