ci-fix-tests

Installation
SKILL.md

Auto-fix CodeceptJS Tests on CI

A non-interactive auto-repair loop. Reads the failed-tests baseline from output/ (where aiTrace left trace artifacts), attempts a small set of safe fixes, reruns only the failing scenarios, compares, and writes a report at output/ci-fix.md. Rolls back any edit that didn't help.

Conservative by design. CI is not the place to restructure tests, change abstractions, or fix anything that needs human judgement. The goal is "pass the run". Anything riskier is escalated through the report.

This skill assumes a working git checkout — rollback uses git checkout -- <file> to restore originals.

Workflow

1. Read the baseline failures

Use the codeceptjs-run-analysis skill against the existing output/trace_*/ artifacts to enumerate every failing scenario. Record:

  • the set of failing tests (file path + scenario name)
  • the failed step in each, and the locator / wait / assertion involved
  • a cluster signature per failure (so unique vs systemic is clear)

Save this as the baselinecount, failing_set, clusters.

Installs
19
GitHub Stars
1
First Seen
12 days ago
ci-fix-tests — codeceptjs/skills