fix some tests

This commit is contained in:
Reinier Balt 2010-10-24 23:19:11 +02:00
parent fb39d841a7
commit 8697fd2035
4 changed files with 12 additions and 7 deletions

View file

@ -19,8 +19,8 @@ When /^I edit the context to rename it to "([^\"]*)"$/ do |new_name|
selenium.click "submit_context_#{@context.id}",
:wait_for => :text,
:element => "flash",
:text => "Context saved"
:text => "Context saved",
:timeout => 5
wait_for do
selenium.is_element_present("edit_context_#{@context.id}")