Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

e2e/mobile

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.

Run tests locally

First, run yarn in this directory.

iOS

  1. Create an iOS simulator build:
    1. Run yarn expo build:ios -t simulator in the apps/mobile directory
    2. Download the build
    3. Unzip the build and place tabapp.app into builds
  2. 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
  3. Run yarn ios.app in this directory

Android

  1. Create an Android apk build:
    1. Run yarn expo build:android -t apk in the apps/mobile directory
    2. Download the build
    3. Unzip the build and place the apk into builds
    4. Rename the apk file to tabapp.apk
  2. 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
  3. Start the emulator and wait for boot (this is only required for Android. iOS opens automatically)
  4. Run yarn android.app in this directory