Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .claude/skills/dev/roll.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
`npm info playwright@next version`

2. **Update Playwright packages** in `package.json`:
- Update `playwright` (dependency) and `@playwright/test` (devDependency) to the target version.
- Update `playwright` and `playwright-core` (dependencies) and `@playwright/test` (devDependency) to the target version.
- Run `npm install` to update `package-lock.json`.
- Verify with `npm ls playwright-core` that the root `playwright-core` actually rolled — it is pinned directly in `package.json` and is what `playwright-cli.js` runs; forgetting it leaves the CLI on the old version while tests pass against the new `@playwright/test`.

3. **Run the update script** to sync skills and README:
```bash
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"test": "playwright test"
},
"devDependencies": {
"@playwright/test": "1.62.0-alpha-1783623505000",
"@playwright/test": "1.63.0-alpha-2026-08-05",
"@types/node": "^25.2.1"
},
"dependencies": {
"playwright": "1.62.0-alpha-1783623505000",
"playwright-core": "1.62.0-alpha-1783623505000"
"playwright": "1.63.0-alpha-2026-08-05",
"playwright-core": "1.63.0-alpha-2026-08-05"
},
"bin": {
"playwright-cli": "playwright-cli.js"
Expand Down
4 changes: 2 additions & 2 deletions skillCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const fs = require('fs');
const path = require('path');

function bundledSkillFile() {
const programPath = require.resolve('playwright-core/lib/tools/cli-client/program');
return path.join(path.dirname(programPath), 'skill', 'SKILL.md');
const corePath = require.resolve('playwright-core/package.json');
return path.join(path.dirname(corePath), 'lib', 'tools', 'skills', 'playwright-cli', 'SKILL.md');
}

function installedSkillTargets() {
Expand Down