Commit a3cf9ea480e01c964680a22d4491a7801e68e8eb

Authored by Rodrigo Souto
1 parent 9d1d73d6

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 107 with_scope(selector) do
108 108 attach_file(field, path)
109 109 end
  110 + sleep 1
110 111 end
111 112  
112 113 Then /^(?:|I )should see JSON:$/ do |expected_json|
... ...