create-playwright
create-playwright copied to clipboard
"npm init playwright" implementation
Prerequisite (stacked on): #118 Closes microsoft/playwright#29893
Adding new test-dir as described here https://github.com/microsoft/playwright/issues/29891
This makes it so `create-playwright` detects when its run with `bunx` and uses Bun for package management and script execution.
Hi there, I was reading the code for the `--help` flag and I realized that `create-playwright` is: 1. Exiting with a non-zero exit code 2. Doing some work to find...
When initializing playwright in an existing project, the CLI miss `package-lock=false` in the .npmrc (if exists). `npm ci` is not compatible without lockfile, this PR fixes it: when package-lock.json is...
This will have to wait for this PR https://github.com/microsoft/playwright/pull/27783 to be merged and the `@playwright/experimental-ct-angular` to be published. _Tests are broken because `@playwright/experimental-ct-angular` package is not published yet._
`pnpm create playwright` getting error in pnpm monorepo. Relative issues: microsoft/playwright#27203  Fixed by look up `${process.cwd()}/pnpm-workspace.yaml`
Please file your issues [here](https://github.com/microsoft/playwright/issues/new/choose).
When [`process.env.GITHUB_ACTIONS`](https://docs.github.com/en/actions/learn-github-actions/variables#:~:text=GITHUB_ACTIONS,by%20GitHub%20Actions.) is set, use [the `'github'` reporter](https://playwright.dev/docs/test-reporters#github-actions-annotations)
Add `--no-gha` option to be able to skip the question of creating the GitHub Actions workflow ```bash $ pnpm create playwright Getting started with writing end-to-end tests with Playwright: Initializing...