deps: dependency @playwright/test to v1.62.1 - #777
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe pull request updates the ChangesPlaywright dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Line 69: Update the direct playwright-core dependency in package.json to
version 1.62.1 so it matches `@playwright/test`, then regenerate pnpm-lock.yaml to
reflect the aligned version.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: b7a46422-85b4-45d8-8395-538ac3f90d57
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
package.json
| "devDependencies": { | ||
| "@faker-js/faker": "10.5.0", | ||
| "@playwright/test": "1.62.0", | ||
| "@playwright/test": "1.62.1", |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
rg -n --glob '*.{ts,tsx,js,mjs,cjs}' 'playwright-core' .Repository: dejanvasic85/williamstownsc
Length of output: 438
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "package.json relevant deps:"
python3 - <<'PY'
import json
p=json.load(open('package.json'))
for sec in ['dependencies','devDependencies','optionalDependencies']:
print(f'[{sec}]')
for k,v in sorted(sec in p and p[sec] or {}, items=True):
if k in ("`@playwright/test`","playwright-core","playwright"):
print(f'{k}: {v}')
PY
echo
echo "lockfile playwright entries:"
if [ -f pnpm-lock.yaml ]; then
rg -n '^ {4}|playwright|`@playwright/test`' pnpm-lock.yaml | head -120
fi
echo
echo "imports in Playwright-related files:"
for f in $(rg --glob '*.{ts,tsx,js,mjs,cjs}' -l "from 'playwright-core'|from \"playwright-core\"|require\\(['\"]playwright-core") .); do
echo "--- $f"
sed -n '1,40p' "$f"
doneRepository: dejanvasic85/williamstownsc
Length of output: 342
🌐 Web query:
npm @playwright/test 1.62.1 playwright-core dependency latest version
💡 Result:
As of July 31, 2026, the @playwright/test package version 1.62.1 requires playwright-core version 1.62.1 as a dependency [1][2]. In the Playwright ecosystem, @playwright/test and playwright-core are strictly version-matched, meaning the corresponding version of playwright-core must be used to ensure compatibility [3][1][4]. You can verify the specific dependency requirements for any version of @playwright/test by checking its package.json file in the official GitHub repository or via the npm registry [3][5]. While @playwright/test 1.62.1 is the current stable release (published July 30, 2026) [3][1], you may occasionally see newer alpha or next releases, such as 1.63.0-alpha, which are published for testing purposes [6]. For standard installations, it is recommended to use the latest stable version by running npm init playwright@latest [3].
Citations:
- 1: https://github.com/microsoft/playwright/releases/tag/v1.62.1
- 2: https://github.com/microsoft/playwright/releases
- 3: https://www.npmjs.com/package/@playwright/test
- 4: https://www.npmjs.com/package/playwright-core
- 5: https://registry.npmjs.org/%40playwright%2Ftest
- 6: https://newreleases.io/project/yarn/@playwright/test/release/1.62.1
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "package.json relevant deps:"
python3 - <<'PY'
import json
p=json.load(open('package.json'))
for sec in ('dependencies','devDependencies','optionalDependencies'):
print(f'[{sec}]')
for k,v in sorted(((sec in p and p[sec]) or {}).items()):
if k in ("`@playwright/test`","playwright-core","playwright"):
print(f'{k}: {v}')
PY
echo
echo "lockfile occurrences:"
if [ -f pnpm-lock.yaml ]; then
rg -n '`@playwright/test`|playwright-core|playwright@' pnpm-lock.yaml
else
echo "no pnpm-lock.yaml"
fi
echo
echo "playwright-core imports:"
python3 - <<'PY'
import pathlib, re
for path in pathlib.Path('.').rglob('*'):
if path.is_file() and path.suffix in {'.ts','.tsx','.js','.mjs','.cjs'}:
text = path.read_text(errors='ignore')
if 'playwright-core' in text:
print(f'--- {path}')
for i,line in enumerate(text.splitlines(),1):
if 'playwright-core' in line:
print(f'{i}: {line[:200]}')
PYRepository: dejanvasic85/williamstownsc
Length of output: 50384
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "top-level package.json relevant deps:"
python3 - <<'PY'
import json
p=json.load(open('package.json'))
for sec in ('dependencies','devDependencies','optionalDependencies'):
print(f'[{sec}]')
for k,v in sorted(((sec in p and p[sec]) or {}).items()):
if k in ("`@playwright/test`","playwright-core","playwright"):
print(f'{k}: {v}')
PY
echo
echo "top-level playwright-core imports outside node_modules:"
python3 - <<'PY'
import pathlib
for path in pathlib.Path('.').rglob('*'):
if path.is_file() and '.git' in path.parts or 'node_modules' in path.parts:
continue
if path.suffix in {'.ts','.tsx','.js','.mjs','.cjs'}:
text = path.read_text(errors='ignore')
if 'playwright-core' in text:
print(f'--- {path}')
for i,line in enumerate(text.splitlines(),1):
if 'playwright-core' in line:
print(f'{i}: {line[:200]}')
PY
echo
echo "lockfile direct dependency section:"
python3 - <<'PY'
start=None
try:
lines=open('pnpm-lock.yaml', encoding='utf-8').readlines()
except FileNotFoundError:
print('no pnpm-lock.yaml')
raise SystemExit
for i,line in enumerate(lines, start=1):
if line.strip().startswith('importers'):
start=i
break
if start is None:
print('importers section missing')
raise SystemExit
for line in lines[start-1:start+220]:
if 'playwright-core' in line or '`@playwright/test`' in line or line.lstrip().startswith('/') or (line.startswith(' ') and line.strip().split()[0].isdigit()):
print(line.rstrip())
if line.startswith(' ') and line.strip().startswith('playwright-core@') and not all(v.strip().startswith('#') or v.strip().startswith('-') for v in line.split()[1:3]):
break
PYRepository: dejanvasic85/williamstownsc
Length of output: 1557
Align playwright-core with @playwright/test.
@playwright/test is 1.62.1, but the direct dependency is playwright-core@1.62.0, while repo code imports playwright-core from bin/commands/.... Update playwright-core to 1.62.1 and regenerate pnpm-lock.yaml.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` at line 69, Update the direct playwright-core dependency in
package.json to version 1.62.1 so it matches `@playwright/test`, then regenerate
pnpm-lock.yaml to reflect the aligned version.
This PR contains the following updates:
1.62.0→1.62.1Release Notes
microsoft/playwright (@playwright/test)
v1.62.1Compare Source
Bug Fixes
Configuration
📅 Schedule: (in timezone Australia/Melbourne)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
Summary by CodeRabbit