I have an initial CL experimenting with automating UI tests, so far it seems possible to run a multi-device test using Appium and maybe Sauce Labs. There are a few things left to make this possible:
[ ] Automatically install the account manager as part of the test.
[ ] Change the tests to simultaneously use several devices instead of one (requires a single Appium server per device).
[ ] Add a test helper to wrap multi-device interactions into a simple API.
[ ] There is a weird interaction between the account manager and the way Appium unlocks the phone, this should be resolved since currently unlocking the phone manually is required before running any tests.
Based on a conversation with @yyoon, once the above items are available we should create a simple test which covers the following steps:
Run the cloudsync peer with fresh data
Clear app cache and install a new APK
Run three devices with the same user
Create a device set on one of the devices and wait long enough for the data to "sync"
I have an initial CL experimenting with automating UI tests, so far it seems possible to run a multi-device test using Appium and maybe Sauce Labs. There are a few things left to make this possible:
Based on a conversation with @yyoon, once the above items are available we should create a simple test which covers the following steps:
cloudsync
peer with fresh data