Merge branch 'master' into 3296-user-profile
[arvados.git] / apps / workbench / test / integration / pipeline_instances_test.rb
index 56e2c6909fc12e204b8bdbcd4e1ca23ad4a32196..a27aff1029871029e77cec8e061dc22a16e3f72c 100644 (file)
@@ -44,6 +44,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
     within('.modal-dialog') do
       find('.btn', text: 'Add').click
     end
+    wait_for_ajax
 
     click_link 'Jobs and pipelines'
     find('tr[data-kind="arvados#pipelineInstance"]', text: 'New pipeline instance').
@@ -116,6 +117,7 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest
       click
 
     within('.modal-dialog') do
+      assert_selector 'button.dropdown-toggle', text: 'A Project'
       first('span', text: 'foo_tag').click
       find('button', text: 'OK').click
     end