๐ I forked the playwright vscode extension and edited it to support yarn pnp in my project. There are a couple other similar PRs already but I think that this approach may be a reasonable way to support without introducing random implementation details to the project. Would the team be interested in adding this upstream? https://github.com/microsoft/playwright-vscode/compare/main...chasestarr:playwright-vscode-yarn-pnp:playwright-env-node-options I'm happy to edit it in any way if there are suggestions
This thread is trying to answer question "Would the team be interested in adding support for yarn pnp in the playwright vscode extension?"
Thanks for responding Pavel. Are you referring to this PR that can configure which package manager to install playwright? https://github.com/microsoft/playwright-vscode/pull/283/files This is not quite sufficient for my needs since it is currently limited to the install command, but maybe this config could be used to call node similar to here https://github.com/microsoft/playwright-vscode/pull/277
Ah ok. I put this branch up as a PR here https://github.com/microsoft/playwright-vscode/pull/301. It should support pnpm and yarn 2 with a small amount of configuration
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].