← All posts

Running Maestro UI Tests on a Cloud Phone (2026)

Sep 18, 2026 · By Xavier Fok

You write a Maestro flow, a neat little yaml file that opens your app, taps the login button, types a code, and checks that the home screen appears. You run it against an emulator on your laptop and it goes green on the first try. You feel good, you wire it into your pipeline, and then a real user on a real phone hits the exact path your test just blessed, and it falls over. The login never completes, the code never arrives, the screen your test swore was there is not.

For context, I run more than a hundred real cloud Android phones in Singapore. Genuine Samsung handsets on real carrier sims, each with its own persistent Singapore mobile ip and its own adb endpoint, on dedicated hardware in a rack, with a live view you open in the browser. Maestro is one of the best things to happen to mobile testing in years, because it is fast, readable, and it drives the device the way a person would. But the moment a flow touches something real, a login that checks for genuine hardware, a code that arrives by sms, a screen that changes with where the phone is, an emulator hands you a green that means nothing. Point it at a real phone and the green finally means what you think.

Why an emulator’s green means nothing

A lot of modern apps check whether they are running on genuine hardware before they behave. A banking app, a wallet, anything that guards a login will quietly refuse or degrade on a device that fails an integrity check, and an emulator fails it. So your flow taps login, and on the emulator it either sails through a weaker path the app only shows to untrusted devices, or it hits a wall that never appears for a real user. Either way the run is a lie. On a real Samsung handset the app takes the same path your customer takes, so the flow is finally testing what you actually shipped.

Where the flow runs What Maestro sees What the pass is worth
Emulator on a laptop Fake hardware, no sim, no location A green on a path real users never take
Laptop with a spoofed user agent A browser dressed as a phone Not a device flow at all
Real cloud phone over adb Genuine hardware, real sim, real SG network The pass your customer will actually get

Maestro will happily run your flow against any of these, because it only asks that the device is reachable over adb. It is up to you to point it at the row that tells the truth.

How Maestro reaches a cloud phone

Here is the part that makes Maestro fit a cloud phone so cleanly. It does not care what kind of device it is talking to, it only cares that the device is reachable over adb. That is the same door a real cloud phone opens. Each phone in the fleet has its own adb endpoint, so from your laptop or your build machine you adb connect to it, Maestro sees a normal Android device on the other end, and it runs your flow as if the phone were cabled to your desk. Nothing about the flow changes. You are just pointing it at a real handset in a rack in Singapore instead of a fake one in memory.

In practice the loop is boring, which is the highest compliment you can pay a test setup. You adb connect to the endpoint, you run maestro test on your flow file, and you watch it drive the real screen, tapping and typing and asserting, while a live view in your browser shows the same phone doing the same things. When a step fails, Maestro tells you which line and shows you the screen at the moment it gave up, so you are not left guessing. It feels local even though the phone is nowhere near you.

The flow that actually matters: codes and logins

The sharpest example of why the device matters is any flow with a code in it. So many logins and signups now send a one time code by sms, and your flow has to type that code in to get past the wall. On an emulator there is no sim, no carrier, and no message, so you hard code a fake number that never receives anything or you stub the step out and pretend it works. Either way you have skipped the only hard part of the login.

On a real cloud phone there is a real Singapore sim with a real number. The code actually arrives, and because the phone is reachable over adb, your flow can read the message and type it in, testing the exact path a real customer walks. That is the difference between a test that covers your login and a test that quietly steps around it. The same logic applies to anything the network decides. If your app shows different content, different pricing, or a different flow depending on where the device is, a flow on a real Singapore phone asserts against the screen a real Singapore customer gets, on a real Singapore carrier ip, so a geo specific bug shows up in your test instead of in an angry message after launch.

Building and iterating on the real screen

