Sha256: 9f5a105e6cf792eaf4b251b2648c45d1157a08b09669494f371542a647de45a2

Contents?: true

Size: 470 Bytes

Versions: 43

Compression:

Stored size: 470 Bytes

Contents

Then /^I touch the "([^"]*)" button on the action sheet$/ do |button_title|
  timeout = 1.0
  msg = "waited for '#{timeout}' seconds but did not see sheet with button '#{button_title}'"
  options = {:timeout => timeout,
             :retry_frequency => BRIAR_WAIT_RETRY_FREQ,
             :post_timeout => BRIAR_WAIT_STEP_PAUSE,
             :timeout_message => msg}
  wait_for(options) do
    not query('actionSheet').empty?
  end
  touch_sheet_button button_title
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
briar-2.0.5 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-2.0.4 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-2.0.3 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-2.0.2 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-2.0.1 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-2.0.0 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.4.2 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.4.1 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.3.2 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.3.1 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.3.0 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.2.2 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.2.1 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.2.0 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.1.9 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.1.8 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.1.7 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.1.6 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.1.5 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
briar-1.1.4 features/step_definitions/alerts_and_sheets/action_sheet_steps.rb