X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/83561af02e156758b09ea771510ad4f9ee506b06..740d71d2b7a797bb2dd2e1e427c12e84c86b9ce6:/apps/workbench/test/integration/pipeline_instances_test.rb diff --git a/apps/workbench/test/integration/pipeline_instances_test.rb b/apps/workbench/test/integration/pipeline_instances_test.rb index f5d6e633f3..6385393b24 100644 --- a/apps/workbench/test/integration/pipeline_instances_test.rb +++ b/apps/workbench/test/integration/pipeline_instances_test.rb @@ -44,6 +44,9 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest within('.modal-dialog') do find('.btn', text: 'Add').click end + using_wait_time(Capybara.default_wait_time * 3) do + wait_for_ajax + end click_link 'Jobs and pipelines' find('tr[data-kind="arvados#pipelineInstance"]', text: 'New pipeline instance'). @@ -57,6 +60,8 @@ class PipelineInstancesTest < ActionDispatch::IntegrationTest click within('.modal-dialog') do + assert(has_text?("Foo/bar pair"), + "pipeline input picker missing name of input") first('span', text: 'foo_tag').click find('button', text: 'OK').click end @@ -114,6 +119,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