summaryrefslogtreecommitdiffhomepage
path: root/android/e2e/src
AgeCommit message (Collapse)AuthorFilesLines
2023-01-10Move :e2e project to :test:e2eAlbin20-693/+0
Also changes source directory from "java" to "kotlin" which is supported since upgrading the project from AGP 3.x to 7.x.
2022-12-08Bump Android project to java 11 and gradle 7.6Albin1-2/+1
2022-04-20Adapt e2e test to updated conncheck pageAlbin1-3/+3
2022-04-20Add Android e2e connection testAlbin10-4/+178
2022-04-20Add basic Android e2e login testsAlbin3-0/+83
2022-04-20Add mechanism to reset an account before e2e testsAlbin6-2/+242
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 # ...
2022-04-20Add Android e2e test to open web linkAlbin6-0/+69
2022-04-20Add Android e2e screenshot ruleAlbin3-0/+40
This rule will capture screenshot of any failed test and download it to the host executing the test.
2022-04-20Add Android e2e base test classAlbin5-30/+66
Most/all tests will inherit from this common base class that will hold necessary setup steps to run various e2e test scenarios.
2022-04-20Add Android e2e test moduleAlbin5-0/+52
The purpose of this test module is to be able to trigger end-to-end tests separately from the main app module, mainly because of the flaky nature of end-to-end tests. Tests are easiest executed by running the following gradle command: ./gradlew :e2e:connectedDebugAndroidTest