UI tests for core tor features
Context
- we currently have borked automated tests that cover only a subset (?) of core features we have patched onto Fenix
- as such, we manually test core user flows before releases, which is time-consuming, error-prone, and unlikely to catch variances across android versions and models
- @aguestuser is also trying to learn the codebase!
- so: we'd like to get some super-basic "happy path" tests in place to (1) derisk/accelerate releases and (2) help @aguestuser learn the codebase and toolchain
Behavior
WHEN a gradle script is invoked (locally or on build machine) THEN a set of instrumented tests run that verify the following basic user flows:
- app launches w/o crashing
- app bootstraps connection to tor
- i can configure a bridge and reconnect to Tor over a bridge
- i can toggle between all 3 security levels and verify that prefs have been changed accordingly (by visiting https://people.torproject.org/~sysrqb/test_security_level.html)
Notes
- this ticket will potentially need to be broken into sub-tickets for each user flow (in which case we'll make this an "epic" ticket to track each of the component parts)
Edited by aguestuser