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