Sha256: baa60d19de95e376388b9fc9c24fb9b3df78c67fe7aed20281a68cf6ba2645ac
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
require 'calabash-cucumber' module Briar module Alerts_and_Sheets def alert_button_exists? (button_id) query("alertView child button child label", :text).include?(button_id) end def should_see_alert_button (button_id) unless alert_button_exists? button_id screenshot_and_raise "could not find alert view with button '#{button_id}'" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
briar-0.0.5 | lib/briar/alerts_and_sheets/alert_view.rb |
briar-0.0.4 | lib/briar/alerts_and_sheets/alert_view.rb |