Sha256: deadedabee76f0ce95dd99de451f4cc7e9a63722003403ab857341b883c2610a

Contents?: true

Size: 448 Bytes

Versions: 44

Compression:

Stored size: 448 Bytes

Contents

When /^I search for the area by "([^\"]*)"$/ do |how|
  @how = how
end

Then /^I should be able to click the area$/ do
  @page.send("area_#{@how}")
end

Then /^I should see the coordinates are "([^\"]*)"$/ do |coords|
  @element.coords.should == coords
end

Then /^I should see the shape is "([^\"]*)"$/ do |shape|
  @element.shape.should == shape
end

Then /^I should see the href is "([^\"]*)"$/ do |href|
  @element.href.should include href
end

Version data entries

44 entries across 44 versions & 4 rubygems

Version Path
page-object-0.9.4 features/step_definitions/area_steps.rb
page-object-0.9.3 features/step_definitions/area_steps.rb
page-object-0.9.2 features/step_definitions/area_steps.rb
page-object-0.9.1 features/step_definitions/area_steps.rb
page-object-0.9.0 features/step_definitions/area_steps.rb
page-object-0.8.10 features/step_definitions/area_steps.rb
page-object-0.8.9 features/step_definitions/area_steps.rb
page-object-0.8.8 features/step_definitions/area_steps.rb
page-object-0.8.7 features/step_definitions/area_steps.rb
page-object-0.8.6.1 features/step_definitions/area_steps.rb
page-object-0.8.6 features/step_definitions/area_steps.rb
page-object-0.8.5 features/step_definitions/area_steps.rb
page-object-0.8.4 features/step_definitions/area_steps.rb
page-object-0.8.3 features/step_definitions/area_steps.rb
page-object-0.8.2 features/step_definitions/area_steps.rb
page-object-0.8.1 features/step_definitions/area_steps.rb
page-object-0.8 features/step_definitions/area_steps.rb
page-object-0.7.6 features/step_definitions/area_steps.rb
page-object-0.7.5.1 features/step_definitions/area_steps.rb
page-object-0.7.5 features/step_definitions/area_steps.rb