codeforboston / maple

MAPLE makes it easy for anyone to view and submit testimony to the Massachusetts Legislature about the bills that will shape our future.

Home Page:https://mapletestimony.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests for Profile Page

Mephistic opened this issue · comments

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.