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.7.4 features/step_definitions/area_steps.rb
page-object-0.7.3 features/step_definitions/area_steps.rb
page-object-0.7.2 features/step_definitions/area_steps.rb
page-object-0.7.1 features/step_definitions/area_steps.rb