projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 2525-java-sdk
[arvados.git]
/
apps
/
workbench
/
test
/
integration
/
users_test.rb
diff --git
a/apps/workbench/test/integration/users_test.rb
b/apps/workbench/test/integration/users_test.rb
index 6df7ee3a612f89785559067c60de381ccb061299..765156376feb8de6946e6b6e8d21d8b25c1483d5 100644
(file)
--- 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@example.com"
fill_in "repo_name", :with => "test_repo"
click_button "Submit"
fill_in "email", :with => "foo@example.com"
fill_in "repo_name", :with => "test_repo"
click_button "Submit"
+ wait_for_ajax
end
visit '/users'
end
visit '/users'
@@
-119,9
+120,9
@@
class UsersTest < ActionDispatch::IntegrationTest
assert has_text? 'Virtual Machine'
fill_in "repo_name", :with => "test_repo"
click_button "Submit"
assert has_text? 'Virtual Machine'
fill_in "repo_name", :with => "test_repo"
click_button "Submit"
+ wait_for_ajax
end
end
- sleep(1)
assert page.has_text? 'modified_by_client_uuid'
click_link 'Metadata'
assert page.has_text? 'modified_by_client_uuid'
click_link 'Metadata'
@@
-138,9
+139,9
@@
class UsersTest < ActionDispatch::IntegrationTest
fill_in "repo_name", :with => "second_test_repo"
select("testvm.shell", :from => 'vm_uuid')
click_button "Submit"
fill_in "repo_name", :with => "second_test_repo"
select("testvm.shell", :from => 'vm_uuid')
click_button "Submit"
+ wait_for_ajax
end
end
- sleep(0.1)
assert page.has_text? 'modified_by_client_uuid'
click_link 'Metadata'
assert page.has_text? 'modified_by_client_uuid'
click_link 'Metadata'
@@
-203,9
+204,9
@@
class UsersTest < ActionDispatch::IntegrationTest
fill_in "repo_name", :with => "second_test_repo"
select("testvm.shell", :from => 'vm_uuid')
click_button "Submit"
fill_in "repo_name", :with => "second_test_repo"
select("testvm.shell", :from => 'vm_uuid')
click_button "Submit"
+ wait_for_ajax
end
end
- sleep(0.1)
assert page.has_text? 'modified_by_client_uuid'
click_link 'Metadata'
assert page.has_text? 'modified_by_client_uuid'
click_link 'Metadata'