Page MenuHomePhabricator

Add Adaptive UI Testing to the codebase
Open, MediumPublic8 Estimated Story Points

Description

The Home feed has recently been migrated to Jetpack Compose, which removed much of the XML-based UI. As a result, the existing UI tests are no longer applicable. The goal of this task is to establish a UI testing approach that supports both the remaining XML based screens and the new Jetpack Compose UI.

A spike was completed to evaluate using AI to help implement UI tests. The spike PR outlines the architecture and AI skills required for generating and maintaining these tests:
https://github.com/wikimedia/apps-android-wikipedia/pull/6647

Requirements

  1. Refine the AI skill definitions as needed.
  2. Remove the old XML based UI tests for the Home feed.
  3. Follow the testing architecture established in the spike, refine it where necessary.
  4. Replace the Home feed XML UI tests with Jetpack Compose UI tests and
  5. Fix any existing broken UI tests encountered during the migration to ensure the test suite is stable.
  6. Integrate the UI tests into GitHub Actions, using the existing Android smoke test workflow as a reference:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
WRai-WMF renamed this task from Add UI Testing to the codebase to Add Adaptive UI Testing to the codebase.Aug 4 2026, 6:20 PM
HNordeenWMF moved this task from Team Triage to P1 (Ready for sprint) on the App Experience board.
HNordeenWMF set the point value for this task to 8.