This repository serves as an illustrative example of how to effectively utilize automated tests with Appium alongside Selectel Mobile Farm for mobile device testing.
Before getting started, ensure that the following prerequisites are met:
- Both the Android Software Development Kit (SDK) and Java Development Kit (JDK) need to be installed on your local machine.
- Set up and run an Appium server with the UiAutomator2 plugin installed.
- Have access to a physical device connected via ADB (Android Debug Bridge). If utilizing a remote device from Selectel Mobile Farm, ensure proper setup by acquiring a device and configuring the ADB key in the settings.
- Customize the
.env
file according to your specific requirements. - Install the necessary dependencies using npm
npm install
Execute the automated tests using the following command:
npm run test