Page MenuHomePhabricator

Improve test automation on iOS app
Open, Needs TriagePublic

Description

This is a ticket to kick off improved test automation on iOS, along with an audit of current test automation practices on iOS. Improving test automation for an iOS app using Xcode 26 and AI centers on leveraging Apple's native coding intelligence to accelerate script creation and maintenance. By utilizing the Coding Assistant pane, you can use plain English prompts to have Xcode autonomously write XCUITest scripts, identify element locators, and even fix failing tests by analyzing error messages.

Path

  • Audit current test automation on iOS
  • Improve the current smoketest with an eye toward automation
  • Learn new Xcode 26 and AI coding to facilitate test automation
  • Discussion with stakeholders to create a test suite
  • Plan for maintaining test suite once created
  • Replace manual smoketest with automation

References

https://developer.apple.com/documentation/Xcode/writing-code-with-intelligence-in-xcode
https://developer.apple.com/documentation/xcuiautomation/

Event Timeline

Potentially a good starting point for this would be to figure out a test plan for https://phabricator.wikimedia.org/T408468 - and try to create automated tests to fulfill that test plan.

My recommended first step would be to take throw together a basic test plan with positive/negative scenarios. We could then pair program to see how far we can get on test automation according to that plan.