Building these flows is easier against a real phone than you might expect. Maestro ships an interactive studio that shows the live screen and lets you click elements to generate commands, plus a record mode that watches you use the app once and writes the flow for you. Run that against a cloud phone and you build your test on the real screen, with the real app behaving the real way, so the flow is grounded in what actually happens rather than in an emulator’s polite fiction.

While you develop, a continuous mode reruns the flow every time you save the file. Paired with the live browser view, that turns writing a test into a tight loop. You tweak a line, it replays on the real handset in front of you, and you see exactly where it lands, without waiting on a whole pipeline to tell you that you typed the wrong element id.

One flow, the whole fleet

Where the cloud part really pays off is when one phone becomes many. The same flow you proved on a single handset can run across a row of them at once, each a real Singapore phone on its own carrier and its own account. So instead of asking does my login work, you ask does it work on a Singtel phone and a StarHub phone and an M1 phone, on this account and that one, all in the same run. That matrix is exactly what an emulator flattens into one fake device, and it is exactly where the real bugs live, in the differences between real networks and real accounts.

Because everything runs over adb, none of this has to be done by hand. You can wire the same flows into your build so every release runs them against the fleet, or schedule them each morning and drop a folder of results, pass or fail, screen captures and all. Ten phones can each attempt the same critical path before you have finished your coffee, and you get a plain report of which ones passed.

Persistence, flakiness, and honest limits

The identity staying put is part of why the results are worth trusting. Each phone keeps the same handset, the same real number, and the same persistent Singapore mobile ip, so a flow you run today lines up against the one you ran last month on the same device. When a test that passed for a year suddenly fails, you know it was your change or the backend, not the ground shifting under you, because the phone is the same phone.

I want to be honest about flakiness, because no tool erases it. Maestro is good at waiting for the screen to be ready, which kills most of the timing flakes that plague older frameworks, but a real phone on a real network still has real latency, and a slow backend can still make a step time out. Write flows that assert on the app being ready rather than on a fixed delay, and accept that a real device tells you about real slowness instead of hiding it. Any flow that sends a real code or makes a real charge is a real event that costs something, so you test those deliberately rather than in a tight loop, and a cloud phone is the right tool for functional flows, logins, checkouts, onboarding, not for twitch reflex frame timing in a game.

Where the line is

This is for testing your own app, your own flows, on accounts you legitimately control, so you can ship a login and a checkout that actually work. It is a way for an honest team to see the real path a real customer walks. It is not a way to farm accounts, hammer someone else’s service, or drive a flow you have no right to run, and a real device does not make any of that acceptable. Keep it pointed at your own product.

The reason teams do not just keep a drawer of real phones is that a device lab is a grinding job. Every carrier you want to cover needs its own sim that costs money every month, prepaid lines need topping up, every handset needs charging without cooking its battery, needs its updates, and needs to stay reachable over adb from wherever your test machines run. Do that across four carriers, kept alive so Maestro can hit them on every release, and it is a full time role that has nothing to do with the app you are trying to ship.

Try it on real phones

cloudf.one is exactly that fleet, run so you do not have to. Real Samsung handsets in Singapore on dedicated hardware, each with a persistent Singapore mobile ip on a real carrier sim across Singtel, StarHub, M1, and Vivifi, an adb endpoint per phone, an api to list and lock phones, and browser control. Not an emulator, not a datacenter address, not a laptop wearing a Singapore label, a genuine phone that Maestro can drive over adb because it is a genuine phone. Start at cloudf.one and use code YT30 on your first month.

Maestro will run your flow against anything it can reach over adb, which is exactly why you should point it at a real phone. An emulator gives you a green on integrity checks it fails, codes that never arrive, and locations that do not exist. A real Singapore cloud phone runs the same yaml flow on genuine hardware, a real sim, and a real network, so the pass finally means your login, your checkout, and your onboarding work for the customer you actually have.

Get new guides and videos first — join the Telegram channel.

40% off until 31 December 2026
Real phones in Singapore, each with its own mobile IP.
Introductory price until 31 December 2026. A dedicated phone straight away, no queue.