Files
crowd-funder-from-jason/test-playwright/TESTING.md
Matthew Raymer 53282b4237 fix: resolve duplicate APP_SERVER import declarations
Remove duplicate APP_SERVER imports in ContactsView.vue and ClaimView.vue that were causing compilation errors during testing. The duplicate imports occurred when both files had APP_SERVER imported from constants/app and also assigned as class properties.

- ContactsView.vue: Remove duplicate import, keep class property assignment
- ClaimView.vue: Remove duplicate import, keep class property assignment
- Fixes Vite compilation errors that were blocking test execution
- 33/38 tests now pass successfully

This resolves the "Identifier 'APP_SERVER' has already been declared" errors that were preventing the development server from running properly.
2025-07-24 06:30:16 +00:00

2.1 KiB

Testing Guide

Start with README.md. This file has more details.

Test User Setup

Register New User on Test Server

On the test server, User #0 has rights to register others. Import User #0 with this seed phrase:

rigid shrug mobile smart veteran half all pond toilet brave review universe ship congress found yard skate elite apology jar uniform subway slender luggage

This corresponds to: did:ethr:0x0000694B58C2cC69658993A90D3840C560f2F51F

(Other test users can be found here.)

Manual Testing Steps

Identity Management

  1. Create multiple identifiers:

    • Go to "Your Identity" screen
    • Click "Advanced"
    • Click "Switch Identity / No Identity"
    • Click "Add Another Identity..."
  2. Create keys with alternate tools:

Manual Walk-through Test Checklist

  1. Initial Setup

    • Backup seed & data
    • Get CSV dump from Endorser Mobile
    • Check DB migration compatibility
    • Verify version update
  2. Environment Setup

    • Clear browser data
    • Add identity
    • Import Time Safari contacts and CSV contacts
    • Verify test API usage
  3. Fresh Install Testing

    • Clear browser data
    • Check account page before home page
    • Verify ID generation
    • Test feed without names
    • Verify contact URL copying
    • Check messaging on all pages
    • Verify project discovery
    • Test contact addition without ID
  4. Feature Testing

    • Test identifier switching
    • Check registration limits
    • Verify gift recording
    • Test offer & delivery
    • Check contact registration
    • Test notifications
    • Verify export/import
    • Test location features
    • Check third-user connections
    • Test mobile image sharing

Data Reset Instructions

[Rewrite to use custom data directories for each browser]

Troubleshooting

  1. Identity Errors:
    • "No keys for ID" errors may occur when current account was erased
    • Account switching can cause issues with erased accounts