summaryrefslogtreecommitdiff
path: root/gui/test/basic.script
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-12 13:19:32 -0300
committerGabriel Schneider <[email protected]>2026-11-13 00:41:47 -0300
commit4b4113a0217ee27c78e7efddb66ff5a455d49083 (patch)
treeb848dc1e92c3126dec11da8547e8033ff3990140 /gui/test/basic.script
parenteab50d1c040774351f332a1568fa332c377860bd (diff)
downloadcomputeranim-4b4113a0217ee27c78e7efddb66ff5a455d49083.tar.gz
computeranim-4b4113a0217ee27c78e7efddb66ff5a455d49083.zip
debugger: add a native GUI with live V8 JIT debugging
Diffstat (limited to 'gui/test/basic.script')
-rw-r--r--gui/test/basic.script33
1 files changed, 33 insertions, 0 deletions
diff --git a/gui/test/basic.script b/gui/test/basic.script
new file mode 100644
index 0000000..220eb0b
--- /dev/null
+++ b/gui/test/basic.script
@@ -0,0 +1,33 @@
+console launch {TARGET}
+await stops 1
+console break work
+console continue
+await stops 2
+expect status stopped
+key f10
+await stops 3
+frames 6
+screenshot {STRIKE}
+frames 60
+screenshot {SETTLED}
+expect-different-screenshot {STRIKE} {SETTLED} 24 756 1280 280
+key left
+expect following false
+expect moment 1
+key end
+expect following true
+expect moment 2
+console clear 1
+key f5
+await status running
+key f5
+await status stopped
+click 260 50
+await stops 5
+key f11
+await stops 6
+expect status stopped
+expect-no-log InterruptFailed
+expect-no-log CommandFailed
+key f5
+await status running