{
  "name": "Vite 8 + React + tabbed UI (hidden default)",
  "config": {
    "files": ["index.html"],
    "insertBefore": "</body>",
    "commentSyntax": "html"
  },
  "sourceFiles": ["index.html", "src/App.jsx", "src/main.jsx", "src/styles.css", "vite.config.js"],
  "generatedFiles": [],
  "wrapCases": [
    {
      "name": "wraps features-tab heading in source JSX",
      "args": { "classes": "hero-title", "tag": "h1" },
      "expectedFile": "src/App.jsx"
    }
  ],
  "runtime": {
    "styling": "plain-css",
    "install": ["npm", "install", "--no-audit", "--no-fund", "--loglevel=error"],
    "devCommand": ["npx", "vite", "--host", "127.0.0.1"],
    "readyPattern": "Local:\\s+https?://[^:]+:(\\d+)",
    "readyTimeoutMs": 120000,
    "preActions": [
      { "type": "click", "selector": "[data-testid='tab-features']" },
      { "type": "wait",  "selector": "h1.hero-title" }
    ],
    "reloadProbe": {
      "preActions": [
        { "type": "click", "selector": "[data-testid='tab-features']" },
        { "type": "wait",  "selector": "h1.hero-title" }
      ],
      "expectSelector": "h1.hero-title"
    },
    "probe": {
      "expectLiveInit": true,
      "expectConsoleClean": true
    }
  }
}
