Staging Test: Admin Investor Detail Modal
Test Area: Admin User Profile ViewingEstimated Time: 15-20 minutes
Difficulty: Easy
Prerequisites: Complete 01-authentication first
Overview
The Admin Investor Detail feature allows support staff and admins to view detailed investor information without leaving their current page. The modal shows five tabs of information about any investor.What the Modal Shows
| Tab | Information |
|---|---|
| Overview | Profile, contact info, KYC status, investment summary, pending items |
| Transactions | Deposit and withdrawal history |
| Referrals | Referral code, referred users, earnings (deferred feature) |
| Activity | Device login history with IP addresses |
| KYC | Detailed KYC verification data from Sumsub |
Who Can Access
| Role | Can View Investor Details? |
|---|---|
| Super Admin | Yes |
| Support Agent | Yes |
| Finance Admin | Yes |
| Investor | No |
Before You Start
URLs
| Page | URL |
|---|---|
| Login | https://zestamc.savibm.com/login |
| Admin Dashboard | https://zestamc.savibm.com/admin |
| Support Tickets | https://zestamc.savibm.com/admin/support |
| Direct Messages | https://zestamc.savibm.com/admin/support/dm |
Test Accounts
| OTP | Role | Use For | |
|---|---|---|---|
admin@zestamc.com | Check email | Super Admin | Tests 1-9 |
supportagent@zestamc.com | Check email | Support Agent | Test 10 |
testinvestor@zestamc.com | Check email | Investor | Target user to view |
Test Investor Data (What You Should See)
When viewingtestinvestor@zestamc.com:
| Field | Expected Value |
|---|---|
| Name | Test Investor |
| Investor ID | INV-XXXXXX |
| KYC Status | Not Verified (yellow badge) |
| Account Status | Active |
| Total Principal | $10,000.00 |
| Total Profit | $500.00 |
| Active Tranches | 1 |
Test Cases
Test 1: Open Modal from Admin Dashboard
Goal: Verify the modal opens from the Recent Users table Steps:- Log in as
admin@zestamc.com - Go to Admin Dashboard (
/admin) - Scroll down to the “Recent Users” table
- Find any user row
- Click the “View” button on that row
| Element | What You Should See |
|---|---|
| Modal | Opens with user information |
| Header | User icon and user’s full name displayed |
| Tabs | Five tabs: Overview, Transactions, Referrals, Activity, KYC |
| Default tab | Overview tab is selected |
| Loading | Brief loading spinner, then content appears |
Test 2: View Overview Tab
Goal: Verify the Overview tab displays complete investor information Steps:- With the modal open (from Test 1)
- Ensure the Overview tab is selected
- Review all sections
| Section | What You Should See |
|---|---|
| Header | User name, Investor ID, KYC badge, Account status badge |
| Contact Info | Email, phone (if available), nationality, occupation |
| Account Info | User type (Individual/Institution), join date |
| Investment Summary | Total Principal and Total Profit with dollar formatting |
| Active Tranches | Number of active investments |
| Pending Items | Warning boxes if pending deposits/withdrawals exist |
Test 3: View Transactions Tab
Goal: Verify the Transactions tab shows deposit and withdrawal history Steps:- With the modal open
- Click the “Transactions” tab
- Wait for data to load
| Element | What You Should See |
|---|---|
| Loading | Brief skeleton/spinner |
| Transaction list | List of deposits and withdrawals |
| Deposit icon | Green down-arrow icon |
| Withdrawal icon | Red up-arrow icon |
| Transaction info | Type, fund name, network, amount, status, date |
| Amount format | Dollar sign with two decimal places (e.g., $1,000.00) |
| Empty state | ”This user has no deposits or withdrawals yet.” if none |
Test 4: View Activity Tab
Goal: Verify the Activity tab shows device login history Steps:- With the modal open
- Click the “Activity” tab
- Wait for data to load
| Element | What You Should See |
|---|---|
| Loading | Brief skeleton/spinner |
| Activity list | List of device logins |
| Activity type | ”Login” or “New Device” |
| Device info | Device name (e.g., “Chrome on macOS”) |
| Timestamp | Date and time of activity |
| Details | IP address and user agent (expandable or visible) |
| Empty state | ”No device activity recorded for this user.” if none |
Test 5: Lazy Loading (Tabs Only Load When Clicked)
Goal: Verify tabs don’t load data until selected Steps:- Open browser Developer Tools (F12)
- Go to the Network tab
- Clear the network log (click clear button)
- Open the modal for any user
- Observe the network requests
- Click Transactions tab
- Observe new network request
- Click Activity tab
- Observe new network request
| Action | Network Request |
|---|---|
| Modal opens | Only /v1/admin/investors/:id called |
| Click Transactions | /v1/admin/investors/:id/transactions called |
| Click Referrals | /v1/admin/investors/:id/referrals called |
| Click Activity | /v1/admin/investors/:id/activity called |
| Click KYC | /v1/admin/investors/:id/kyc-data called |
| Click back to Overview | No new request (already loaded) |
Test 6: Close Modal
Goal: Verify the modal can be closed Steps:- With the modal open
- Click the X button in the top-right corner
- OR click outside the modal (on the dark backdrop)
| Action | What Happens |
|---|---|
| Click X | Modal closes |
| Click backdrop | Modal closes |
| After close | Back to original page (Dashboard) |
Test 7: Open Modal from Support Ticket
Goal: Verify the modal opens from a support ticket sidebar Steps:- Log in as
admin@zestamc.com - Go to Support Center (
/admin/support) - Click on any support ticket to open it
- In the right sidebar, find the “Investor Info” section
- Click the “View Full Profile” button
| Element | What You Should See |
|---|---|
| Button | ”View Full Profile” in Investor Info section |
| Modal | Opens showing the ticket’s investor |
| Data | Matches the investor shown in the sidebar |
| Close | Closing returns to the ticket view |
Test 8: Support Agent Access
Goal: Verify support agents can view investor details Steps:- Log out
- Log in as
supportagent@zestamc.com - Go to Support Center (
/admin/support) - Open a support ticket
- Click “View Full Profile” in the sidebar
| Check | What You Should See |
|---|---|
| Access | Modal opens successfully |
| All tabs | Can view all five tabs |
| Data | Same data as admin would see |
Test 9: View User with Pending Items
Goal: Verify pending deposits/withdrawals are highlighted Steps:- Log in as
admin@zestamc.com - Find a user with pending deposits or withdrawals
- Open their profile modal
- Check the Overview tab
| Element | What You Should See |
|---|---|
| Pending Items section | Visible in Overview tab |
| Pending deposits | Blue highlighted box with count |
| Pending withdrawals | Amber/yellow highlighted box with count |
| Icons | Alert icons next to counts |
Test 10: View Sumsub Link (KYC Verified User)
Goal: Verify the Sumsub verification link appears for verified users Steps:- Log in as
admin@zestamc.com - Find a KYC-verified user (e.g., view
l3investor@zestamc.com) - Open their profile modal
- Look for “View in Sumsub” link in Overview tab
| Element | What You Should See |
|---|---|
| Sumsub link | ”View in Sumsub” with external link icon |
| Click link | Opens Sumsub dashboard in new tab |
| No link | Link not shown if user has no Sumsub ID |
Test Results Summary
| Test | Description | Status | Notes |
|---|---|---|---|
| Test 1 | Open from Dashboard | ⬜ Pass / ⬜ Fail | |
| Test 2 | View Overview Tab | ⬜ Pass / ⬜ Fail | |
| Test 3 | View Transactions Tab | ⬜ Pass / ⬜ Fail | |
| Test 4 | View Activity Tab | ⬜ Pass / ⬜ Fail | |
| Test 5 | Lazy Loading | ⬜ Pass / ⬜ Fail | |
| Test 6 | Close Modal | ⬜ Pass / ⬜ Fail | |
| Test 7 | Open from Support Ticket | ⬜ Pass / ⬜ Fail | |
| Test 8 | Support Agent Access | ⬜ Pass / ⬜ Fail | |
| Test 9 | Pending Items Display | ⬜ Pass / ⬜ Fail | |
| Test 10 | Sumsub Link | ⬜ Pass / ⬜ Fail |
Troubleshooting
Modal not opening
- Verify you’re logged in as admin or support agent
- Try refreshing the page
- Check if the View button is visible and clickable
”Unable to load user profile” error
- User ID might be invalid
- Try a different user from the list
- Check your internet connection
Tabs not loading data
- Click the tab again
- Check your internet connection
- Refresh the page and reopen the modal
Missing data on tabs
- Some users may not have transactions or activity
- This is expected; empty states should appear
- Try viewing a different user with more data
Support agent cannot access
- Verify the account has
SUPPORT_AGENTrole - Try logging out and back in
- Contact admin if access issues persist
Quick Reference
Where to Find the Modal
| Location | How to Open |
|---|---|
| Admin Dashboard | Recent Users table → View button |
| Support Ticket | Sidebar → Investor Info → View Full Profile |
| DM Conversation | Header → View Profile button |
Tab Quick Reference
| Tab | What It Shows |
|---|---|
| Overview | Profile, contact, KYC, investments, pending items |
| Transactions | Deposits + withdrawals (merged, sorted by date) |
| Referrals | Referral code, total referrals, earnings, referred users list |
| Activity | Device logins with IP and user agent |
| KYC | Verified personal info, ID documents, review status from Sumsub |
Next Steps
After completing this test guide, proceed to review any failed tests and report issues.Deferred Tests
The following tests are deferred and should be tested at a later time.Test 11: View Referrals Tab (Deferred)
Goal: Verify the Referrals tab shows referral information Steps:- With the modal open
- Click the “Referrals” tab
- Wait for data to load
| Element | What You Should See |
|---|---|
| Stats cards | Total Referrals (count), Total Earnings ($), Referral Code |
| Referral code | Code displayed with copy button |
| Referred users | List of users this investor referred |
| User info | Name, email, KYC status badge, join date |
| Empty state | ”This user hasn’t referred anyone yet.” if no referrals |
Test 12: Copy Referral Code (Deferred)
Goal: Verify the copy button works Steps:- With the modal open on Referrals tab
- Find the referral code section
- Click the copy button (clipboard icon)
- Open a text editor and paste (Ctrl+V / Cmd+V)
| Step | What You Should See |
|---|---|
| Click copy | Icon briefly changes to checkmark |
| Paste | Referral code appears in text editor |
Related Documentation
- Support Chat Testing - Related support features
- KYC Verification Testing - KYC status meanings