Sha256: fc686e373344dd236fbc2b138c52929fe03a2c2c84b5792075e89ca7666b2722

Contents?: true

Size: 299 Bytes

Versions: 67

Compression:

Stored size: 299 Bytes

Contents

When /^I get the text for the "([^\"]*)" element$/ do |el|
  @heading = @page.send "#{el}_id"
end

Then /^I should see "([^\"]*)"$/ do |text|
  @heading.should == text
end

When /^I search for the heading(\d+) by "([^"]*)"$/ do |head_type, type|
  @heading = @page.send "h#{head_type}_#{type}"
end

Version data entries

67 entries across 67 versions & 4 rubygems

Version Path
page-object-0.7.4 features/step_definitions/headings_steps.rb
page-object-0.7.3 features/step_definitions/headings_steps.rb
page-object-0.7.2 features/step_definitions/headings_steps.rb
page-object-0.7.1 features/step_definitions/headings_steps.rb
page-object-0.7.0 features/step_definitions/headings_steps.rb
page-object-0.6.9 features/step_definitions/headings_steps.rb
page-object-0.6.8 features/step_definitions/headings_steps.rb
page-object-0.6.7 features/step_definitions/headings_steps.rb
page-object-0.6.6 features/step_definitions/headings_steps.rb
page-object-0.6.5 features/step_definitions/headings_steps.rb
page-object-0.6.4 features/step_definitions/headings_steps.rb
page-object-0.6.3 features/step_definitions/headings_steps.rb
page-object-0.6.2 features/step_definitions/headings_steps.rb
page-object-0.6.1 features/step_definitions/headings_steps.rb
page-object-0.6 features/step_definitions/headings_steps.rb
page-object-0.5.5 features/step_definitions/headings_steps.rb
page-object-0.5.4 features/step_definitions/headings_steps.rb
page-object-0.5.3 features/step_definitions/headings_steps.rb
page-object-0.5.2 features/step_definitions/headings_steps.rb
page-object-0.5.1 features/step_definitions/headings_steps.rb