Sha256: 0ed2f35e3348bf88b79994f65f62c4727f4c3d0ad436d9146f6f6d9144fe8181

Contents?: true

Size: 732 Bytes

Versions: 7

Compression:

Stored size: 732 Bytes

Contents

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

When /^I clear the text$/ do
  page.clear_text
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

7 entries across 7 versions & 1 rubygems

Version Path
acouchi-0.0.14 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.13 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.12 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.11 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.10 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.9 examples/AcouchiSample/features/step_definitions/steps.rb
acouchi-0.0.8 examples/AcouchiSample/features/step_definitions/steps.rb