Sync test cases to TestRail
testrailskillsetup L2★17,464
alirezarezvani/claude-skills ↗What it does
Bidirectionally sync Playwright test cases with TestRail test management platform
Best for
QA teams that need bidirectional traceability between test code and test-management artifacts.
Inputs
- · TestRail project/suite IDs
- · Playwright test files with annotations
- · Test results JSON
Outputs
- · Generated Playwright tests from TestRail cases
- · Test results pushed to TestRail run
- · Coverage report
Requires
- · TestRail API
- · Playwright
- · MCP tools (testrail_get_cases, testrail_add_result, etc.)
Preconditions
TESTRAIL_URL, TESTRAIL_USER, TESTRAIL_API_KEY env vars set; Playwright installed
Failure modes
- · Test case not found in TestRail → import fails
- · Missing TestRail annotation (test.info().annotations) → result unmatched
- · Stale API key → 403 auth failure
Trust signals
- · Test case ID stored as Playwright annotation: test.info().annotations type='testrail'
- · Four workflows: import (TestRail→Playwright), push results, create run, sync status
- · Coverage report shows unlinked TestRail cases and Playwright tests without IDs