summaryrefslogtreecommitdiff
path: root/gui/test/basic.script
diff options
context:
space:
mode:
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