[ARVADOS] updated: bf243e064a7a2ee4e69a87dc3ba46e949a545150
git at public.curoverse.com
git at public.curoverse.com
Mon Sep 15 11:28:09 EDT 2014
Summary of changes:
apps/workbench/test/integration/collections_test.rb | 12 ++++++++++++
1 file changed, 12 insertions(+)
via bf243e064a7a2ee4e69a87dc3ba46e949a545150 (commit)
from 9a88a95c52bf3b1da8152ab382de5b78be8568eb (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 bf243e064a7a2ee4e69a87dc3ba46e949a545150
Author: radhika <radhika at curoverse.com>
Date: Mon Sep 15 11:27:45 2014 -0400
no issue # fix failing test to use selenium driver
diff --git a/apps/workbench/test/integration/collections_test.rb b/apps/workbench/test/integration/collections_test.rb
index 17a59f8..6eed8d3 100644
--- a/apps/workbench/test/integration/collections_test.rb
+++ b/apps/workbench/test/integration/collections_test.rb
@@ -52,6 +52,10 @@ class CollectionsTest < ActionDispatch::IntegrationTest
end
test "combine selected collections into new collection" do
+ headless = Headless.new
+ headless.start
+ Capybara.current_driver = :selenium
+
foo_collection = api_fixture('collections')['foo_file']
bar_collection = api_fixture('collections')['bar_file']
@@ -79,9 +83,15 @@ class CollectionsTest < ActionDispatch::IntegrationTest
assert(page.has_text?('foo'), "Collection page did not include foo file")
assert(page.has_no_text?(bar_collection['name']), "Collection page did not include foo file")
assert(page.has_text?('bar'), "Collection page did not include bar file")
+
+ headless.stop
end
test "combine selected collection files into new collection" do
+ headless = Headless.new
+ headless.start
+ Capybara.current_driver = :selenium
+
foo_collection = api_fixture('collections')['foo_file']
visit page_with_token('active', "/collections")
@@ -103,5 +113,7 @@ class CollectionsTest < ActionDispatch::IntegrationTest
assert(page.has_text?('Copy to project'), "Copy to project text not found in new collection page")
assert(page.has_no_text?(foo_collection['name']), "Collection page did not include foo file")
assert(page.has_text?('foo'), "Collection page did not include foo file")
+
+ headless.stop
end
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list