{
  "slug": "playwright-test-runner-adds-g-shorthand-c3924906bde6",
  "title": "Playwright test runner adds -G shorthand",
  "tools": [
    "playwright"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-15T10:05:19.000Z",
  "announced_at": "2026-06-15T10:05:19.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to exclude tests matching a pattern, run `npx playwright test -G <grep>`. `-G` is shorthand for `--grep-invert` and runs tests that do not match the regular expression.",
    "examples": [
      "npx playwright test -G \"<grep>\""
    ],
    "gotchas": [
      "Version: v1.61.0",
      "-G <grep> (alias: --grep-invert <grep>) (required): Regular expression; only tests that do not match it run."
    ]
  },
  "why_it_matters": "Exclude matching tests from a Playwright test run using the command line.",
  "before": "Use `--grep-invert` to exclude matching tests.",
  "sources": [
    "https://github.com/microsoft/playwright/releases/tag/v1.61.0",
    "https://playwright.dev/docs/test-cli"
  ],
  "rank": 0.95024,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-3081afb6e04abdfe-11:gate",
    "evidence_hash": "dbcfef8a253ec929beeebe114951631317990b1153dd7838e6ec906812e39e91"
  },
  "review": {
    "draft_hash": "e3ee95f9263bfd1a7b34876bb79cf640561d306c90b8d200dd694049d044bdc9",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
