Skip to content

[BUG] Getting "Please install @playwright/test package to use Playwright Test." #6981

@thecodrr

Description

@thecodrr

Context:

System:

  • OS: Linux 5.4 Ubuntu 21.04 (Hirsute Hippo)
  • Memory: 502.32 MB / 15.52 GB
  • Container: Yes

Binaries:

  • Node: 15.14.0 - ~/.volta/tools/image/node/15.14.0/bin/node
  • Yarn: 1.22.10 - ~/.volta/tools/image/yarn/1.22.10/bin/yarn
  • npm: 7.15.0 - ~/.volta/tools/image/npm/7.15.0/bin/npm

Languages:

  • Bash: 5.1.4 - /usr/bin/bash

npmPackages:

  • playwright: ^1.12.0 => 1.12.0

Describe the bug

I just installed playwright version 1.12 to try out the new test runner but I am consistently getting Please install @playwright/test package to use Playwright Test. no matter how many times I do yarn add --dev @playwright/test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions