Are Your Maestro Flows Ready to Become a Real Test Suite?
Your Maestro tests pass. That doesn’t mean they’re testing the right thing.
A flow is a short script that taps and types through your app, like a login test. To tap a button, Maestro needs a selector which is how you tell it which element to find. Say your selector is the word “Login.” On a login screen, that word can match three things: the tab at the top, the toggle, and the submit button.
Maestro taps the first one it finds and reports success. There’s no warning. The test is green, but it may have tapped the wrong thing.
That’s the first problem. The second one shows up as you write more tests. Every test needs the user to be logged in, so you copy the login steps into each one. Then the login screen changes. You fix nine copies and miss the tenth.
Neither problem is a Maestro bug. Both come from how the flows are written, and both have simple fixes. I wrote this two-part series to walk through them step by step.
Get Mayvin Ramasawmy’s stories in your inbox
Join Medium for free to get updates from this writer.
What you’ll learn:
🎯 Which selectors are the most reliable and how to check what your test actually taps
♻️ How to write the login steps once and reuse them in every test
🔀 How to handle popups that only appear sometimes like a permission request
🧹 How to clean up test data, even when a test fails halfway
🏷️ How to run a quick smoke check or the full set of tests from the same project
📁 Two ways to organize your test files, and how to choose
Part 1 covers selectors and reusable steps. Part 2 uses them to build a full test suite. You can read either one on its own but they work best in order.
Part 1: https://www.mobile-automation.io/maestro-selectors-subflows/
Part 2 here: https://www.mobile-automation.io/maestro-flows-to-test-suite/
Stay up to date
If you found this useful, I publish new Appium and mobile testing guides regularly at mobile-automation.io — covering everything from beginner setup to framework design and AI in mobile testing.
📬 Subscribe for free to get new articles delivered directly to your inbox.
https://www.mobile-automation.io/#/portal/signup/free








