Bidirectional sync of Playwright tests with TestRail for importing cases, pushing results, and tracking coverage.

CCM score
75 of 100
skills.sh installs
1.6K
GitHub stars
30.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers importing TestRail cases into generated Playwright tests, pushing run results, creating runs, checking sync status, and updating cases
  • Includes five /pw:testrail subcommands (import, push, run, status, update) backed by TestRail MCP tools such as testrail_get_cases and testrail_add_result
  • Enforces a C-prefixed case ID annotation on each linked test, which maps Playwright results back to TestRail cases
  • Requires TESTRAIL_URL, TESTRAIL_USER, and TESTRAIL_API_KEY plus a manually enabled MCP server, since it is not auto-registered

Install

$ npx -y skills add alirezarezvani/claude-skills --skill testrail -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

TestRail Integration

Bidirectional sync between Playwright tests and TestRail test management.

Prerequisites

Environment variables must be set:

  • TESTRAIL_URL — e.g., https://your-instance.testrail.io
  • TESTRAIL_USER — your email
  • TESTRAIL_API_KEY — API key from TestRail

If not set, inform the user how to configure them and stop.

The TestRail MCP server is not auto-registered (issue #978). pw-testrail was removed from the plugin's .mcp.json because it failed to connect for every user (the plugin ships no node_modules). The testrail_* MCP tools used below, and the /pw:testrail command, will fail with "tool not found" until it is enabled manually — see the Integrations section of the plugin's CLAUDE.md (cd integrations/testrail-mcp && npm install, then register the server in your own user/project MCP config). Setting the env vars alone is not sufficient.

Capabilities

1. Import Test Cases → Generate Playwright Tests

/pw:testrail import --project <id> --suite <id>

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Testing & QA, Browser Automation & Scraping
First seen
Apr 16, 2026

More from alirezarezvani/claude-skills

All 259

Similar to Testrail

More Testing & QA