hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

Feature test: new form - share a valkyrie work resource with other users

Open elrayle opened this issue 5 years ago • 0 comments

Descriptive summary

Write a feature test that checks that a valkyrie resource work can be shared with other users through the new form.

Rationale

Users need to be able to share works. This is a core feature and should work with Valkyrie resources.

Expected behavior

In the new form, there is a tab where the work can be shared with another user. The form should allow a user to be selected and assigned a role.

Actual behavior

If actual does not match expected, open an issue with details about what actual happened and what was expected.

Steps to reproduce the behavior

  1. Create a feature test with 3 users.
  2. Have user1 create a work for the monograph valkyrie work through the new form
  3. Go to the Sharing tab
  4. Assign user2 edit access.
  5. Assign user3 read access.
  6. Verify that the users were assigned access as expected.

Related work

Issue #4576 - Feature test: edit form - share a valkyrie work resource with other users

See non-valkyrie features/create_work_spec.rb test

elrayle avatar Nov 08 '20 13:11 elrayle