codeforboston/maple

Tests for Profile Page

Open

#1,543 opened on Apr 22, 2024

View on GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (168 forks)auto 404
Profile PagesReady for Developmentgood first issuetech debt

Repository metrics

Stars
 (56 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide