[Git][noosfero/noosfero][master] media-panel-upload-=files-feature: add a sleep 1 on attach files
Rodrigo Souto
gitlab at mg.gitlab.com
Fri Jan 29 17:32:27 BRST 2016
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
a3cf9ea4 by Rodrigo Souto at 2016-01-29T16:31:22-03:00
media-panel-upload-=files-feature: add a sleep 1 on attach files
Don't know exactly why but adding this make all tests pass.
- - - - -
1 changed file:
- features/step_definitions/web_steps.rb
Changes:
=====================================
features/step_definitions/web_steps.rb
=====================================
--- a/features/step_definitions/web_steps.rb
+++ b/features/step_definitions/web_steps.rb
@@ -107,6 +107,7 @@ When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"(?: within "([^"]*)")?$/ do
with_scope(selector) do
attach_file(field, path)
end
+ sleep 1
end
Then /^(?:|I )should see JSON:$/ do |expected_json|
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/a3cf9ea480e01c964680a22d4491a7801e68e8eb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160129/f8d0edb2/attachment.html>
More information about the Noosfero-dev
mailing list