{
 "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"
    }
   }
  },
  "/reports/daily": {
   "body": {
    "rows": [
     {
      "bill_no": "C1/2026-27/000001",
      "net_amount": 330.0
     }
    ],
    "totals": {
     "net": 330.0,
     "bills": 1
    }
   }
  },
  "/reports/sale-register": {
   "body": {
    "rows": [
     {
      "bill_no": "C1/2026-27/000001",
      "bill_date": "2026-08-30",
      "net_amount": 330.0,
      "cgst": 17.68,
      "sgst": 17.68
     }
    ],
    "totals": {
     "net_amount": 330.0
    }
   }
  },
  "/reports/export": {
   "body": {
    "file": "x.xlsx",
    "sheets": 1,
    "bytes": 8192
   }
  }
 },
 "steps": [
  {
   "name": "sign in",
   "fill": {
    "lpw": "x"
   },
   "click": "btnLogin",
   "wait": 350,
   "expect": {
    "shopName": "Shree Krishna Medical"
   }
  },
  {
   "name": "open the sale register",
   "call": "pick",
   "args": [
    "sale-register"
   ],
   "wait": 400,
   "expectRows": {
    "sel": "tbody tr",
    "count": 1
   }
  },
  {
   "name": "EXPORT PRODUCES A FILE",
   "click": "btnExport",
   "wait": 400,
   "expect": {
    "msg": "x.xlsx"
   }
  }
 ]
}