3235: Skip data-remote links in smoke test. They might not know format=html.
[arvados.git] / apps / workbench / test / integration / collections_test.rb
index 8978f73a5434d8da14904bab0b774c83a7768e21..8ac8fe4fb360c1a95683de09bbe8f621879fd301 100644 (file)
@@ -41,7 +41,8 @@ class CollectionsTest < ActionDispatch::IntegrationTest
   test "Collection page renders default name links" do
     uuid = api_fixture('collections')['foo_file']['uuid']
     coll_name = api_fixture('links')['foo_collection_name_in_aproject']['name']
-    visit page_with_token('active', "/collections/#{uuid}")
+    name_uuid = api_fixture('links')['foo_collection_name_in_aproject']['uuid']
+    visit page_with_token('active', "/collections/#{name_uuid}")
     assert(page.has_text?(coll_name), "Collection page did not include name")
     # Now check that the page is otherwise normal, and the collection name
     # isn't only showing up in an error message.