-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Parent Issue: #1515
Priority: MEDIUM 🟡
Description
After all fixes are implemented, we need to run the comprehensive test suite to ensure the send account tags feature works correctly end-to-end.
Test Areas
1. Supabase Database Tests
Run all database tests to verify:
- Tag creation and management
- Send account tags relationships
- Main tag functionality
- Referral system with tag_id
- Activity feed with main tags
- Profile lookups
Command: \Run tests on local Supabase containers
Usage:
supabase test [command]
Available Commands:
db Tests local database with pgTAP
new Create a new test file
Flags:
-h, --help help for test
Global Flags:
--create-ticket create a support ticket for any CLI error
--debug output debug logs to stderr
--dns-resolver [ native | https ] lookup domain names using the specified resolver (default native)
--experimental enable experimental features
--workdir string path to a Supabase project directory
Use "supabase test [command] --help" for more information about a command.
2. API Tests
Test all API endpoints:
- tag.create
- tag.delete
- tag.confirm
- sendAccount.updateMainTag
- registerFirstSendtag (after fix)
Command: \�[31m�[1mUsage Error�[22m�[39m: Couldn't find a script named "test".
�[1m$ �[22myarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] [--require #0] ...
3. Playwright E2E Tests
Focus on:
- Sign-up flow with first free sendtag
- Onboarding flow for existing users
- Adding additional sendtags
- Setting main sendtag
- Profile display with main tag
- Activity feed display
Command: \Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
Error: Cannot find module '/Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/node_modules/@my/contracts/out/EntryPointSimulations.sol/EntryPointSimulations.json' imported from /Users/allen/0xbigboss/0xsend/sendapp.worktrees/send_account_tags_rebased/packages/wagmi/src/constants.ts
To open last HTML report run:
yarn playwright show-report --host 127.0.0.1
4. Manual Testing Checklist
- New user sign-up creates first sendtag properly linked
- Existing user onboarding creates first sendtag properly linked
- User can add up to 5 sendtags total
- User can delete sendtags (except last confirmed one)
- User can change main sendtag
- Main sendtag displays correctly in profile
- Main sendtag displays correctly in activity feed
- Referral system works with new sendtags
Regression Testing
Ensure existing functionality still works:
- Send transfers work normally
- User profiles load correctly
- Activity feed loads without errors
- Search functionality works
Performance Testing
- Profile pages load quickly
- Activity feed performs well
- No N+1 query issues
Definition of Done
- All Supabase tests pass
- All API tests pass
- All Playwright tests pass
- Manual testing checklist complete
- No regression issues found
- Performance is acceptable