Skip to content

test(web): Profile 편집·통계·활동 E2E (P2) #175

@cocoyoon

Description

@cocoyoon

배경

/profile, /profile/[userId]가 로딩되는지만 확인. 편집·통계·활동·뱃지 등 핵심 기능 미검증.

검증 항목

본인 프로필 (/profile)

  • ProfileHeader 렌더 (avatar, name, bio)
  • FollowStats 표시 (followers/following 카운트)
  • StatsCards (게시물·좋아요·저장 수)
  • BadgeGrid + 뱃지 클릭 → 모달
  • ActivityTabs 전환 (Posts / Solutions / Spots / Tries / Saved)
  • 각 탭의 ActivityContent 렌더링
  • StyleDNACard 표시
  • InkEconomyCard 표시
  • ProfileEditModal 열기 → 필드 수정 → 저장 → 반영

공개 프로필 (/profile/[userId])

  • 다른 사용자 프로필 페이지 진입
  • Follow 버튼 토글
  • 본인 전용 기능 숨김 (편집 버튼 등)
  • 비공개 컨텐츠 마스킹

data-testid 추가 필요

ProfileHeader, ProfileEditModal, ActivityTabs 등에 testid 추가

파일

  • packages/web/tests/profile.spec.ts (신규)
  • 프로필 API mock

관련

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions