6588: Removed manage account button, modified tests and deleted views.
[arvados.git] / apps / workbench / test / helpers / share_object_helper.rb
index ba09acc810dcf0e908cb9de811e07948d4dddf32..9d8f8d03252d036cf9dca696b833a1097f17e46b 100644 (file)
@@ -19,6 +19,7 @@ module ShareObjectHelper
       # Otherwise, the not-included assertions might falsely pass because
       # the modal hasn't loaded yet.
       find(".selectable", text: name).click
+      assert_text "Only #{share_type} you are allowed to access are shown"
       assert(has_no_selector?(".modal-dialog-preview-pane"),
              "preview pane available in sharing dialog")
       if share_type == 'users' and obj and obj['email']