Sha256: 4c0294c29d4ac2bf9e86a39c71db4a29172489121a856463ead8f567f43c26e2

Contents?: true

Size: 763 Bytes

Versions: 7

Compression:

Stored size: 763 Bytes

Contents

When(/^I retrieve the video element$/) do
  @element = @avpage.video_id_element
end

When(/^I search for the video element by "([^"]*)"$/) do |how|
  @element = @avpage.send "video_#{how}_element"
end

When(/^I search for the video element by "([^"]*)" and "([^"]*)"$/) do |param1, param2|
  @element = @avpage.send "video_#{param1}_#{param2}_element"
end

Then(/^I should know the video is not autoplay$/) do
  expect(@element).not_to be_autoplay
end

Then(/^I should know that the video is paused$/) do
  expect(@element).to be_paused
end

Then(/^I should know that its height is (\d+) pixels$/) do |height|
  @element.height.should == height.to_i
end

Then(/^I should knot what its width is (\d+) pixels$/) do |width|
  @element.width.should == width.to_i
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/video_steps.rb
druid-ts-1.2.6 features/step_definations/video_steps.rb
druid-ts-1.2.5 features/step_definations/video_steps.rb
druid-ts-1.2.4 features/step_definations/video_steps.rb
druid-ts-1.2.3 features/step_definations/video_steps.rb
druid-ts-1.2.2 features/step_definations/video_steps.rb
druid-ts-1.2.1 features/step_definations/video_steps.rb