playwright
playwright copied to clipboard
[BUG] Installation tests are broken
Must be fixed for 1.25.
(Caused by the last NPM release)
Confirmed locally test passes with older npm@8, but fails after upgrade to https://github.com/npm/cli/releases/tag/v8.16.0
Upstream https://github.com/npm/cli/issues/5268
Must be fixed for 1.25.
For now, I will pin to last working version of npm
for these tests. Running npx playwright --help
outside of project works fine on latest version; it's only when you combine it with npm_config_prefix
setting (which our tests do), that it seems to be broken (and I suspect most users do not have a custom config prefix.)
Also note, per my upstream filing, it's not restricted to PW package. serve
package exhibits the behavior as well.