Sha256: 954d8772db4ed322fbdf4501cbb68a5aea687b07e04b6d37adbe6ce5693f280e
Contents?: true
Size: 825 Bytes
Versions: 2
Compression:
Stored size: 825 Bytes
Contents
Given /^I am on the Showcase Dialog Box page$/ do visit DialogBoxPage @current_page.wait_until do @current_page.show_dialog? end end When /^I click the 'Show Dialog Box' button$/ do @current_page.show_dialog end Then /^I see the showcase dialog box$/ do @current_page.dialog_box.should be_visible end And /^I dialog box caption says "([^"]*)"$/ do |caption| @current_page.dialog_box.caption.should == caption end And /^I dialog box content contains "([^"]*)"$/ do |text| @current_page.dialog_box.content.include?(text).should == true end When /^I close the showcase dialog box$/ do @current_page.dialog_box.close @current_page.wait_until do @current_page.dialog_box.visible? == false end end Then /^the showcase dialog box is hidden$/ do @current_page.dialog_box.should_not be_visible end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gwt_widgets-0.0.7 | features/step_definitions/dialogbox_steps.rb |
gwt_widgets-0.0.6 | features/step_definitions/dialogbox_steps.rb |