{
  "schemaVersion": 1,
  "scenarios": [
    {
      "id": "add-sub",
      "name": "Save a yearly subscription",
      "steps": [
        {
          "action": "fill",
          "target": "sub-name",
          "value": "验收：年度订阅"
        },
        {
          "action": "fill",
          "target": "sub-amount",
          "value": "120.50"
        },
        {
          "action": "fill",
          "target": "sub-cycle",
          "value": "yearly"
        },
        {
          "action": "click",
          "target": "add-sub-btn"
        },
        {
          "assert": "text_visible",
          "text": "验收：年度订阅"
        },
        {
          "assert": "text_visible",
          "text": "120.50 / 年"
        },
        {
          "assert": "value_equals",
          "target": "sub-amount",
          "value": ""
        }
      ]
    }
  ]
}
