Loading...
Loading...
Sync tests with TestRail. Use when user mentions "testrail", "test management", "test cases", "test run", "sync test cases", "push results to testrail", or "import from testrail".
npx skill4agent add alirezarezvani/claude-skills testrailTESTRAIL_URLhttps://your-instance.testrail.ioTESTRAIL_USERTESTRAIL_API_KEY/pw:testrail import --project <id> --suite <id>testrail_get_casestest.info().annotations.push({ type: 'testrail', description: 'C12345' })/pw:testrail push --run <id>npx playwright test --reporter=json > test-results.jsontestrail_add_result/pw:testrail run --project <id> --name "Sprint 42 Regression"testrail_add_run/pw:testrail status --project <id>TestRail cases: 150
Playwright tests with TestRail IDs: 120
Unlinked TestRail cases: 30
Playwright tests without TestRail IDs: 15/pw:testrail update --case <id>testrail_update_case| Tool | When |
|---|---|
| List available projects |
| List suites in project |
| Read test cases |
| Create new test case |
| Update existing case |
| Create test run |
| Push individual result |
| Read historical results |
test('should login successfully', async ({ page }) => {
test.info().annotations.push({
type: 'testrail',
description: 'C12345',
});
// ... test code
});