Sha256: a2582091ba36844e8ecb0a7becd1843e5edad833cf9b293b10cc5776bc85934e
Contents?: true
Size: 1.06 KB
Versions: 14
Compression:
Stored size: 1.06 KB
Contents
Then(/^the page title is "(.*?)"$/) do |title| page.should have_title(title) end Then(/^I see the element "(.*?)" with the text "(.*?)"$/) do |element, text| page.should have_css(element, text: text) end Then(/^page contains "(.*?)"$/) do |element| page.should have_css(element) end Then(/^I see element "(.*?)" "(.*?)" times$/) do |element, count| page.should have_css(element, count: count) end Then(/^page contains the button "(.*?)"$/) do |button| page.should have_buttton(button) end Then(/^page contains the field "(.*?)"$/) do |field| page.should have_field(field) end Then(/^page contains the link "(.*?)"$/) do |link| page.should have_link(link) end Then(/^page contains the table "(.*?)"$/) do |table| page.should have_table(table) end Then(/^the element "(.*?)" is checked$/) do |element| page.should have_checked_field(element) end Then(/^the element "(.*?)" is unchecked$/) do |element| page.should have_unchecked_field(element) end Then(/^the page contains the following content "(.*?)"$/) do |content| page.should have_content(content) end
Version data entries
14 entries across 14 versions & 1 rubygems