{
  "schemaVersion": 1,
  "scenarios": [
    {
      "id": "save-record",
      "name": "Save a Focus Timer record",
      "steps": [
        {
          "action": "fill",
          "target": "field-title",
          "value": "专注写提纲"
        },
        {
          "action": "fill",
          "target": "field-minutes",
          "value": "25"
        },
        {
          "action": "click",
          "target": "save-record"
        },
        {
          "assert": "text_visible",
          "text": "专注写提纲"
        },
        {
          "assert": "value_equals",
          "target": "field-title",
          "value": ""
        }
      ]
    },
    {
      "id": "pause-timer",
      "name": "Start and pause the countdown",
      "steps": [
        {
          "action": "click",
          "target": "timer-start"
        },
        {
          "assert": "text_visible",
          "text": "计时中"
        },
        {
          "action": "click",
          "target": "timer-pause"
        },
        {
          "assert": "text_visible",
          "text": "已暂停"
        },
        {
          "action": "click",
          "target": "timer-start"
        },
        {
          "assert": "text_visible",
          "text": "计时中"
        },
        {
          "action": "click",
          "target": "timer-reset"
        }
      ]
    }
  ]
}
