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