Sha256: b554bed7e46594adecb01eb4cc3c342f8bf637b7a6c1aedbc994d62cc53ff0b2
Contents?: true
Size: 814 Bytes
Versions: 4
Compression:
Stored size: 814 Bytes
Contents
When(/^I set the text identified by "(.*?)" to "(.*?)"$/) do |how, text| on(DetailPage).send("text_#{how}=", text) end Then(/^the text identified by "(.*?)" should be "(.*?)"$/) do |how, text| on(DetailPage).send("text_#{how}").should eq(text) end Then(/^we know if a text field is both editable and not editable$/) do first_field = "textField placeholder:'First Field'" on(DetailPage) do |screen| frankly_map(first_field, 'setEnabled:', false) screen.should_not be_text_placeholder_editable frankly_map(first_field, 'setEnabled:', true) screen.should be_text_placeholder_editable end end Then(/^we can interact with the raw text view identified by "(.*?)"$/) do |how| text_view = on(DetailPage).send("text_#{how}_view") text_view.should be_kind_of(Furter::Accessors::View) end
Version data entries
4 entries across 4 versions & 1 rubygems