Sha256: 8a880d544ca9bceb358c5d49d85f4382c0c2630b72f2bd20aa9df565a314e384

Contents?: true

Size: 634 Bytes

Versions: 4

Compression:

Stored size: 634 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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
acouchi-0.0.6 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.5 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.4 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.3 examples/AcouchiSample/features/step_definitions/steps.rb