-
Notifications
You must be signed in to change notification settings - Fork 0
Description
PM Adds Author to Publication
With New Author
And they click the "Add New Author" button
Then the New Author modal pops up
And they enter in a name for the First Name field
And they enter in a name for the Last Name field
And they enter in an email for the Email field
And they leave the checkbox for the "Invite Author to Join PubLove" field checked and read the encouraging small print
And the modal closes
With Existing Author
And they click the "Add Existing Author" button
Then a dropdown field appears below with all of the publisher's authors listed
v2 Notes
With Existing Author: Dropdown of all publisher authors should have Smart Search
PM Sends Author Invite to Join PubLove (back end)
Given a project manager is signed in
And they are adding a new author in the modal on a new publication page
And they click the "Send Invite" button
Then the system looks for a User with that email address
With New User Account
Given that no user with that email address is found
Then it sends them an New Author Account Invitation mailer
And the link they claim creates a user with the role of "author"
With Existing User Account
Given that a User with email address is found
Then it creates a new Author object associated with the author's user_id
And it sends them a "You Have Been Added to a New Publication" mailer
And it links them to the author view of the publication they've been added to
v2 Notes
n/a