Sha256: 24c47f043424eefa16f7303f6c1854a78871994ed7e9b8e899018fe724153f49

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 Bytes

Contents

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

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

When(/^I search for the video element by "([^"]*)" and "([^"]*)"$/) do |param1, param2|
  @element = @page.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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
druid-ts-1.2.0 features/step_definations/video_steps.rb
druid-ts-1.1.8 features/step_definations/video_steps.rb
druid-ts-1.1.7 features/step_definations/video_steps.rb
druid-ts-1.1.6 features/step_definations/video_steps.rb
druid-ts-1.1.5 features/step_definations/video_steps.rb