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

playwright-zephyr-essential

v1.0.8

Published

Playwright reporter for Zephyr Scale Cloud, Zephyr Squad (Essential), and Zephyr Server/DC

Readme

playwright-zephyr-essential

Playwright test reporter for Zephyr Squad (Essential), Zephyr Scale Cloud, and Zephyr Server/DC.

This is a fork of playwright-zephyr that adds support for Zephyr Squad (formerly Zephyr for Jira Cloud / Zephyr Essential) — a separate product from Zephyr Scale with its own API and authentication scheme.

Install

npm install playwright-zephyr-essential

Reporters

| Reporter | Product | Import path | | -------------------------------- | -------------------------------------------- | ----------------------------------- | | Squad | Zephyr Squad (Essential) — Jira Cloud add-on | playwright-zephyr-essential/squad | | Cloud | Zephyr Scale Cloud (SmartBear) | playwright-zephyr-essential/cloud | | Server | Zephyr Scale Server / Data Center | playwright-zephyr-essential |


Zephyr Squad (Essential)

Zephyr Squad (formerly "Zephyr for Jira Cloud") is a Jira Cloud app by SmartBear. Its API is at prod-vortexapi.zephyr4jiracloud.com and uses a different authentication scheme than Zephyr Scale.

Prerequisites

  1. In Jira, go to your project → ZephyrAPI Keys → click Generate.
  2. Copy both the Access Key and Secret Key.
  3. Get your Atlassian Account ID from your Jira profile URL: https://yourcompany.atlassian.net/people/YOUR_ACCOUNT_ID

Configuration

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

export default defineConfig({
  reporter: [
    [
      'playwright-zephyr-essential/squad',
      {
        accessKey: process.env.ZEPHYR_ACCESS_KEY, // from Jira → Zephyr → API Keys
        secretKey: process.env.ZEPHYR_SECRET_KEY, // from Jira → Zephyr → API Keys
        accountId: process.env.JIRA_ACCOUNT_ID, // your Atlassian account ID
        projectKey: 'MYPROJ',
        testCycle: {
          name: `Playwright run - ${new Date().toISOString()}`,
          versionName: 'Unscheduled', // Jira release/version name
          createNewCycle: true,
          // folderName:  'Regression',   // optional folder within the cycle
        },
      },
    ],
  ],
});

Test titles

Include the Zephyr test case ID inside square brackets anywhere in the test title:

test('[123] login page renders correctly', async ({ page }) => {
  await page.goto('https://example.com/login');
  await expect(page.locator('h1')).toBeVisible();
});

The number 123 maps to test case MYPROJ-123 in Zephyr Squad.

Output

Zephyr Squad Report details:
╔══════════════════════════════════════════════════════════════════╗
║ ✅ Job has been successfully created, Job id is : 726FAE2BD1...  ║
║ Check your Zephyr Squad project for the test cycle results.      ║
╚══════════════════════════════════════════════════════════════════╝

Zephyr Scale Cloud

Zephyr Scale Cloud (by SmartBear) uses a long-lived bearer token from https://smartbear.com.

Prerequisites

Get your API token from: Zephyr ScaleSettingsAPI Access Tokens (docs)

Configuration

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

export default defineConfig({
  reporter: [
    [
      'playwright-zephyr-essential/cloud',
      {
        projectKey: 'MYPROJ',
        authorizationToken: process.env.ZEPHYR_AUTH_TOKEN,
        testCycle: {
          name: `Playwright run - ${new Date().toISOString()}`,
          // description: 'Automated regression run',
          // jiraProjectVersion: 10001,
          // folderId: 1234,
          // customFields: { Browser: 'Chrome', Device: 'macOS' },
        },
      },
    ],
  ],
});

Test titles

test('[J79] basic test', async ({ page }) => {
  await page.goto('https://playwright.dev/');
  await expect(page.locator('.navbar__title')).toHaveText('Playwright');
});

Zephyr Server/DC

Zephyr Scale Server and Data Center use a Jira-hosted API with basic auth or a personal access token.

Configuration

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

export default defineConfig({
  reporter: [
    [
      'playwright-zephyr-essential',
      {
        host: 'https://jira.your-company.com',
        authorizationToken: process.env.ZEPHYR_AUTH_TOKEN,
        projectKey: 'MYPROJ',
      },
    ],
  ],
});

Publishing this package (maintainer notes)

1. Create the GitHub repository

# Create https://github.com/mirus-ua/playwright-zephyr-essential on GitHub, then:
git remote set-url origin https://github.com/mirus-ua/playwright-zephyr-essential.git
git push -u origin main

2. Log in to npm

npm login
# Enter your npm username, password, and OTP if 2FA is enabled

3. Build and publish

npm run build    # compiles TypeScript → lib/src/
npm publish      # publishes to npm registry

If your npm account requires 2FA for publishing: npm publish --otp=<your-otp>

4. Subsequent releases

Bump the version in package.json, then:

npm run build && npm publish

Or use the built-in release script:

npm run release:patch   # 1.0.0 → 1.0.1
npm run release:minor   # 1.0.0 → 1.1.0
npm run release:major   # 1.0.0 → 2.0.0

License

MIT — see LICENSE.

Original work by Yevhen Laichenkov. Zephyr Squad support added by mirus-ua.