From: Peter Amstutz Date: Mon, 29 Aug 2016 19:05:03 +0000 (-0400) Subject: 9043: Add check that Run button is disabled before filling in final require X-Git-Tag: 1.1.0~773^2~1 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/965d03c7e9e8f08e0c3005ec221dfdb0e8a6bf16 9043: Add check that Run button is disabled before filling in final require value and checking that run button is enabled. --- diff --git a/apps/workbench/test/integration/container_requests_test.rb b/apps/workbench/test/integration/container_requests_test.rb index 0f9495b66c..cdb5c9180b 100644 --- a/apps/workbench/test/integration/container_requests_test.rb +++ b/apps/workbench/test/integration/container_requests_test.rb @@ -84,6 +84,8 @@ class ContainerRequestsTest < ActionDispatch::IntegrationTest visit page_with_token("active", "/container_requests/#{request_uuid}") assert_text 'Provide a value for the following parameter' + page.assert_selector 'a.disabled,button.disabled', text: 'Run' + selector = ".editable[data-name='[mounts][/var/lib/cwl/cwl.input.json][content][int_required]']" find(selector).click find(".editable-input input").set(2016)