Sha256: 1ccf75e8adb9daa79dec67f5a0aaced2861596d840179ad68a206a5b8cf69e36
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
When /^I get the text from the span$/ do @text = @page.span_id end When /^I search for the span by "([^\"]*)"$/ do |how| @text = @page.send "span_#{how}".to_sym end When /^I search for the span by "([^"]*)" and "([^"]*)"$/ do |param1, param2| @text = @page.send "span_#{param1}_#{param2}".to_sym end When /^I get the text from a span while the script is executing$/ do @text = @page.span_element(:id => 'span_id').text end Then /^I should see that the span exists$/ do @page.span_id?.should == true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meeane-page-object-0.1.10 | features/step_definitions/span_steps.rb |
meeane-page-object-0.1.8 | features/step_definitions/span_steps.rb |