Sha256: 4b74eb9b954657c06209d2c656ed13a365172e215bf9ea23371a2aa30a8456df

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 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

2 entries across 2 versions & 1 rubygems

Version Path
meeane-page-object-0.1.10 features/step_definitions/area_steps.rb
meeane-page-object-0.1.8 features/step_definitions/area_steps.rb