Launch an app on an emulator
Medium70 pts~25 min
- Emulators
- Capabilities
Practice app · Acme Mobile
A mobile app in a device frame. Elements expose data-accessibility-id (= aria-label) for AppiumBy.accessibilityId.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Let Appium boot a named Android emulator (AVD) and run the login flow on it.
Your task
- 1Add appium:avd (e.g. Pixel_8_API_34) and a generous appium:avdLaunchTimeout to the capabilities.
- 2Wait for the login screen instead of assuming the emulator is ready.
- 3Log in as qa@target.dev / Test@123 via the accessibility ids "username", "password" and "login".
- 4Assert the inbox is displayed.
Acceptance criteria
- An AVD capability is set
- Login succeeds and the inbox is shown
- At least 1 assertion passes
Constraints
- Keep app = TEST_URL from the starter — it installs the practice build of Acme Mobile.
Fixtures
- username
- qa@target.dev
- password
- Test@123
Appium 2 · Appium · Setup & capabilities