Sha256: ffcd64b6708554096fdb01d242f438eb977d9a917077483f7b007e7a103496b1
Contents?: true
Size: 1.09 KB
Versions: 6
Compression:
Stored size: 1.09 KB
Contents
#include Briar::TextField Then /^I should see the "([^"]*)" text field$/ do |name| should_see_text_field name end Then /^I should not see "([^"]*)" text field$/ do |name| should_not_see_text_field name end Then /^I touch the clear button in the "([^"]*)" text field$/ do |name| should_see_clear_button_in_text_field name touch("textField marked:'#{name}' child button") step_pause end Then /^I should see a clear button in the text field in the "([^"]*)" row$/ do |row_id| query_str = "tableViewCell marked:'#{row_id}' child tableViewCellContentView child textField" res = query(query_str) screenshot_and_raise "expected to see text field in '#{row_id}' row" if res.empty? end Then /^I touch the clear button in the text field in the "([^"]*)" row$/ do |row_id| touch_text_field_clear_button_in_row row_id end Then(/^I should see "(.*?)" text field with text "(.*?)"$/) do |text_field_id, text| should_see_text_field_with_text text_field_id, text end Then /^I should see "([^"]*)" in the text field "([^"]*)"$/ do |text, text_field| should_see_text_field_with_text text_field, text end
Version data entries
6 entries across 6 versions & 1 rubygems