{
 "responses": {
  "/auth/login": {
   "body": {
    "csrf": "tok",
    "user": {
     "role": "OWNER"
    }
   }
  },
  "/auth/me": {
   "body": {
    "user": {
     "full_name": "Prakash",
     "role": "OWNER"
    },
    "store": {
     "name": "Shree Krishna Medical"
    },
    "counter": {
     "code": "C1"
    }
   }
  },
  "/dashboard": {
   "body": {
    "period": "today",
    "sales": {
     "sales": 18400.0,
     "bills": 42,
     "avg_bill": 438.1,
     "stores": 1
    },
    "cash": {
     "expected": 12000.0,
     "counted": null
    },
    "at_risk": {
     "total": 4200.0,
     "overdue": 4200.0,
     "expiring": 3100.0,
     "dead": 900.0
    },
    "by_store": [
     {
      "id": "01S",
      "name": "Shree Krishna",
      "net": 18400.0
     }
    ],
    "health": {
     "alerts_7d": 2,
     "failing_jobs": 1,
     "last_backup": null
    }
   }
  },
  "/dashboard/stores": {
   "body": {
    "stores": [
     {
      "id": "01S",
      "name": "Shree Krishna",
      "net": 18400.0,
      "backup_verified": true
     }
    ]
   }
  },
  "/messaging/spend": {
   "body": {
    "enabled": true,
    "auth": 42,
    "marketing": 18,
    "cost": 51.0,
    "cost_cap": 250.0,
    "refused": 0,
    "pct_of_cap": 20.4,
    "alert": false,
    "suspended": false
   }
  },
  "/messaging/suspend": {
   "body": {
    "suspended": true
   }
  },
  "/crosssell/performance": {
   "body": {
    "shown": 310,
    "accepted": 41,
    "value": 8420.0
   }
  }
 },
 "steps": [
  {
   "name": "sign in",
   "fill": {
    "lpw": "x"
   },
   "click": "btnLogin",
   "wait": 800
  },
  {
   "name": "MONEY AT RISK RENDERS",
   "wait": 400,
   "expect": {
    "risk": "4,200"
   }
  },
  {
   "name": "MESSAGING SPEND IS SHOWN",
   "wait": 300,
   "expect": {
    "msgSpend": "Stop all messages"
   }
  },
  {
   "name": "THE OWNER SEES HIS OWN HEALTH",
   "wait": 300,
   "expect": {
    "health": "Jobs failing"
   }
  },
  {
   "name": "CROSS-SELL IS SHOWN AS UPTAKE, NOT REVENUE",
   "wait": 300,
   "expect": {
    "xsell": "Taken up"
   }
  }
 ]
}