Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update error message when using wrong cli #23512

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jun 4, 2023

Now recommends uninstalling other packages. Fixes #23314.

Example messages:

Please install @playwright/test package before running "npx playwright show-report"
  npm uninstall playwright playwright-firefox
  npm install -D @playwright/test
Please install @playwright/test package before running "yarn playwright show-report"
  yarn remove playwright playwright-chromium playwright-firefox playwright-webkit
  yarn add -D @playwright/test
Please install @playwright/test package before running "pnpm exec playwright show-report"
  pnpm remove playwright
  pnpm add -D @playwright/test

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2023

"tests 1" report.

@mxschmitt
Copy link
Member

This fixes #23314?

Now recommends uninstalling other packages.

```
Please install @playwright/test package before running "npx playwright show-report"
  npm uninstall playwright playwright-firefox
  npm install -D @playwright/test
```
@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

"tests 1" report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Getting "Please install @playwright/test package..." when trying to use playwright with yarn.
3 participants