Sha256: 996555e10c75acdb07cce9cd762216cceaa5616c32ab897b596f8fe6577a8c12
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
Dir[File.dirname(__FILE__) + "/../../pages/*.rb"].each do |file| require file end Then /^I should can knows if this page has a textfield$/ do @page.text_field_is_real? @page.close end Then /^I should be able to write a text like "(.*?)" in the textfield$/ do |text| @page.text_field_fill_with(text) @page.close end Then /^I shoud be able to get the text "(.*?)" from this textfield$/ do |text| @page.text_field_get_text == text @page.close end Then /^I should be able to know if the text on the textfield does not contais the text "(.*?)"$/ do |text| @page.text_field_dont_contain(text) @page.close end Then /^I should be able to know if the text on the textfield contais the text "(.*?)"$/ do |text| @page.text_field_contains(text) @page.close end Then /^I should be able to know if the text on the textfield is the text "(.*?)"$/ do |text| @page.text_field_text_is(text) @page.close end Then /^I should be able to know if the textfield is empty$/ do @page.text_field_is_empty? @page.close end Then /^I should be able to know if the size of the textfield text is "(.*?)"$/ do |size| @page.text_field_text_size == size @page.close end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.12 | features/step_definitions/textfield.rb |