Skip to content

Commit

Permalink
Added new step for checking that our dialog box is visibile.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jul 6, 2010
1 parent 8539b45 commit 87c4e64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features/step_definitions/selenium_steps.rb
Expand Up @@ -214,4 +214,8 @@

Then /^a flash message should be displayed via AJAX$/ do
selenium.wait_for_element("css=div.flash", :timeout_in_seconds => 10)
end

Then /^a dialog box should appear$/ do
selenium.wait_for_visible("css=div.dialog", :timeout_in_seconds => 10)
end

0 comments on commit 87c4e64

Please sign in to comment.