features/step_definitions/table_steps.rb in briar-0.1.1 vs features/step_definitions/table_steps.rb in briar-0.1.2

- old
+ new

@@ -128,17 +128,19 @@ should_see_row row_id touch("tableViewCell marked:'#{row_id}' descendant button marked:'#{button_id}'") end Then /^I should see a switch for "([^"]*)" in the "([^"]*)" row that is in the "([^"]*)" position$/ do |switch_id, row_id, on_off| + warn 'WARN: deprecated 0.1.1 - write a custom step' should_see_switch_in_row_with_state switch_id, row_id, (on_off.eql? 'on') ? 1 : 0 end Then /^I should see a detail disclosure chevron in the "([^"]*)" row$/ do |row_id| should_see_disclosure_chevron_in_row row_id end Then /^I touch the "([^"]*)" switch in the "([^"]*)" row$/ do |switch_id, row_id| + warn 'WARN: deprecated 0.1.1 - write a custom step' touch_switch_in_row switch_id, row_id end Then /^I should see "([^"]*)" in the "([^"]*)" section (footer|header)$/ do |text, section_footer_id, head_or_foot| res = query("tableView child view marked:'#{section_footer_id} section #{head_or_foot}' child label", :text).first