Advanced: Wikipedia Android

A complete example using Maestro + Wikipedia App

Content

  • Go through onboarding

  • Navigate dashboard

    • Scroll feed & search for item

    • Copy text & paste

    • Validate visible items

  • Authentication

    • Signup

    • Login

  • Use javascript

Use maestro download-samples to download the app and code

Onboarding

  1. Launches app in clear state

  2. Runs onboarding flow

    1. Add language

    2. Remove language

    3. Complete onboarding

  1. Search & Save

    1. Searches for a wiki page

    2. Saves the wiki page in favorites

    3. Returns to main dashboard

  2. Feed

    1. Scroll feed until it finds a particular article

    2. Opens article

  3. Copy & Paste

    1. Scrolls feed until it finds a particular article

    2. Copies article title

    3. Pastes copied text into another field

  4. Saved

    1. Vaidates a particular page has been saved in our favorites

Authentication

  1. Signup

    1. Navigates to signup

    2. Generates credentials using javascript

    3. Fills input fields with generated credentials

  2. Login

    1. Navigates to login

    2. Fetches a test user from a test api using javascript

    3. Fill input fields with fetched credentials

Javascript scripts

Last updated

Was this helpful?