[
  {
    "actions": [
      {
        "action": "navigate",
        "type": "navigate",
        "url": "{base_url}/"
      },
      {
        "action": "wait_for",
        "selector": "a[href=\"/invoicing\"]",
        "timeout_ms": 30000,
        "type": "wait_for_selector"
      },
      {
        "action": "click",
        "selector": "a[href=\"/invoicing\"]",
        "type": "click"
      },
      {
        "action": "wait_for",
        "selector": "[data-testid=\"invoicing-this-months-turnover-card\"]",
        "timeout_ms": 30000,
        "type": "wait_for_selector"
      },
      {
        "text": "Financials",
        "type": "assert_text"
      },
      {
        "text": "This Month",
        "type": "assert_text"
      }
    ],
    "capture_each_step": true,
    "expected_result": "From the authenticated dashboard, clicking the Financials sidebar link navigates to /invoicing and the \"This Month's Turnover\" group renders four cards: Issued, Pre-Scheduled, Agreed, and the highlighted This Month's Turnover total. After the fix, the Agreed card and the This Month's Turnover total are computed from invoices that became Agreed (or Issued / Pre-Scheduled) this month only, not from every agreed invoice in the database.",
    "human_journey": true,
    "name": "invoicing-this-months-turnover-scoped",
    "path": "/invoicing",
    "selectors": [],
    "source": "proof_contract",
    "start_path": "/",
    "texts": [
      "Financials"
    ]
  }
]