-
Notifications
You must be signed in to change notification settings - Fork 406
Manual User Stories and Test Cases
-
As a new user, I can visit localhost:3000/invite/invite_hashid, view a popup modal from auth0, create an account and then be redirected to the spoke site at localhost:3000
-
As a new admin, I can be prompted after the redirect to create a new organization, and then be redirected to a page showing campaigns if any exist.
-
As an invited texter, I can be prompted to login, and see any available texting assignments (available texting assignments being within the enforced texting hours and unfinished assignments) with the amount of first messages to send and replies to send to contacts.
-
As a texter, I want to be able to view an assignment and click on send first and start sending messages to contacts, with the ability to skip contacts and manually change messages in the text box.
-
As a texter, I want an email when my texting assignment is ready (requires MAILGUN API integration) and be able to successfully click on that invite, login, and reroute to my assignment.
-
As an admin, I want to be able to create a campaign, by including:
- The title, description, due date
- Upload a contacts csv with at least firstName, lastName and cell fields, and additional custom fields
- See a prompt that includes a link to share with volunteer texters. And once the texters accept the invitation, see a list of invited texters. And be able to assign contacts to volunteer texters manually or via auto-split
- Create a script which allows me to include questions, possible answers, branch off questions.
- Create possible canned responses
- Press 'start this campaign!' and see that I've created a campaign
-
As an admin, I want to visit my admin dashboard, visit previously created campaigns and view the amount of texts sent my volunteers for each volunteer and see a pie chart synthesizing response results
-
As a texter, once I've finished my first round of texts, be able to visit my dashboard, see unfinished assignments and see a prompt to 'send replies' based on assignment (note, if the script did not ask for a reply, the texter will not see a reply)
-
As an admin, I want to be able to request and receive a report via email about an already created campaign (requires AWS key integration)
Suggested steps for testing Spoke. These steps allow us to see if Spoke's 'basic' functionality works before updating the main branch and production.
- Login as an admin user
- Create a new campaign in an existing organization
- Create a csv with columns firstName, lastName, cell and add a few sample people to text
- with optOuts
- without optOut
- Assign a test texter, all the contacts
- Create a script with a question
- Define a few answers, and test saving with no answers, blank answers, and good answers.
- Link at least one question to a next step
- Add a canned response
- Click "Start this campaign!"
- As a texter that was just assigned to a campaign, login and visit dashboard
- As a texter, work through the assigned list of contacts
- As the message recipient, reply to the texts you received
- As the texter, view the question responses
- Login as the test admin user (who you logged in as previously)
- Create a new campaign in the default organization
- Create a csv with columns firstName, lastName, cell and add a few sample people to text. Use list of test users provided to you.
- with optOuts
- without optOut
- Generate an invite for this campaign to send to texters
- As a texter (in a different browser window or chrome incognito window) load up the invite link
- As test admin user, proceed with campaign steps above
- As an admin, visit the people tab and click on
Edit
next to your logged in user's name - Edit the name, click save and return to the people's menu. Make sure your edits saved.
- As an admin, click on the corner menu (should be a circle with the first letter of the first name of a user). Click on the name/email and edit.
- Edit the name, click save and return to the previous screen. Make sure your edits saved.
- As a texter, click on the corner menu (should be a circle with the first letter of the first name of a user). Click on the name/email and edit.
- As an admin, visit the people tab and click on the
+
button in the lower right hand corner. A modal titledInvite new texters
should pop up. Copy the join link and then open it in a different browser (if using chrome, you can use an incognito window). Paste the link and try to signup a new user (from list of fake emails). Return to admin account (in the other browser or login again) and visit the people tab. Make sure the new user shows up with their role as texter.
- Click on a live campaign by visiting the
Campaigns
tab. - Click on the
Copy
button. - Revisit the
Campaigns
. You should see a new (not live) campaign (highlighted yellow). - Click on the campaign. The interactions tab and Canned Response tab should already be green.
- Click on basics. You should see the
COPY + (your campaign title)
and the description filled out - these should be identical to the original campaign. - Contacts should not be loaded.
- Texters should not be loaded.
- Interactions should be loaded with the same script, answers and tree structure.
- Canned responses should be loaded with the same canned responses from the original campaign.
- Click on a live campaign by visiting the
Campaigns
tab. - Click on the
Edit
button and change something in the basic info, script or in canned response. Make sure you press save in the corresponding tab. - Revisit tab and verify that the change has saved.
- As an Admin, create a campaign with at least one contact in a non EST timezone (ex. PST) and one contact in EST
- In Settings: Enable Set Enforce texting hours (if needed given the current time, adjust the timezone settings so that one contact is within the texting hours and one is out of the hours)
- As a texter, verify that you can text the contact that’s within the texting hours and that you can’t text the contact that out of the texting hours (‘Send Later’ button is displayed and greyed out for the latter)
- As an Admin, disable Enforce texting hours
- As a texter, verify that you can text any contact