Use regex to determine whether to print help text for arvbash.sh. refs #10655
[arvados.git] / apps / workbench / test / integration / container_requests_test.rb
index 0f9495b66c070bfb9af2d92633bcb0985646d47e..df6584ebb6490cedac2fe439a1a77110a9feeb84 100644 (file)
@@ -75,7 +75,7 @@ class ContainerRequestsTest < ActionDispatch::IntegrationTest
       assert_text 'This workflow does not need any further inputs'
       click_link "Run"
       wait_for_ajax
-      assert_text 'This container is committed'
+      assert_text 'This container is queued'
     end
   end
 
@@ -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)
@@ -92,6 +94,6 @@ class ContainerRequestsTest < ActionDispatch::IntegrationTest
     page.assert_no_selector 'a.disabled,button.disabled', text: 'Run'
     click_link "Run"
     wait_for_ajax
-    assert_text 'This container is committed'
+    assert_text 'This container is queued'
   end
 end