- JDK 8
- Node >12.13 . Preferred way to install node is via nvm
- React native setup. Use tab
Building Projects with Native Code
. - Appium 1.15.1 or higher
- Android
- Android SDK
- Android Studio 3.1.4 or higher
- Set environment variables:
export JAVA_HOME=/path/to/java export ANDROID_HOME=/path/to/Android/sdk export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
- iOS
- XCode 11 +
- Real Device Setup
Note: Test currently properly working only on real devices. Emulators are not supported!
- Start Appium server.
- Run VAS Server
- Start Ngrok on 1338 HTTP port
- Copy URL and put into
VAS_Server_Link
setting in config - Go to
e2e-automation/appium-launcher
folder - Start server with
python3 vas-server.py
- Android:
- Update config file:
- Put
android
intoDevice_Type
setting. - Put your device id into
Device_Name
setting (useadb devices
to get list of devices). - Make sure that Appium's chromedriver version matches Chrome's version on the device. If they are different you need to download a proper driver and add
chromedriverExecutable
capability (path to the driver on your OS) in the file
- Put
- Update config file:
- iOS:
- Update config file:
- Put
iOS
intoDevice_Type
setting. - Put your device name into
Device_Name
setting. - Put your device id into
Device_UDID
setting.
- Put
- Update config file:
- Run tests:
mvn test