File size: 907 Bytes
7d9fb66 4a3720d e53c369 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | Running Tests
This serves as a framework to build regression tests for puppet android app.
Currently the test supports running the tests against the built android package in dev machine or in sauce labs.
Common code to enable/activate privacy setting for puppet app exists in the same file.
Which can be abstracted away in future to make it reusable across other test files.
This uses Appium to drive the android app and send instructions.
For SauceLabs test assumes the username, accesskey and UUID is available as environment variable.
By altering the device name, the tests can be run against an emulator or real android device in saucelabs.
For local machine, an appium server, android emulator and Java SDK is required.
`pip install -r requirements.txt`
`python test_sauce_labs.py`
While running locally, you can create a .env file inside e2e_tests folder and place your environment variables.
|