def await(timeout: Calabash::Wait.default_options[:timeout])
      timeout_message = lambda do |wait_options|
        "Timed out waiting for page #{self.class}: Waited #{wait_options[:timeout]} seconds for trait #{trait} to match a view"
      end

      cal.wait_for_view(trait, timeout: timeout, timeout_message: timeout_message)
    end
def await(timeout: Calabash::Wait.default_options[:timeout])
      timeout_message = lambda do |wait_options|
        "Timed out waiting for page #{self.class}: Waited #{wait_options[:timeout]} seconds for trait #{trait} to match a view"
      end

      cal.wait_for_view(trait, timeout: timeout, timeout_message: timeout_message)
    end
Waits for the view identified by the page {Calabash::Page#trait trait} to
 appear.

 @note If you need a more precise waiting method for a page, then
  just overwrite this method.

 @param [Number] timeout (default: {Calabash::Wait.default_options
  Calabash::Wait.default_options[:timeout]}) The time to continuously
  query before failing.
 @raise [Calabash::Wait::UnexpectedMatchError] if no view matching
  {Calabash::Page#trait trait} is found within `timeout`.