Commit a3cf9ea480e01c964680a22d4491a7801e68e8eb
1 parent
9d1d73d6
Exists in
master
and in
15 other branches
media-panel-upload-=files-feature: add a sleep 1 on attach files
Don't know exactly why but adding this make all tests pass.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
features/step_definitions/web_steps.rb
@@ -107,6 +107,7 @@ When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"(?: within "([^"]*)")?$/ do | @@ -107,6 +107,7 @@ When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"(?: within "([^"]*)")?$/ do | ||
107 | with_scope(selector) do | 107 | with_scope(selector) do |
108 | attach_file(field, path) | 108 | attach_file(field, path) |
109 | end | 109 | end |
110 | + sleep 1 | ||
110 | end | 111 | end |
111 | 112 | ||
112 | Then /^(?:|I )should see JSON:$/ do |expected_json| | 113 | Then /^(?:|I )should see JSON:$/ do |expected_json| |