Sha256: cea14f2629f9691411fcfa199967ed167e0fc623a6bd1f208ccac9b6c2346ac6

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

When(/^I get the image element$/) do
  @element = @page.image_id_image
end

Then(/^the image should be "(.*?)" pixels wide$/) do |width|
  expect(@element.width.to_s).to eql width
end

Then(/^the image should be "(.*?)" pixels tall$/) do |height|
  expect(@element.height.to_s).to eql height
end

When(/^I get the image element by "(.*?)"$/) do |how|
  @element = @page.send "image_#{how}_image".to_sym
end

When /^I get the image element bys "([^"]*)" and "([^"]*)"$/ do |param1, param2|
  @element = @page.send "image_#{param1}_#{param2}_image"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 features/step_definations/image_steps.rb