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

xray-cucumber-playwright-bdd

v3.5.1

Published

Integration between Xray, Cucumber, and Playwright BDD

Downloads

148

Readme

Playwright-Bdd-Xray Plugin

This is a playwright-bdd plugin which implements automatic synchronization of Feature-Files with Xray-Cloud.

Configuration

  1. Prerequisites:

    NodeJS version >= v22:

  2. Load the plugin:

    Import package xray-cucumber-playwright-bdd: npm install xray-cucumber-playwright-bdd

    Add the plugin as a reporter in the playwright config:

    reporter: [
       xrayReporter,
    ],
  3. Configure Plugin

    Please also setup the client-id and secret[^1] as well as the xray-project ID[^2] in the environment variables CLIENT_ID, CLIENT_SECRET and XRAY_PROJECT.

    You can also specify optional fields which should be filled during creation of new test cases via a json structure inside the environment variable XRAY_CUSTOM_FIELDS. Furthermore, XRAY_TESTPLAN may be set to a Jira-Key (e.g. XSP-60) to associate created tests / executions with the given test plan, XRAY_TESTTYPE may be set to overwrite the default test-type ("Manual") when creating tests, XRAY_TESTPRIORITY may be set to overwrite the Jira-Priority of created tests.

    Please use the id of the custom field as a key and it's default value as a value inside the json structre, i.e XRAY_CUSTOM_FIELDS={"customfield_10050": "my value"}.

  4. Done

    That's it. All runs will now automatically synchronize existing feature-files and create runs.
    Please check stderr for any potential issues.

    On the initial run, the console output will spew out a bunch of IDs (usually 5 digit numbers). You can add these to the corresponding feature-file by adding a top-level tag: @IssueId=<ID>.
    If the Test-Case already exists remotely, you can also specify the Jira-Key: @TestId=<Key> (where Key is e.g. XSP-60)

[^1]: See https://docs.getxray.app/space/ProductKB/46269250/%5BXray+Cloud%5D+How+to+get+API+Keys [^2]: This is usually a three letter identifier, that most test-cases are also prefixed with. In the official Xray Demo this is XSP