9043: Add check that Run button is disabled before filling in final require
authorPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 29 Aug 2016 19:05:03 +0000 (15:05 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 29 Aug 2016 19:05:03 +0000 (15:05 -0400)
value and checking that run button is enabled.

apps/workbench/test/integration/container_requests_test.rb

index 0f9495b66c070bfb9af2d92633bcb0985646d47e..cdb5c9180b660d3f64b930b8722b38288b7c3432 100644 (file)
@@ -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)