Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

1.5.0 version comes still with playwright-core 1.8.0 #623

@daliusd

Description

@daliusd

jest-playwright installs playwright-core with itself. For some reason 1.5.0 version installs playwright-core 1.8.0 (while I see that dependabot increased version to 1.9.1 in jest-playwright). I don't know how you make releases but I guess this is manual process and because of that 1.5.0 was released with playwright-core 1.8.0 (e.g. you have not done complete clean-up of node modules and fresh install).

Why this is problem? I want to install playwright 1.9.1 but I can't because type definitions mismatch and fails, like this:

Property 'pause' is missing in type 'import("/home/runner/work/apskaita/apskaita/node_modules/jest-playwright-preset/node_modules/playwright-core/types/types").Page' but required in type 'import("/home/runner/work/apskaita/apskaita/node_modules/playwright/types/types").Page'.

(see this PR https://github.com/daliusd/apskaita/pull/173 if you want to see more context)

One extra idea: maybe playwright-core should be in peerDependencies to avoid problems like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions