{
 "responses": {
  "/auth/login": {
   "body": {
    "ok": true,
    "csrf_token": "t1",
    "user": {
     "role": "OWNER"
    }
   }
  },
  "/day/expected": {
   "body": {
    "date": "2026-09-04",
    "expected": {
     "cash": 12450.0,
     "card": 3200.0,
     "upi": 8100.0,
     "credit": 1500.0
    },
    "bills": 47,
    "by_user": [
     {
      "who": "Prakash",
      "bills": 31,
      "cash": 9200.0
     },
     {
      "who": "Sunita",
      "bills": 16,
      "cash": 3250.0
     }
    ],
    "closed": null
   }
  },
  "/day/close": {
   "body": {
    "id": "01D",
    "date": "2026-09-04",
    "expected_cash": 12450.0,
    "counted_cash": 11950.0,
    "variance": -500.0,
    "bills": 47,
    "message": "The drawer is short. Nothing has been adjusted."
   }
  }
 },
 "steps": [
  {
   "name": "sign in",
   "fill": {
    "lpw": "x"
   },
   "click": "btnLogin",
   "wait": 400,
   "expect": {
    "hdrDate": "-"
   }
  },
  {
   "name": "card and UPI are shown, cash is not",
   "wait": 300,
   "expect": {
    "modes": "8,100.00"
   }
  },
  {
   "name": "THE BILLERS ARE NAMED",
   "expect": {
    "who": "Prakash"
   }
  },
  {
   "name": "counting reveals the difference",
   "fill": {
    "counted": "11950"
   },
   "click": "btnCheck",
   "wait": 250,
   "expect": {
    "variance": "-500.00"
   }
  },
  {
   "name": "AND A SHORT DRAWER ASKS WHY",
   "expect": {
    "why": "short by 500.00"
   }
  }
 ]
}