CI on GitHub Actions
A sane starting point: sharded matrix, browser cache, JUnit upload, artifacts on failure.
Minimal workflow
The cargo test --test e2e harness parses --shard, --project, and
--retries, but it does NOT take --reporter. For that path the JUnit
output above comes from the config file, not a CLI flag — add a reporter
to ferridriver.toml:
(The ferridriver bdd runner is the one that accepts --reporter <name>
on the command line, as shown in the BDD-only workflow below.)
Cross-browser matrix
Browser cache between runs
Hits halve clean-build time on PRs.
BDD-only workflow
GitHub Annotations
Add the github reporter to get test failures inline as annotations on
the PR:
Test reports in the PR
Combine with dorny/test-reporter:
MCP server in CI
For agent-driven flows running in CI: