.env.example
to create either:
.env.ios
for iOS testing.env.android
for Android testingUsing this method enables you to skip the Appium setup process
.env.android
, set:
APK_PATH
: Absolute path of your Android APK fileMAILOSAUR_ID
: Your Mailosaur server IDMAILOSAUR_KEY
: Your Mailosaur API keyIf you donβt have Android Studio installed, youβll need Android SDK platform tools:
brew install android-platform-tools
adb devices
./docker-start.sh
on MAC/Linux or ./docker_start.ps1
on Windows to build and start the docker containerdocker ps
(look for appium-android
)π Run docker exec -it appium-android adb devices
to verify that connected devices on host machine
is also connected to the docker container.
npm run android
Reports are autogenerated after every test run:
npm run android-report
to view Android reportsnpm run ios-report
to view iOS reportsπ§ Section to be completed
.env
files secure and out of version control