DeFiCh/wallet

View on GitHub
BETA_TESTING.md

Summary

Maintainability
Test Coverage
# DeFiChain Wallet Beta Testing

## Test Setup

**Prerequisites:**

1. Mobile device
2. Stable network
3. Expo Go test URL & TestFlight invitation code

The test will run on [DeFi Playground](https://github.com/BirthdayResearch/defichain-wallet#testing). To begin, refer to the steps below based on your mobile device's operating system.

### Android

1. Download [Expo Go](https://play.google.com/store/apps/details?id=host.exp.exponent&referrer=www) from Play Store
2. If you have Expo Go installed on your device, kindly ensure that you have the latest version via Play Store for ideal
   compatibility with DeFiChain Wallet
3. Go to DeFiCh/wallet Discussions and select
   the [latest version](https://github.com/BirthdayResearch/defichain-wallet/discussions/categories/beta-testing)
4. Scan the QR code using your mobile device
5. Alternatively, copy and paste the Expo URL in your Expo Go App
6. DeFiChain Wallet should reflect in Expo Go

### iOS

1. Download [TestFlight](https://apps.apple.com/us/app/testflight/id899247664) from App Store
2. TestFlight app must be installed on your iOS device using 13.0 or later
3. If you have TestFlight installed on your device, kindly ensure that you have the latest version via App Store for
   ideal compatibility with DeFiChain Wallet
4. Open the`TestFlight` invitation link in your TestFlight app
5. It should open the DeFiChain Wallet app. Click on Accept
6. DeFiChain Wallet should reflect in TestFlight

## Test Data

### How to generate assets for your wallet

Should you need utxoDFI or Tokens for testing, you may generate them using DeFi Playground in the Wallet.

1. Create your wallet
2. Click on `Settings` via bottom navigation bar
3. Click on `Playground`
<div>
  <img alt="settings" width="40%" src="/.github/images/beta_testing/settings.jpg" />
</div>
4. It should open a new screen where you can do various operations (e.g. top-up 10 utxoDFI, 10 dBTC Token etc.)
<div>
  <img alt="playground" width="40%" src="/.github/images/beta_testing/playground.jpg" />
</div>
5. Click on any operation (e.g. top-up 10 utxoDFI)
6. Click on `Fetch Balances`
7. Click on `Back` and navigate to `Portfolio` screen via bottom navigation bar
8. Check if your balance has been updated
9. Otherwise, try `pull to refresh` on the Portfolio screen to retrieve your latest balance

## Test Results

Select the respective DeFiChain Wallet version thread
via [GitHub Discussions](https://github.com/BirthdayResearch/defichain-wallet/discussions/categories/beta-testing) and post your feedback(s)
.

**Do include the following before leaving a comment / post:**

- Operating System (OS): Android / iOS
- OS Version: Android 12, iOS 15, etc.
- Mobile Device: Samsung S21, iPhone 12, etc.
- App Feature:
<!-- Kindly attach screenshot for better reference -->

_Additional comment(s) / pain point(s):_

- Was it easy to use?
- Did anything not work according to expectation?
- What pain point(s) you may have experienced and hope to overcome?