X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/400210f8c9d8b111a3efdaa76c8be579ea5666cb..b521d2c5254e439e23cd750f86d55eadffb3e4b9:/apps/workbench/test/integration/work_units_test.rb diff --git a/apps/workbench/test/integration/work_units_test.rb b/apps/workbench/test/integration/work_units_test.rb index 9d4f590555..43740f192d 100644 --- a/apps/workbench/test/integration/work_units_test.rb +++ b/apps/workbench/test/integration/work_units_test.rb @@ -283,4 +283,23 @@ class WorkUnitsTest < ActionDispatch::IntegrationTest assert_text "This container request was created from the workflow" assert_match /Provide a value for .* then click the \"Run\" button to start the workflow/, page.text end + + test "create workflow with WorkflowRunnerResources" do + visit page_with_token('active', '/workflows/zzzzz-7fd4e-validwithinput3') + + find('a,button', text: 'Run this workflow').click + + # Choose project for the container_request being created + within('.modal-dialog') do + find('.selectable', text: 'A Project').click + find('button', text: 'Choose').click + end + click_link 'Advanced' + click_link("API response") + assert_text('"container_image": "arvados/jobs:2.0.4"') + assert_text('"vcpus": 2') + assert_text('"ram": 1293942784') + assert_text('"--collection-cache-size=678"') + + end end