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

zephyr-playwright-reporter

v1.0.0

Published

Minimal Zephyr Scale for Jira Cloud reporter for Playwright (custom automation ZIP + test cycle folder).

Readme

zephyr-playwright-reporter

Small Zephyr Scale for Jira Cloud integration for Playwright: after the run it collects per-test results, ensures the configured test-cycle folder exists, creates a new test cycle, and uploads via the custom automation API (POST /automations/executions/custom), packaging { version: 1, executions } as zephyr-executions.json inside a ZIP.

This package does not read process.env. The consuming Playwright project passes options from playwright.config.ts (read env vars there and forward values).

Install

From your Playwright project:

npm install -D zephyr-playwright-reporter

Requires Node.js 18+ and @playwright/test (peer dependency).

playwright.config.ts

Use dotenv (or your own loader) in the config file, then pass ZephyrScaleReporterOptions:

import { defineConfig } from '@playwright/test';
import dotenv from 'dotenv';

dotenv.config({ path: '.env' });

export default defineConfig({
  reporter: [
    ['list'],
    [
      'zephyr-playwright-reporter/reporter',
      {
        authorizationToken: process.env.ZEPHYR_TOKEN,
        projectKey: process.env.ZEPHYR_PROJECT_KEY,
        cycleFolderName: 'Automation',
        cycleNamePrefix: 'My Product E2E',
        jiraBaseUrl: process.env.ZEPHYR_JIRA_BASE_URL,
        jiraScaleAppsPath: process.env.ZEPHYR_SCALE_APPS_PATH,
      },
    ],
  ],
});

Reporter options

| Option | Purpose | | -------------------- | ------------------------------------------------------------------------------------------------- | | disabled | When true, the reporter is a no-op (tests run normally, nothing is uploaded). Default: false. | | authorizationToken | Zephyr API bearer token. Required for upload. | | projectKey | Jira / Zephyr project key (e.g. PROJECT_KEY). Required for upload. | | apiBaseUrl | Zephyr REST root including /v2. Defaults to the US Scale endpoint. | | cycleFolderName | Test-cycle folder; created if missing. Default: Playwright. | | cycleNamePrefix | Prefix used in "{prefix} [{UTC}]" cycle names. Default: E2E. | | jiraBaseUrl | Atlassian site, e.g. https://acme.atlassian.net. Used to build the Jira deep link. | | jiraScaleAppsPath | uuid1/uuid2 segment under /apps/ (from a Zephyr Scale URL in Jira). |

To gate uploading on an env var, derive disabled in your config — e.g. disabled: process.env.ZEPHYR_REPORT === 'false'.

When jiraBaseUrl and jiraScaleAppsPath are both set, the reporter prints a Jira link like:

https://acme.atlassian.net/jira/software/projects/PROJECT_KEY/apps/<uuid1>/<uuid2>#/v2/testCycle/PROJECT_KEY-R21

Test titles

Only tests that map to a Zephyr case are uploaded. Either:

  • Start the leaf title with [PROJ-Tn], e.g. [PROJECT_KEY-T2] Login happy path, or
  • Set annotation { type: 'zephyrTestCaseKey', description: 'PROJECT_KEY-T2' }.