Version
1.44.1
Steps to reproduce
- Ensure that your
.gitignore contains the following
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
- Run
pnpm create playwright
- Observe duplicate entries for
/test-results/, /playwright-report/, /blob-report/, /playwright/.cache/
Expected behavior
create-playwright doesn't add duplicate entries to .gitignore
Actual behavior
create-playwright adds duplicate entries to .gitignore
Additional context
No response
Environment
System:
OS: macOS 14.5
CPU: (8) arm64 Apple M1
Memory: 83.81 MB / 16.00 GB
Binaries:
Node: 20.13.1 - /opt/homebrew/bin/node
npm: 10.5.2 - /opt/homebrew/bin/npm
pnpm: 9.1.2 - /opt/homebrew/bin/pnpm
bun: 1.1.4 - /opt/homebrew/bin/bun
IDEs:
VSCode: 1.89.1 - /opt/homebrew/bin/code
Languages:
Bash: 5.2.0 - /opt/homebrew/bin/bash
npmPackages:
@playwright/test: ^1.44.1 => 1.44.1
Version
1.44.1
Steps to reproduce
.gitignorecontains the followingpnpm create playwright/test-results/,/playwright-report/,/blob-report/,/playwright/.cache/Expected behavior
create-playwrightdoesn't add duplicate entries to.gitignoreActual behavior
create-playwrightadds duplicate entries to.gitignoreAdditional context
No response
Environment
System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Memory: 83.81 MB / 16.00 GB Binaries: Node: 20.13.1 - /opt/homebrew/bin/node npm: 10.5.2 - /opt/homebrew/bin/npm pnpm: 9.1.2 - /opt/homebrew/bin/pnpm bun: 1.1.4 - /opt/homebrew/bin/bun IDEs: VSCode: 1.89.1 - /opt/homebrew/bin/code Languages: Bash: 5.2.0 - /opt/homebrew/bin/bash npmPackages: @playwright/test: ^1.44.1 => 1.44.1