features/step_definitions/frames_steps.rb in page-object-0.6.3 vs features/step_definitions/frames_steps.rb in page-object-0.6.4

- old
+ new

@@ -40,9 +40,13 @@ Then /^I should verify "([^\"]*)" is in the text field for frame 2 using "([^\"]*)"$/ do |text, arg_type| result = @page.send "text_field_2_#{arg_type}".to_sym result.should == text end +#Then /^I should be able to get the text fields text from frame 2 using "([^\"]*)"$/ do |arg_type| +# @page.send("text_field_2_#{arg_type}_element").text +#end + When /^I type "([^\"]*)" into the text field from frame 1 using "([^\"]*)"$/ do |text, arg_type| @page.send "text_field_1_#{arg_type}=".to_sym, text end Then /^I should verify "([^\"]*)" is in the text field for frame 1 using "([^\"]*)"$/ do |text, arg_type|