Skip to content

Add integration test for isOwnWallet helper controlling visibility of edit controls #533

Description

@Chucks1093

Summary

Edit controls on the creator profile (e.g. update bio, change avatar) should only be visible when the viewing wallet is the creator's own wallet. An integration test should confirm these controls are hidden for a different wallet and visible for the owner.

Scope

  • Render the creator profile page with a connected wallet that does not match the creator's address
  • Assert edit controls are not present in the DOM
  • Re-render with the connected wallet matching the creator's address
  • Assert edit controls are visible

Acceptance Criteria

  • Edit controls hidden for non-owner wallet
  • Edit controls visible for owner wallet
  • Controls are absent from DOM (not just hidden with CSS) for non-owners

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions