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.9.4 features/step_definitions/headings_steps.rb
page-object-0.9.3 features/step_definitions/headings_steps.rb
page-object-0.9.2 features/step_definitions/headings_steps.rb
page-object-0.9.1 features/step_definitions/headings_steps.rb
page-object-0.9.0 features/step_definitions/headings_steps.rb
page-object-0.8.10 features/step_definitions/headings_steps.rb
page-object-0.8.9 features/step_definitions/headings_steps.rb
page-object-0.8.8 features/step_definitions/headings_steps.rb
page-object-0.8.7 features/step_definitions/headings_steps.rb
page-object-0.8.6.1 features/step_definitions/headings_steps.rb
page-object-0.8.6 features/step_definitions/headings_steps.rb
page-object-0.8.5 features/step_definitions/headings_steps.rb
page-object-0.8.4 features/step_definitions/headings_steps.rb
page-object-0.8.3 features/step_definitions/headings_steps.rb
page-object-0.8.2 features/step_definitions/headings_steps.rb
page-object-0.8.1 features/step_definitions/headings_steps.rb
page-object-0.8 features/step_definitions/headings_steps.rb
page-object-0.7.6 features/step_definitions/headings_steps.rb
page-object-0.7.5.1 features/step_definitions/headings_steps.rb
page-object-0.7.5 features/step_definitions/headings_steps.rb