Step-by-Step Guide — Follow each step exactly as written. Every value you need to type is spelled out. Do not improvise.

TC-DUES-002: Dues Invoice Generation (Detailed)

Module: Dues & Billing - Invoice Generation

Admin Test User: admin@rcme.membervu.com / Admin123! (Admin User)

Member Test User: testmember@rcme.membervu.com / Member123! (Maria Cruz)

URLs for this test:
Frontend: https://stg-rcme.membervu.com
MailHog (email viewer): https://stg-webmail.membervu.com
Expected Dues Amounts by Membership Type:

Regular Member₱15,000
Associate Member₱10,000
Student Member₱5,000

TC-DINV-01: Generate Bulk Dues Invoices

Purpose: Verify that an admin can generate dues invoices for all active members.

StepAction (EXACT clicks/typing)Expected Result (EXACT text/behavior)Test Value
1 Open your browser and go to:
https://stg-rcme.membervu.com/login

Enter email: admin@rcme.membervu.com
Enter password: Admin123!

Click "Sign In".
Login succeeds. Admin dashboard loads. Email: admin@rcme.membervu.com
Password: Admin123!
2 Navigate to "Admin" > "Billing" > "Generate Dues Invoices" (or "Admin" > "Dues" > "Generate Invoices" — the exact path may vary). The dues invoice generation page loads. You should see options for selecting the billing period and membership types. -
3 Select the billing period: 2026 (or the current year if different). "2026" is selected as the billing period. 2026
4 For membership types, select "All" (or check all membership type checkboxes: Regular Member, Associate Member, Student Member). All membership types are selected. All types selected
5 Click "Generate" or "Generate Invoices". A progress indicator may appear. Once complete, a success message displays, such as:
"X invoices generated successfully" (where X is the number of active members).

Or a summary showing how many invoices were created for each membership type.
-
6 Navigate to "Admin" > "Invoices" (or "Billing" > "All Invoices") to see the generated invoices. The invoice list shows the newly generated dues invoices. Verify:
- Regular Members have invoices for ₱15,000
- Associate Members have invoices for ₱10,000
- Student Members have invoices for ₱5,000

Each invoice should show the member name, amount, period (2026), and status (PENDING or UNPAID).
-
PASS if: Invoices generated for all active members with correct amounts matching their membership types.

TC-DINV-02: Generate Individual Dues Invoice

Purpose: Verify that an admin can create a single dues invoice for a specific member.

StepAction (EXACT clicks/typing)Expected Result (EXACT text/behavior)Test Value
1 Navigate to "Admin" > "Invoices" or "Billing". Look for a "Create Invoice" or "New Invoice" button. Click it. An invoice creation form opens. -
2 In the "Member" field, search for and select "Maria Cruz" (testmember@rcme.membervu.com). Maria Cruz is selected. Her membership type (Regular Member) may auto-populate the amount field. Member: Maria Cruz
3 Set the invoice type to "Dues" (if applicable). Set the period to 2026. Invoice type and period are set. Type: Dues
Period: 2026
4 Verify the amount is ₱15,000 (matching Regular Member dues). If not auto-populated, enter:
15000
Amount shows ₱15,000. 15000
5 Click "Create" or "Save Invoice". A success message appears. The invoice is created for Maria Cruz with amount ₱15,000. -
NOTE: If the system does not support creating individual dues invoices separately from bulk generation, navigate to Admin > Members > Maria Cruz and look for a "Create Dues Invoice" action there. If neither option exists, mark this test as "N/A — individual invoice creation not available" and note the expected behavior.
PASS if: Individual dues invoice created for Maria Cruz with correct amount (₱15,000).

TC-DINV-03: Duplicate Invoice Prevention

Purpose: Verify that the system prevents generating duplicate invoices for the same period.

StepAction (EXACT clicks/typing)Expected Result (EXACT text/behavior)Test Value
1 Navigate to "Admin" > "Billing" > "Generate Dues Invoices". The generation page loads. -
2 Select the same period as TC-DINV-01: 2026, with All membership types. Click "Generate". Either:
- A warning message appears: "Invoices already generated for this period" or "Duplicate invoices detected", and no new invoices are created, or
- The system generates invoices but skips members who already have invoices for 2026 (showing a message like "X members already invoiced, Y new invoices created"), or
- An error prevents the operation.

Note the exact behavior.
Period: 2026
PASS if: The system either prevents duplicate invoices entirely or skips already-invoiced members.

TC-DINV-04: Member View — See Own Dues Invoice

Purpose: Verify that a member can see their dues invoice in their personal invoice list.

Prerequisite: Dues invoices must have been generated (TC-DINV-01 or TC-DINV-02 completed).

StepAction (EXACT clicks/typing)Expected Result (EXACT text/behavior)Test Value
1 Log out of the admin account. Log in as Maria Cruz:
Email: testmember@rcme.membervu.com
Password: Member123!
Login succeeds. Member dashboard loads. Email: testmember@rcme.membervu.com
Password: Member123!
2 Navigate to "My Invoices" or "Billing" in the sidebar. The member's invoice list loads. -
3 Look for a dues invoice for the 2026 period. A dues invoice is listed showing:
- Type: "Dues" or "Annual Dues"
- Amount: ₱15,000
- Period: 2026
- Status: PENDING or UNPAID
-
4 Click on the invoice to view its details. Invoice detail page opens showing the full breakdown: member name, membership type (Regular Member), amount (₱15,000), due date, and payment options (if available). -
PASS if: Maria Cruz can see her dues invoice with correct amount (₱15,000) and period (2026).

CLEANUP — Read This Before You Stop

Invoices were created during this test:


These invoices remain in the system. They do not negatively impact other tests but may be visible in billing reports. If you need a clean state, reseed the database:
docker exec membervu-backend npm run seed:rcme