Sha256: 25f13d2831af06d2748623f5163c65a6aa854f54e7ef0d87d1210a5d7657d4d5

Contents?: true

Size: 1.06 KB

Versions: 40

Compression:

Stored size: 1.06 KB

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
  @element.should_not be_autoplay
end

Then /^I should know that the video is paused$/ do
  @element.should 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

Then /^I should know that it has not ended$/ do
  @element.should_not be_ended
end

Then /^I should know that it is not seeking$/ do
  @element.should_not be_seeking
end

Then /^I should know that it is not in a loop$/ do
  @element.should_not be_loop
end

Then /^I should know that it is muted$/ do
  @element.should_not be_muted
end

Version data entries

40 entries across 40 versions & 4 rubygems

Version Path
page_object-1.1.3 features/step_definitions/video_steps.rb
page_object-1.1.2 features/step_definitions/video_steps.rb
page_object-1.1.1 features/step_definitions/video_steps.rb
page-object-1.1.0 features/step_definitions/video_steps.rb
page-object-lds-0.0.14 features/step_definitions/video_steps.rb
page-object-lds-0.0.13 features/step_definitions/video_steps.rb
page-object-lds-0.0.12 features/step_definitions/video_steps.rb
page-object-lds-0.0.11 features/step_definitions/video_steps.rb
page-object-lds-0.0.1 features/step_definitions/video_steps.rb
page-object-1.0.3 features/step_definitions/video_steps.rb
meeane-page-object-0.1.11 features/step_definitions/video_steps.rb
page-object-1.0.2 features/step_definitions/video_steps.rb
page-object-1.0.1 features/step_definitions/video_steps.rb
page-object-1.0 features/step_definitions/video_steps.rb
page-object-0.9.8 features/step_definitions/video_steps.rb
page-object-0.9.7 features/step_definitions/video_steps.rb
page-object-0.9.6 features/step_definitions/video_steps.rb
page-object-0.9.5 features/step_definitions/video_steps.rb
page-object-0.9.4 features/step_definitions/video_steps.rb
page-object-0.9.3 features/step_definitions/video_steps.rb