Mobile Testing / Scenario

Two Platforms, One Suite: The Merge

tests/android and tests/ios: 23 duplicated files each, six tests missing on iOS, and locators inline everywhere. Plan the merge without dropping coverage.

Difficulty
Medium
Format
Scenario
Points
150
Estimate
12 min

// MISSION BRIEF

Your Mission

The mobile suite grew as two parallel copies: an Android directory and an iOS directory, each with its own version of every test. They have drifted: iOS is six tests behind, three "identical" tests assert different things, and every locator lives inline.

Design the merge into one cross-platform suite. Decisions are weighted.

// FIRST CONTACT

Battle teaser

First artifact

Repo layout today

The target architecture for the merged suite:

  1. ADelete the iOS suite; Android has more users anyway
  2. BRewrite everything in a no-code tool that claims cross-platform support
  3. COne set of platform-agnostic tests over screen objects; each screen holds a per-platform locator map (or shared accessibility ids), and a driver factory picks the platform from run config
  4. DKeep both directories but add a script that diffs them weekly
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

appiumcross-platformscreen-objectsrefactoring