{
  "surface": "web",
  "browser": "Chromium via T3 preview browser",
  "viewport": {
    "width": 1280,
    "height": 800
  },
  "theme": "light",
  "richTextComposer": true,
  "preparation": "For each case, open its thread; focus the composer; Control+A, Backspace; wait 500 ms. Start recording with the composer empty.",
  "cases": [
    {
      "label": "backtick",
      "thread": "Evidence backtick",
      "actions": [
        {
          "action": "type",
          "text": "say hello now"
        },
        {
          "waitMs": 500
        },
        {
          "action": "press",
          "key": "Home"
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "read": "Verify DOM and editor selection both contain exactly hello; document is ordinary unmarked text."
        },
        {
          "action": "press",
          "key": "`",
          "waitAfterMs": 500
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 500
        },
        {
          "action": "press",
          "key": "End",
          "waitAfterMs": 500
        },
        {
          "evaluate": "document.activeElement.blur()",
          "waitAfterMs": 500
        },
        {
          "screenshot": true
        },
        {
          "waitMs": 500
        },
        {
          "screenshot": true
        },
        {
          "compare": "The two PNGs must be byte-identical."
        },
        {
          "recording": "stop"
        }
      ]
    },
    {
      "label": "asterisk",
      "thread": "Evidence asterisk",
      "actions": [
        {
          "action": "type",
          "text": "say hello now"
        },
        {
          "waitMs": 500
        },
        {
          "action": "press",
          "key": "Home"
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "read": "Verify DOM and editor selection both contain exactly hello; document is ordinary unmarked text."
        },
        {
          "action": "press",
          "key": "*",
          "waitAfterMs": 500
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 500
        },
        {
          "action": "press",
          "key": "End",
          "waitAfterMs": 500
        },
        {
          "evaluate": "document.activeElement.blur()",
          "waitAfterMs": 500
        },
        {
          "screenshot": true
        },
        {
          "waitMs": 500
        },
        {
          "screenshot": true
        },
        {
          "compare": "The two PNGs must be byte-identical."
        },
        {
          "recording": "stop"
        }
      ]
    },
    {
      "label": "underscore",
      "thread": "Evidence underscore",
      "actions": [
        {
          "action": "type",
          "text": "say hello now"
        },
        {
          "waitMs": 500
        },
        {
          "action": "press",
          "key": "Home"
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "modifiers": [
            "Shift"
          ],
          "waitAfterMs": 100
        },
        {
          "read": "Verify DOM and editor selection both contain exactly hello; document is ordinary unmarked text."
        },
        {
          "action": "press",
          "key": "_",
          "waitAfterMs": 500
        },
        {
          "action": "press",
          "key": "ArrowRight",
          "waitAfterMs": 500
        },
        {
          "action": "press",
          "key": "End",
          "waitAfterMs": 500
        },
        {
          "evaluate": "document.activeElement.blur()",
          "waitAfterMs": 500
        },
        {
          "screenshot": true
        },
        {
          "waitMs": 500
        },
        {
          "screenshot": true
        },
        {
          "compare": "The two PNGs must be byte-identical."
        },
        {
          "recording": "stop"
        }
      ]
    }
  ],
  "observed": {
    "base": {
      "backtick": {
        "selected": {
          "selected": "hello",
          "doc": {
            "type": "doc",
            "content": [
              {
                "type": "paragraph",
                "content": [
                  {
                    "type": "text",
                    "text": "say hello now"
                  }
                ]
              }
            ]
          }
        },
        "html": "<p dir=\"ltr\">say `hello` now</p>"
      },
      "asterisk": {
        "selected": {
          "selected": "hello",
          "doc": {
            "type": "doc",
            "content": [
              {
                "type": "paragraph",
                "content": [
                  {
                    "type": "text",
                    "text": "say hello now"
                  }
                ]
              }
            ]
          }
        },
        "html": "<p dir=\"ltr\">say *hello* now</p>"
      },
      "underscore": {
        "selected": {
          "selected": "hello",
          "doc": {
            "type": "doc",
            "content": [
              {
                "type": "paragraph",
                "content": [
                  {
                    "type": "text",
                    "text": "say hello now"
                  }
                ]
              }
            ]
          }
        },
        "html": "<p dir=\"ltr\">say _hello_ now</p>"
      }
    },
    "head": {
      "backtick": {
        "selected": {
          "selected": "hello",
          "doc": {
            "type": "doc",
            "content": [
              {
                "type": "paragraph",
                "content": [
                  {
                    "type": "text",
                    "text": "say hello now"
                  }
                ]
              }
            ]
          }
        },
        "html": "<p dir=\"ltr\">say <code dir=\"ltr\">hello</code> now</p>"
      },
      "asterisk": {
        "selected": {
          "selected": "hello",
          "doc": {
            "type": "doc",
            "content": [
              {
                "type": "paragraph",
                "content": [
                  {
                    "type": "text",
                    "text": "say hello now"
                  }
                ]
              }
            ]
          }
        },
        "html": "<p dir=\"ltr\">say <em>hello</em> now</p>"
      },
      "underscore": {
        "selected": {
          "selected": "hello",
          "doc": {
            "type": "doc",
            "content": [
              {
                "type": "paragraph",
                "content": [
                  {
                    "type": "text",
                    "text": "say hello now"
                  }
                ]
              }
            ]
          }
        },
        "html": "<p dir=\"ltr\">say <em>hello</em> now</p>"
      }
    }
  },
  "attribution": "AI-assisted; verified with the tests and tools listed above."
}
