summaryrefslogtreecommitdiffhomepage
path: root/android/e2e/e2e.properties
AgeCommit message (Collapse)AuthorFilesLines
2023-01-10Move :e2e project to :test:e2eAlbin1-2/+0
Also changes source directory from "java" to "kotlin" which is supported since upgrading the project from AGP 3.x to 7.x.
2022-04-20Add mechanism to reset an account before e2e testsAlbin1-0/+2
Adds a mechanism to remove all keys/devices of a specified account in order to start all tests with a known state. This is achieved using a simple http client included in the e2e test apk, which support login, listing devices and removing devices. Two account used for testing _must_ be specified either as gradle properties or as runtime arguments to the test runner: * Local properties (local.properties): valid_test_account_token=XXXX invalid_test_account_token=XXXX * Gradle/CLI arguments: ./gradlew :e2e:assembleDebug -Pvalid_test_account_token=XXXX -Pinvalid_test_account_token=XXXX * Runtime arguments: am instrument -e valid_test_account_token XXXX -e invalid_test_account_token XXXX # ...