Setting up the updated mobile framework - abeedal/Abeedal GitHub Wiki
Setting up the updated mobile framework
Prerequisites:
Node 16.18.1 (NVM is recommended but not required)
Appium 2
Android Studio (Electric eel)
Xcode 14^ or later
Codebase:
The codebase can be found here -
https://bitbucket.spotlightsportsgroup.com/projects/JP-Q/repos/rp-frontend-mobile-test-v2/browse
Simply SSH clone the project.
Set-ups:
Node - Download | Node.js (16.18.1)
Nvm - nvm is setup via brew on mac (nvm is only required if your work-load will require you to swap node versions between projects)
brew install nvm
Appium 2 - Currently the easiest way to get appium 2 is to run this CLI command in your project
npm install -g appium@next To install the drivers:
appium driver install xcuitest appium driver install uiautomator2 Full spec for driver install
appium driver install --source= --package= Source - Appium Pro: Installing Appium 2.0 and the Driver and Plugins CLI
Android Studio - Easiest way to get Android studio is to head over to the link below and download
Download Android Studio & App Tools - Android Developers - (Electric Eel min)
Xcode 14^ - Easiest way to get this is to download from xcodereleases (Link below)
Xcode Releases (14.1 is the min version you should look to install) ONLY INSTALL RELEASE VERSIONS
The version 2 clone was fundamentally a versioning change. Which means the approach towards executing tests is the same please see the following:
Running mobile application tests
IF YOUR SETTING A MACHINE UP FROM SCRATCH PLEASE COMPLETE THE FOLLOWING SETUP PAGES:
Setting up local bash profiles
Setting up a local Android emulator (When you have Android studio installed)
Setting up Local Machine (iOS) (When you have xcode 14^ installed)
Setting up local Appium link to browserStack (When the framework is compiling)
Setting up React Native Standalone Debugger (When the framework is compiling)