Sha256: 5fcbeaf45cf4987b479f16f9de5364df1cecfe2f9c083f7daaf74ce51fc144bc

Contents?: true

Size: 306 Bytes

Versions: 12

Compression:

Stored size: 306 Bytes

Contents

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

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

When /^I search bold text for the (\w+) by "([^"]*)"$/ do |text_decorator, type|
  @b = @page.send "#{text_decorator}_#{type}"
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
page-object-1.2.0 features/step_definitions/bold_steps.rb
page-object-1.1.1 features/step_definitions/bold_steps.rb
page_object-1.1.3 features/step_definitions/bold_steps.rb
page_object-1.1.2 features/step_definitions/bold_steps.rb
page_object-1.1.1 features/step_definitions/bold_steps.rb
page-object-1.1.0 features/step_definitions/bold_steps.rb
page-object-lds-0.0.14 features/step_definitions/bold_steps.rb
page-object-lds-0.0.13 features/step_definitions/bold_steps.rb
page-object-lds-0.0.12 features/step_definitions/bold_steps.rb
page-object-lds-0.0.11 features/step_definitions/bold_steps.rb
page-object-lds-0.0.1 features/step_definitions/bold_steps.rb
page-object-1.0.3 features/step_definitions/bold_steps.rb