[ARVADOS] updated: e30d71439ef3f928927977b92366562c38cec473
git at public.curoverse.com
git at public.curoverse.com
Wed May 14 14:21:23 EDT 2014
Summary of changes:
apps/workbench/test/integration/users_test.rb | 4 ++++
1 file changed, 4 insertions(+)
via e30d71439ef3f928927977b92366562c38cec473 (commit)
from b9d9994d81f26d742c1bf3b5c1623a6c7a099f0b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit e30d71439ef3f928927977b92366562c38cec473
Author: Tom Clegg <tom at curoverse.com>
Date: Wed May 14 14:21:05 2014 -0400
#2809: Add wait_for_ajax after submitting forms, to avoid race condition.
diff --git a/apps/workbench/test/integration/users_test.rb b/apps/workbench/test/integration/users_test.rb
index 6df7ee3..a019ec7 100644
--- a/apps/workbench/test/integration/users_test.rb
+++ b/apps/workbench/test/integration/users_test.rb
@@ -63,6 +63,7 @@ class UsersTest < ActionDispatch::IntegrationTest
fill_in "email", :with => "foo at example.com"
fill_in "repo_name", :with => "test_repo"
click_button "Submit"
+ wait_for_ajax
end
visit '/users'
@@ -119,6 +120,7 @@ class UsersTest < ActionDispatch::IntegrationTest
assert has_text? 'Virtual Machine'
fill_in "repo_name", :with => "test_repo"
click_button "Submit"
+ wait_for_ajax
end
sleep(1)
@@ -138,6 +140,7 @@ class UsersTest < ActionDispatch::IntegrationTest
fill_in "repo_name", :with => "second_test_repo"
select("testvm.shell", :from => 'vm_uuid')
click_button "Submit"
+ wait_for_ajax
end
sleep(0.1)
@@ -203,6 +206,7 @@ class UsersTest < ActionDispatch::IntegrationTest
fill_in "repo_name", :with => "second_test_repo"
select("testvm.shell", :from => 'vm_uuid')
click_button "Submit"
+ wait_for_ajax
end
sleep(0.1)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list