Sha256: e368d9a7ec1b7750be3725211adbbe327282d7b3146900c8ddef7d7f700a66b0

Contents?: true

Size: 642 Bytes

Versions: 1

Compression:

Stored size: 642 Bytes

Contents

Dir[File.dirname(__FILE__) + "/../../pages/*.rb"].each do |file| 
  require file 
end

Given /^I am on a page that has a textfield$/ do
  @page = StaticPages::Site::InputPage.new
end

Given /^I am on a page that has a textarea$/ do
  @page = StaticPages::Site::InputPage.new
end

Given /^I am on a page that has a checkbox$/ do
  @page = StaticPages::Site::InputPage.new
end

And /^There is a textfield with the text "(.*?)"$/ do |text|
  @page.text_field_fill_with(text)
end

And /^There is a textarea with the text "(.*?)"$/ do |text|
  @page.textarea_fill_with(text)
end

And /^There is a checkbox checked$/ do 
  @page.checkbox_check
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cello-0.0.12 features/step_definitions/common_steps.rb