X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4211e34c99a068e8beb0baa6522c655c35b47b20..6e396b2923990f950bddb427fdf2258eba4b5adf:/apps/workbench/test/integration/projects_test.rb diff --git a/apps/workbench/test/integration/projects_test.rb b/apps/workbench/test/integration/projects_test.rb index b377786896..0ed2624d8d 100644 --- a/apps/workbench/test/integration/projects_test.rb +++ b/apps/workbench/test/integration/projects_test.rb @@ -502,8 +502,8 @@ class ProjectsTest < ActionDispatch::IntegrationTest end end - # "Remove selected" selection option should not be available when current user cannot write to the project - test "remove selected action is not available when current user cannot write to project" do + # "Move selected" and "Remove selected" options should not be available when current user cannot write to the project + test "move selected and remove selected actions not available when current user cannot write to project" do my_project = api_fixture('groups')['anonymously_accessible_project'] visit page_with_token 'active', "/projects/#{my_project['uuid']}" @@ -512,7 +512,7 @@ class ProjectsTest < ActionDispatch::IntegrationTest assert_selector 'li', text: 'Create new collection with selected collections' assert_selector 'li', text: 'Compare selected' assert_selector 'li', text: 'Copy selected' - assert_selector 'li', text: 'Move selected' + assert_no_selector 'li', text: 'Move selected' assert_no_selector 'li', text: 'Remove selected' end end