Tests for Profile Page
Mephistic opened this issue · comments
Mephistic commented
Goal
We want to be able to automatically test the user Profile page to build confidence in the basic functioning of the site after deploys.
Success Criteria
- Test that verifies that the user profile page renders as expected, including:
- User Name
- About bio blurb
- Legislators
- Testimonies
- Test that verifies the additional components that should render when a user views their own profile:
- "Currently Viewing Your Profile" orange banner
- Edit Profile / Make Private buttons
- "Edit" option on Testimonies
These can likely just be unit tests.