Page MenuHomePhabricator

[Epic] Replace current manual regression test with instrumented Espresso test.
Closed, ResolvedPublic2 Estimated Story Points

Description

Our current regression test, which we perform once per every release cycle, is performed manually by our QA staff.

This kind of test could potentially be automated by making an instrumented test that performs all the same steps programmatically, and reports if there are failures.

Let's work towards making an Espresso-driven test that aims to be 1:1 with our current regression/smoke test.

Event Timeline

Dbrant renamed this task from Replace current manual regression test with instrumented Espresso test. to [Epic] Replace current manual regression test with instrumented Espresso test..Oct 30 2024, 8:22 PM

@Dbrant is there a link to the manual regression test cases that one can use as reference for the automation?

Dbrant changed the point value for this task from 5 to 8.Dec 8 2025, 6:29 PM
Dbrant changed the point value for this task from 8 to 2.Dec 9 2025, 5:37 PM
  1. Espresso tests can now run on GitHub Actions. At the moment, they need to be triggered manually by going to Actions in GitHub and selecting either the Android Smoke Test workflow or the Android Saved Article Offline Test workflow.
  2. The Espresso Smoke Test only includes tests that don’t require login, since Captcha prompts appear during login and there’s no way for Espresso to complete them.
  3. Tests that do require login must currently be run locally through Android Studio, using the LoggedInUserTestSuite file.

Nice to have: A Python script that runs the LoggedInUserTestSuite with a single terminal command. There are a few complexities around this, so it might take some time to sort out. For now, I’m keeping it as a nice-to-have since the tests can already be run through Android Studio.

ABorbaWMF subscribed.

Appears to be fixed on 50565-r-2026-01-12 on OnePlus 8 on Android 13, and Pixel 6 on Android 16. Performed the smoketest.