3170: Use find().all() instead of page.all() to accommodate ajax content. refs #3170...
[arvados.git] / apps / workbench / test / integration / projects_test.rb
index d1bf403b9210de078d5974b12f3f03c5df29191c..af714aae07dde73bcfe19f02a855dcf8cc8bf812 100644 (file)
@@ -88,7 +88,7 @@ class ProjectsTest < ActionDispatch::IntegrationTest
   end
 
   def count_shares
-    page.all("#project_sharing tr").size
+    find('#project_sharing').all('tr').size
   end
 
   def add_share_and_check(share_type, name)