Lastest supports two execution modes. Local Playwright execution on the host is no longer supported -- every test runs inside an Embedded Browser pod, even in local development.
| Mode | How | When |
|---|---|---|
| Embedded Browser (default) | Browser runs in a containerized pod with CDP live streaming back to the UI. Provisioned dynamically into k3d locally, or into your cluster in production -- one EB per test. | Default for all dev and prod runs |
| Remote Runner | Tests dispatched to remote machines via the @lastest/runner npm package over HTTP polling |
Distributed execution, different OS/browsers, CI/CD |
Both modes support both running and recording tests. EB pods are short-lived (one job, one EB) -- the provisioner pre-warms a small pool to keep latency low.
Builds can be triggered in multiple ways:
Click Run in the UI to trigger a build immediately. You can:
When a PR is opened or updated:
pnpm test:visual in any CI pipeline| Status | Meaning |
|---|---|
passed |
All tests passed, no visual changes |
safe_to_merge |
Tests passed, only approved/insignificant changes |
review_required |
Visual changes detected that need review |
blocked |
Unapproved meaningful changes present |
failed |
One or more tests failed to execute |
Run only tests affected by your code changes:
This dramatically reduces test time for large suites while maintaining coverage.
Step through test execution with live feedback:
Replay any test (or test version) with a visible browser window for debugging. Useful when a failure isn't reproducible in headless or you want to watch selectors resolve in real time. Available from the test detail page; honours the same setup/teardown sequence as a normal run.
After a recording finishes, Lastest runs a sanity-check pass that resolves every captured selector on the page before saving the test. Bad selectors are surfaced immediately rather than at the next test run, dramatically reducing brittle-on-day-one failures.
Any build, run, or visual diff can be shared via a public link without requiring login. The shared view embeds a watermark and read-only controls so external reviewers (designers, PMs, customers) can see screenshots and approve/comment without an account on the instance.
Configure the maximum number of tests that run simultaneously:
EB_LAUNCH_INTERVAL_MS etc.)Cherry-pick tests and pin specific test versions per build:
Lastest manages baselines per branch:
Run preparation steps before tests execute:
Clean up after tests complete:
Wiki: CI CD Integration
Wiki: Home
Wiki: Scheduled Runs
Wiki: _Sidebar