npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@flakeytesting/playwright-reporter

v0.9.0

Published

Playwright reporter for Flakey — uploads results, screenshots, and videos

Downloads

105

Readme

@flakeytesting/playwright-reporter

Playwright reporter for the Flakey test reporting dashboard. Uploads results, screenshots, videos, and DOM snapshots extracted from Playwright traces.

Install

pnpm add -D @flakeytesting/playwright-reporter
# or
npm install --save-dev @flakeytesting/playwright-reporter

@playwright/test is an optional peer (>=1.30.0) — the reporter is only useful alongside Playwright.

Quick start

Add the reporter to your playwright.config.ts:

// playwright.config.ts
import { defineConfig } from "@playwright/test";

export default defineConfig({
  reporter: [
    ["@flakeytesting/playwright-reporter", {
      url:    process.env.FLAKEY_API_URL,
      apiKey: process.env.FLAKEY_API_KEY,
      suite:  "my-app-e2e",
    }],
    ["list"], // keep stdout output too if you like
  ],
});

Then run as usual:

FLAKEY_API_URL=https://flakey.your-domain.com \
FLAKEY_API_KEY=fk_xxx... \
playwright test

The reporter posts everything in one batched upload at end-of-run. For live per-test events, additionally wire @flakeytesting/live-reporter/playwright.

What gets captured

  • Test title, full title path, pass/fail/skip status, duration
  • Error message + stack
  • Screenshots and videos (Playwright attachments — image/* / video/*)
  • Command logs + DOM snapshots extracted from .zip trace attachments (via @flakeytesting/playwright-snapshots, an internal dep — you don't install it separately)

Retry handling: a failed test that has more retries left is dropped from the upload; only the final outcome reaches the dashboard. So the counts in Flakey match pass/fail/flaky as Playwright itself reports them.

Options + env-var fallbacks

The reporter constructor reads any of these from process.env if the matching option is absent. Options always win.

| Option | Type | Fallback | Notes | |--------|------|----------|-------| | url | string | FLAKEY_API_URL | Required (option or env). Backend base URL. | | apiKey | string | FLAKEY_API_KEY | Required. | | suite | string | FLAKEY_SUITE, then "default" | Suite name shown in dashboard. | | branch | string | BRANCHGITHUB_HEAD_REFGITHUB_REF_NAMEBITBUCKET_BRANCH | | | commitSha | string | COMMIT_SHAGITHUB_SHABITBUCKET_COMMIT | | | ciRunId | string | CI_RUN_IDGITHUB_RUN_IDBITBUCKET_BUILD_NUMBER | | | release | string | FLAKEY_RELEASE | Release version — backend upserts release + links run | | environment | string | FLAKEY_ENVTEST_ENV | Target env label (e.g. qa, stage) — stored on runs.environment |

Live streaming (optional)

For mid-run per-test events (so the dashboard updates as the suite runs):

// playwright.config.ts
export default defineConfig({
  reporter: [
    ["@flakeytesting/playwright-reporter", { /* ... */ }],
    ["@flakeytesting/live-reporter/playwright", {
      url:    process.env.FLAKEY_API_URL,
      apiKey: process.env.FLAKEY_API_KEY,
      suite:  "my-app-e2e",
    }],
  ],
});

Compatibility

  • Playwright: >=1.30.0 (optional peer)
  • Node: 20+

Links