Use regex to determine whether to print help text for arvbash.sh. refs #10655
[arvados.git] / apps / workbench / test / integration / users_test.rb
index 90a3eb2333fedeae32b80ef9146323689bf2fbca..140cb561276092ae103d0bd0a0200d71839cd755 100644 (file)
@@ -80,7 +80,8 @@ class UsersTest < ActionDispatch::IntegrationTest
 
     click_link 'Advanced'
     click_link 'Metadata'
-    assert !(page.has_text? 'VirtualMachine:')
+    assert page.has_text? 'can_login' # make sure page is rendered / ready
+    assert page.has_no_text? 'VirtualMachine:'
   end
 
   test "setup the active user" do