10674: Add test checking that "Run" button is disabled because required inputs
authorPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 9 Dec 2016 15:58:54 +0000 (10:58 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 9 Dec 2016 15:58:54 +0000 (10:58 -0500)
have not been filled in.

apps/workbench/test/integration/work_units_test.rb

index 80ef68e7106bcef66152eb92e2849d04490b0e49..5b5848ee7766580003ee10be1c28ba944070bf36 100644 (file)
@@ -133,6 +133,8 @@ class WorkUnitsTest < ActionDispatch::IntegrationTest
       assert_selector 'a', text: template_name
 
       assert_equal "Set value for ex_string_def", find('div.form-group > div > p.form-control-static > a', text: "hello-testing-123")[:"data-title"]
+
+      page.assert_selector 'a.disabled,button.disabled', text: 'Run'
     end
   end