Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarAWS Machine Learning Blog→ original

Epsilon Writes an 18-Step UI Test in 5–10 Minutes Instead of 30–90 s with Amazon Nova Act

UI autotests break on cosmetic changes: rename a CSS class and the script fails, even though the button still works. Epsilon, part of Publicis Groupe, added a layer on top of Playwright where tests are written in plain English and executed in the browser by an AI agent from Amazon Nova Act. Building an 18-step agent-creation scenario takes 5–10 minutes instead of 30–90 minutes in Playwright, which makes it 4–6 times faster. Keep Playwright for regression testing, and describe new scenarios in words.

AI-processed from AWS Machine Learning Blog; edited by Hamidun News
Epsilon Writes an 18-Step UI Test in 5–10 Minutes Instead of 30–90 s with Amazon Nova Act
Source: AWS Machine Learning Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceAWS Machine Learning Blog ↗
Editor-in-Chief
Key metric #1Replaying a recorded run makes no new LLM calls: 100% pass rate
Key metric #2Instead of 80–150 lines of Playwright code, 18 phrases with no selector hunting
Key metric #3Each team runs its tests in its own AWS account under a restricted IAM role

Anyone who has maintained UI autotests knows the problem: a designer renames a CSS class or moves a button, and half the tests turn red even though the product works. Epsilon, a marketing company within the Publicis group with hundreds of millions of consumer profiles, has added a layer on top of its existing tests. Scenarios are written in plain English, and an AI agent from Amazon Nova Act executes them in the browser.

The comparison in the headline is as follows: a typical 18-step scenario (login, filling in forms, scrolling, checks) takes 5–10 minutes to write, while the same test takes 30–90 minutes in Playwright, a scripting framework that many teams already use. That is 4–6 times faster, but only in terms of writing time.

What They Actually Built

Epsilon did not throw Playwright out. It remains the foundation for regression checks, because it works well for predictable scenarios. But it is tightly bound to selectors and page structure, so cosmetic changes break tests even when the functionality is intact. In addition, several product teams wanted to cover their applications with tests, and each would have had to set up browser infrastructure, dependencies, and authorization integration on its own.

Epsilon's platform team (50 engineers) already provides internal teams with a platform for AI agents, so it packaged UI testing as one more agent, ui-test-agent, with two skills. The first records steps while a user explores a scenario. The second executes the recorded steps and returns a structured result.

Here is the mechanism. A user specifies the application address and a list of steps in English via the API. A background Celery worker opens a managed browser session in Amazon Bedrock AgentCore Browser Tool and connects to it over a CDP WebSocket. Nova Act then executes the steps one by one. The system takes a screenshot at each step, calculates the pass rate across steps and the overall success percentage, and stores everything in S3. Jobs go through an SQS queue, and the runner runs on ECS.

Steps can contain conditions. For example: "if an onboarding tooltip appears, click Skip Tour" or "if the search field is not visible, scroll until it appears." In a classic framework, this requires writing branches and waits. Here it is a single phrase.

The Numbers

According to Epsilon's internal measurements, an equivalent Playwright script takes 80–150 lines of code and 30–90 minutes, because every interactive step requires studying the page structure, choosing a stable selector, and writing waits. The Nova Act test is 18 phrases and takes 5–10 minutes.

Token economics are also carefully planned. A scenario first goes through an "exploratory" phase in draft status, usually over 4–5 prompt iterations. The successful trajectory is then saved and replayed in active status without extra LLM reasoning. This reduces latency and the cost of repeated runs. For saved trajectories, Epsilon reports a 100% pass rate on repeated runs.

There is a side effect as well: the tests read like ordinary text, so product managers and QA leads without coding skills can review them. Built-in AgentCore features, including live browser viewing, session recording to S3, and auditing via CloudTrail, gave the team an audit trail it had not originally planned for.

Practical Lessons and Caveats

Epsilon shares several rules. Write steps as intent ("verify that the bonus balance is visible"), not as mechanics with selectors. Isolate the Nova Act environment in a separate service: the team found that the Nova Act signing endpoint always calls us-east-1 regardless of the browser session's region, and dependency conflicts with the Strands agent stack are hard to debug. Use cross-account AssumeRole with restricted policies so that each team's tests run in its own account. Account for the default browser window size in AgentCore, so for steps involving scrolling it is better to state explicitly what to look for at the bottom of the page.

There are limitations too. All the figures come from Epsilon's internal measurements and were published on the AWS blog, so they have a vendor origin. The "5–10 minutes versus 30–90" comparison refers to writing time, not stability over the long run. And 100% on replay means reproducing an already recorded trajectory, not a guarantee that the AI will correctly interpret any scenario on the first try. The solution is also tied to the AWS ecosystem.

The takeaway for teams: if you have Playwright regression tests and the interface changes often, there is no need to rewrite anything. Try describing new scenarios in words, and capture stable runs as trajectories so that you pay for the model's reasoning once. If you are building an internal platform, present testing as one more agent with a shared API, so teams do not have to set up browser infrastructure themselves.

Story

Key Questions Answered

What They Actually Built?

Epsilon did not throw Playwright out. It remains the foundation for regression checks, because it works well for predictable scenarios. But it is tightly bound to selectors and page structure, so cosmetic changes break tests even when the functionality is intact. In addition, several product teams wanted to cover their applications with tests, and each would have had to set up browser infrastructure, dependencies, and authorization integration on its own.

What are the key details on The Numbers?

According to Epsilon's internal measurements, an equivalent Playwright script takes 80–150 lines of code and 30–90 minutes, because every interactive step requires studying the page structure, choosing a stable selector, and writing waits. The Nova Act test is 18 phrases and takes 5–10 minutes. Token economics are also carefully planned. A scenario first goes through an "exploratory" phase in draft status, usually over 4–5 prompt iterations.

What are the key details on Practical Lessons and Caveats?

Epsilon shares several rules. Write steps as intent ("verify that the bonus balance is visible"), not as mechanics with selectors. Isolate the Nova Act environment in a separate service: the team found that the Nova Act signing endpoint always calls us-east-1 regardless of the browser session's region, and dependency conflicts with the Strands agent stack are hard to debug. Use cross-account AssumeRole with restricted policies so that each team's tests run in its own account.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Epsilon Writes an 18-Step UI Test in 5–10 Minutes Instead of 30–90 s with Amazon Nova Act https://news.hamidun.com/en/news/16675/epsilon-writes-an-18-step-ui-test-in-5-10-minutes-instead-of

What do you think?
Loading comments…