mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 21:08:48 +01:00
do a small sleep to hopefully aviod an Element not found error
This commit is contained in:
parent
4aa5933946
commit
fbfc9c7086
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ When /^I edit the state of context "(.*?)" to closed$/ do |context_name|
|
|||
|
||||
# wait for the form to go away
|
||||
page.should_not have_css("button#submit_context_#{context.id}", :visible => true)
|
||||
sleep 0.10
|
||||
# wait for the changed context to appear
|
||||
page.should have_css("a#link_edit_context_#{context.id}", :visible=> true)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue