fix: consolidate deep link testing scripts

- Remove redundant test-deeplinks.sh script
- Update run-deeplink-tests.sh with improved timeout
- Remove unused secp256k1-sign script
- Remove deprecated new_flow scripts
- Clean up test script directory

Technical Changes:
- Increase default timeout from 5 to 10 seconds
- Remove Python/TypeScript DID generation scripts
- Remove redundant deep link test script
- Remove unused crypto signing script

This simplifies the test script directory by removing
deprecated scripts and consolidating deep link testing
into a single, more reliable script.
This commit is contained in:
Matthew Raymer
2025-03-11 10:39:41 +00:00
parent e2d543337b
commit 9e56fbf373
220 changed files with 9 additions and 11902 deletions

View File

@@ -22,12 +22,14 @@ The `run-deeplink-tests.sh` script tests the app's deep link handling capabiliti
1. Generate required test files using either:
Python method:
```bash
pip install mnemonic eth_account eth_keys web3 requests
python test-scripts/new_flow.py
python test-scripts/generate_data.py
```
OR TypeScript method:
```bash
npm install
npm run build
@@ -42,16 +44,19 @@ The `run-deeplink-tests.sh` script tests the app's deep link handling capabiliti
### Running Tests
1. Execute tests:
```bash
./test-scripts/run-deeplink-tests.sh
```
2. Print mode (no device needed):
```bash
./test-scripts/run-deeplink-tests.sh -p
```
3. Custom timeout:
```bash
./test-scripts/run-deeplink-tests.sh -t 10
```
@@ -59,6 +64,7 @@ The `run-deeplink-tests.sh` script tests the app's deep link handling capabiliti
### Troubleshooting
If you encounter errors:
1. Ensure `.generated` directory exists with required files
2. Check ADB is installed for device testing
3. Run with `-p` flag to verify deep link generation
@@ -67,7 +73,7 @@ If you encounter errors:
### Clean Up
To clean up generated files:
```bash
rm -rf .generated
```