Merge branch 'master' into 2919-provenance-graph-cutoff
[arvados.git] / apps / workbench / test / integration / pipeline_instances_test.rb
index e10068f1620c965d1abb4064afa2c37cb348c38a..b676dc74fc316da7f3c6cd2d15d64f09b56261e2 100644 (file)
@@ -31,9 +31,9 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
     visit instance_page
 
     page.assert_selector 'a.disabled,button.disabled', text: 'Run'
-    assert find('div.alert', text: 'Provide a value')
+    assert find('p', text: 'Provide a value')
 
-    find('div.form-group', text: 'Input for part-one component').
+    find('div.form-group', text: 'Foo/bar pair').
       find('a,input').
       click
     find('.editable-input select').click
@@ -52,5 +52,9 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
 
     # Pipeline is stopped. We have the option to resume it.
     page.assert_selector 'a,button', text: 'Run'
+
+    # Go over to the graph tab
+    click_link 'Graph'
+    assert page.has_css? 'div#provenance_graph'
   end
 end