Learned steps

// DEFINITION

A learned step is an AI test step that Shiplight has resolved once and now replays from its stored locator with no model call. Testing tools also call this cached steps, the action cache, or deterministic replay.

By Shiplight AI TeamPublished

In one sentence

A learned step is an AI test step that Shiplight has resolved once and now replays from its stored locator with no model call. Practitioners know the same idea as cached steps, the action cache, or deterministic replay. "Learned steps" is the name on Shiplight's pricing page.

How a step gets learned

  1. You write the step as intent, for example "click the Save button".
  2. On the first run, the AI reads the page, finds the element, and acts.
  3. Shiplight stores the locator it used. That stored locator is the learned step.
  4. On later runs, the step replays from the stored locator in under a second, with no model call and no token cost.

When the page changes

If the stored locator no longer matches, the step heals: the AI resolves the intent against the current page, and the run continues. Once the test passes, the learned locator updates, and later runs replay the new one. See self-healing test for how healing works and where it can go wrong.

Plan limits

Each plan caps how many learned steps Shiplight Cloud keeps for your organization.

PlanLearned steps
Pro1,000
Crew5,000
EnterpriseCustom

Over the limit, the least recently used learned steps are dropped. A dropped step is re-learned the next time a test needs it, which costs one model call.

What is not a learned step

  • VERIFY steps. A plain-language check calls the model on every run, unless a learned js: check for it passes.
  • Explicit steps and code steps. They never called the model, so there is nothing to learn.
  • A heal. A heal calls the model once, then becomes a learned step again.

Why it matters

Learned steps are why a stable AI test suite costs far less per run than its first run. Most steps replay deterministically, so runs are fast and repeatable, and the model is called only for new steps, heals, and checks.

See also

Try Shiplight

Start free in your coding agent, or talk to us about your team.

Try Shiplight

Start free. Ship with tests that keep up.