2024-08-06 07:48:14 +08:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
|
|
See https://midscenejs.com/ for details.
|
|
|
|
|
|
2024-09-05 20:05:19 +08:00
|
|
|
## iOS/Android prerequisites
|
|
|
|
|
|
|
|
|
|
iOS/Android is driven by appium, so you need the following Appium tool chain first:
|
|
|
|
|
- [CLI](https://appium.io/docs/en/latest/quickstart/install/)
|
|
|
|
|
- Driver
|
|
|
|
|
- [iOS](https://github.com/appium/appium-xcuitest-driver)
|
|
|
|
|
- [Android](https://github.com/appium/appium-uiautomator2-driver)
|
|
|
|
|
- [Plugin](https://github.com/appium/appium/tree/master/packages/universal-xml-plugin)
|
|
|
|
|
|
|
|
|
|
then execute the command to start appium server:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
appium --use-plugins=universal-xml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
now you can use run tests for the iOS/Android device:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npm run test:ai -- appium
|
|
|
|
|
```
|
|
|
|
|
|
2024-08-06 07:48:14 +08:00
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
Midscene is MIT licensed.
|