;; AUTO-GENERATED from spec/tests/hyperscript-upstream-tests.json
;; DO NOT EDIT — regenerate with:
;;   python3 tests/playwright/generate-sx-tests.py --emit-pages

(defcomp ()
  (~docs/page :title "Hyperscript: go (5 tests — 0 runnable)"
    (p :style "color:#57534e;margin-bottom:1rem" "Live cards for the upstream go tests. 0 of 5 are reproducible in-browser; the remainder show their source for reference.")
    (p :style "color:#78716c;font-size:0.875rem;margin-bottom:1rem"
      "Theme: " (a :href "/sx/(applications.(hyperscript.gallery-control))"
        :style "color:#7c3aed" "control"))
    (div :style "display:flex;flex-direction:column"
      (~hyperscript/hs-test-card
  :name "can parse go to with string URL"
  :html "<div _='on click go to \\\"#test-hash\\\"'></div>"
  :action ""
  :check ""
  :run-src "(fn (sandbox) (error \"not yet runnable in gallery — see test suite\"))")
(~hyperscript/hs-test-card
  :name "deprecated url keyword still parses"
  :html "<div _='on click go to url /test'></div>"
  :action ""
  :check ""
  :run-src "(fn (sandbox) (error \"not yet runnable in gallery — see test suite\"))")
(~hyperscript/hs-test-card
  :name "go to naked URL starting with / parses"
  :html "<div _='on click go to /test/path'></div>"
  :action ""
  :check ""
  :run-src "(fn (sandbox) (error \"not yet runnable in gallery — see test suite\"))")
(~hyperscript/hs-test-card
  :name "go to element scrolls"
  :html "<div style='height: 2000px'></div><div id='target'>Target</div><div _='on click go to #target'></div>"
  :action ""
  :check "toBe(true)"
  :run-src "(fn (sandbox) (error \"not yet runnable in gallery — see test suite\"))")
(~hyperscript/hs-test-card
  :name "deprecated scroll form still works"
  :html "<div style='height: 2000px'></div><div id='target'>Target</div><div _='on click go to the top of #target'></div>"
  :action ""
  :check "toBe(true)"
  :run-src "(fn (sandbox) (error \"not yet runnable in gallery — see test suite\"))"))))
