Sha256: 140a6afc65b6d722c4c1335015e84e1c75c879704c2357e7f478bc2fef135903
Contents?: true
Size: 746 Bytes
Versions: 2
Compression:
Stored size: 746 Bytes
Contents
#include Briar::Alerts_and_Sheets Then /^I should see alert with "([^"]*)" button$/ do |button_id| should_see_alert_button button_id end Then /^I should see alert with title "([^"]*)"$/ do |title| unless query("alertView child label", :text).include?(title) screenshot_and_raise "i do not see an alert view with title '#{title}'" end end Then /^I should see alert with message "([^"]*)"$/ do |message| unless query("alertView child label", :text).include?(message) screenshot_and_raise "i do not see an alert view with message '#{message}'" end end Then /^I should not see an alert$/ do res = query("alertView") unless res.empty? screenshot_and_raise "i expected to see no alert view, but found '#{res}'" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
briar-0.0.5 | features/step_definitions/alerts_and_sheets/alert_view_steps.rb |
briar-0.0.4 | features/step_definitions/alerts_and_sheets/alert_view_steps.rb |