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-1.2.0 features/step_definitions/headings_steps.rb
page-object-1.1.1 features/step_definitions/headings_steps.rb
page_object-1.1.3 features/step_definitions/headings_steps.rb
page_object-1.1.2 features/step_definitions/headings_steps.rb
page_object-1.1.1 features/step_definitions/headings_steps.rb
page-object-1.1.0 features/step_definitions/headings_steps.rb
page-object-lds-0.0.14 features/step_definitions/headings_steps.rb
page-object-lds-0.0.13 features/step_definitions/headings_steps.rb
page-object-lds-0.0.12 features/step_definitions/headings_steps.rb
page-object-lds-0.0.11 features/step_definitions/headings_steps.rb
page-object-lds-0.0.1 features/step_definitions/headings_steps.rb
page-object-1.0.3 features/step_definitions/headings_steps.rb
meeane-page-object-0.1.11 features/step_definitions/headings_steps.rb
page-object-1.0.2 features/step_definitions/headings_steps.rb
page-object-1.0.1 features/step_definitions/headings_steps.rb
page-object-1.0 features/step_definitions/headings_steps.rb
page-object-0.9.8 features/step_definitions/headings_steps.rb
page-object-0.9.7 features/step_definitions/headings_steps.rb
page-object-0.9.6 features/step_definitions/headings_steps.rb
page-object-0.9.5 features/step_definitions/headings_steps.rb