Skip to content

Playwright Runner for Zed

zed: extensions · community extension for Zed

Run and manage Playwright end-to-end tests from the Zed editor.

A community Zed extension that mirrors the Playwright VS Code extension through the surfaces Zed gives extensions. Work in progress.

sample-project / tests / passing.spec.ts
Zed with tests/passing.spec.ts open. Run test and Run describe lenses sit above each test, step duration labels follow the step lines, and a notification in the corner reports the passing run.
Lenses above the tests, durations after the steps and the result of the last run, all inside the editor. (Zed 1.26.2, Playwright Runner 0.8.0, Linux (Ubuntu 26.04, GNOME))

Install

playwright-runner : install
  1. In Zed, open zed: extensions and search for Playwright Runner.
  2. Turn on code lenses in your Zed settings: "code_lens": "on".
  3. Open a project with @playwright/test 1.38 or newer, trust the folder, and click ▶ Run test above any test.

The registry listing is under review; until then install from source.

Requirements

Zed 1.23 or newer, Node.js 22 or newer, @playwright/test 1.38 or newer with browsers installed.

Screenshots on this site show Zed 1.26.2 on Linux with Playwright Runner 0.8.0; the window chrome differs per platform.

Capabilities

statusWork in progress. Expect rough edges and gaps compared to the VS Code extension; bug reports and feedback are welcome in the issue tracker.
affiliationIndependent community extension. Not affiliated with, endorsed by, or maintained by Microsoft or the Playwright team. "Playwright" is a trademark of Microsoft Corporation; the name is used only to describe what this extension works with.