Sha256: 3ccb92a1f459330ba3003bd434fdcf712d1818991c39865f6ff92706f1c01d3a

Contents?: true

Size: 838 Bytes

Versions: 5

Compression:

Stored size: 838 Bytes

Contents

module SharedNavMenu
  def close
    close_button.click
    self.wait_until_hidden(3)
  end

  def verify_closed
    verify_ui_states(close_button => { visible: false })
  end

  def open_webview
    webview_button.click
  end

  def open_qr_code_scanner
    qr_code_button.click
  end

  def open_geo_location
    geo_location_button.click
  end

  def open_drawing
    drawing_button.click
  end

  def open_report_a_bug
    report_a_bug_button.click
  end

  def open_about
    about_button.click
  end

  def open_reset_app
    reset_app_button.click
  end

  def open_biometrics
    biometrics_button.click
  end

  def open_log_in
    log_in_button.click
  end

  def open_log_out
    log_out_button.click
  end

  def open_api_calls
    api_calls_button.click
  end

  def open_saucebot_video
    sauce_video_button.click
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
testcentricity-3.0.4 features/support/shared_components/sections/nav_menu.rb
testcentricity-3.0.3 features/support/shared_components/sections/nav_menu.rb
testcentricity-3.0.2 features/support/shared_components/sections/nav_menu.rb
testcentricity-3.0.1 features/support/shared_components/sections/nav_menu.rb
testcentricity-3.0.0 features/support/shared_components/sections/nav_menu.rb