This package performs black-box tests against app builds using Appium, WebdriverIO, and Jasmine. These tests are run on many iOS and Android devices in the automated CD pipeline to ensure that critical parts of the app do not break between releases.
Tests should be added as needed for new features.
First, run yarn in this directory.
- Create an iOS simulator build:
- Run
yarn expo build:ios -t simulatorin the apps/mobile directory - Download the build
- Unzip the build and place
tabapp.appinto builds
- Run
- The iOS tests are configured to run on an iPhone 12 Pro simulator running iOS 14.5. Ensure you have a simulator on your device that matches this description
- Run
yarn ios.appin this directory
- Create an Android apk build:
- Run
yarn expo build:android -t apkin the apps/mobile directory - Download the build
- Unzip the build and place the apk into builds
- Rename the apk file to
tabapp.apk
- Run
- The Android tests are configured to run on a Pixel 4 emulator running API 30 (Android 11.0). Ensure you have an emulator on your device that matches this description
- Start the emulator and wait for boot (this is only required for Android. iOS opens automatically)
- Run
yarn android.appin this directory