Skip to main content

@krakentech/blueprint-playwright

1.2.3

Patch Changes

  • 2567a7c: New bundling strategy for better performance

    • Unbundle mode Packages are now bundled using tsdown's unbundle mode. This mode drastically reduces the number of generated file compared to the glob-filtered entries we used before, and prevented proper tree-shaking.

    • Automatic package.json exports tsdown is now responsible for generating the package.json exports, main, module, and types fields. This ensures packages follow best practices.

1.2.2

Patch Changes

  • 751c506: Upgrade @playwright/test to version 1.56.1

1.2.1

Patch Changes

  • c045425: Fix peer dependencies to use ^ instead of exact versions.

    -    "@krakentech/blueprint-api": "3.3.0",
    + "@krakentech/blueprint-api": "^3.3.0",

    - "@vercel/edge-config": "1.1.0",
    + "@vercel/edge-config": "^1.1.0",

1.2.0

Minor Changes

  • 63447ac: Allow Next 15 and React 19 as peer dependencies.

    The minimum required versions are still the same:

    • next@14.2.25
    • react@18.2.0
    • react-dom@18.2.0.
    • @types/react@18.3.23

1.1.0

Minor Changes

  • 9588001: Previously, due to how routes were registered, only the first matching request for a given handler was mocked.

    The clientWorker now intercepts all matching requests, not just the first one.

1.0.0

Major Changes

  • ce9a3b0: Add unified MSW-based mocking for Playwright E2E tests in Next.js apps.

    This first version introduces a test helper factory (createPlaywrightHelpers) that enables mocking at all levels:

    • Browser: fetch/XHR via clientWorker (uses page.route under the hood).
    • Server: SSR and API routes via serverWorker (MSW in Node).
    • Edge Runtime: middleware requests proxied through a local Express server for full mock control.

    Extra features:

    • Automatic support for Edge Config and feature flags.
    • Compatible with the VSCode Playwright extension via connectOptions.

    Requires Node.js >= v22. Supports @playwright/test >= 1.54.1 and MSW >= 2.3.1.