Sha256: 798687b60802a9343afc28a36a78cb7b55dbd39009123e53b91af29a943a0052

Contents?: true

Size: 744 Bytes

Versions: 1

Compression:

Stored size: 744 Bytes

Contents

When /^I write the text "(.*?)"$/ do |text|
  page.enter_text(0, text)
end

When /^I clear the text$/ do
  page.clear_edit_text(0)
end

Then /^I see "(.*?)"$/ do |text|
  page.should have_text text
end

Then /^I do not see "(.*?)"$/ do |text|
  page.should_not have_text text
end

Then /^I see one button$/ do
  page.buttons.size.should == 1
end

Then /^it has the text "(.*?)"$/ do |text|
  page.should have_button text
end

When /^I click the text "(.*?)"$/ do |text|
  page.click_text(text)
end

Then /^I see the content "(.*?)"$/ do |content|
  page.should have_content content
end

Then /^I see all views$/ do
  p page.views
end

Then /^I see text views$/ do
  p page.text_views
end

Then /^I see all content$/ do
  p page.all_content
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acouchi-0.0.7 examples/AcouchiSample/features/step_definitions/steps.rb