Sha256: 9289075c7ffb7d87cbbb56da03c573a2eaf2bee0935c73b20f433dffb9adc846

Contents?: true

Size: 545 Bytes

Versions: 12

Compression:

Stored size: 545 Bytes

Contents

When(/^I retrieve the area element$/) do
  @element = @page.area_id_element
end

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|
  expect(@element.coords).to eql coords
end

Then(/^I should see the shape are "([^"]*)"$/) do |shape|
  expect(@element.shape).to eql shape
end

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

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/area_steps.rb
druid-ts-1.2.6 features/step_definations/area_steps.rb
druid-ts-1.2.5 features/step_definations/area_steps.rb
druid-ts-1.2.4 features/step_definations/area_steps.rb
druid-ts-1.2.3 features/step_definations/area_steps.rb
druid-ts-1.2.2 features/step_definations/area_steps.rb
druid-ts-1.2.1 features/step_definations/area_steps.rb
druid-ts-1.2.0 features/step_definations/area_steps.rb
druid-ts-1.1.8 features/step_definations/area_steps.rb
druid-ts-1.1.7 features/step_definations/area_steps.rb
druid-ts-1.1.6 features/step_definations/area_steps.rb
druid-ts-1.1.5 features/step_definations/area_steps.rb