summaryrefslogtreecommitdiff
path: root/test/monkey-tests/quit-mid-fetch.yaml
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-11-03 16:33:19 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-11-03 16:35:22 +0000
commit90e4976800c18d16c66a72c1d0c23b73ce59d7a2 (patch)
treeb02b235e041ccc8e6d04b43388edcb5fa9bdb535 /test/monkey-tests/quit-mid-fetch.yaml
parent6fcb0d498f8f5c39a94a8d0c79e425b480c272bc (diff)
downloadnetsurf-90e4976800c18d16c66a72c1d0c23b73ce59d7a2.tar.gz
netsurf-90e4976800c18d16c66a72c1d0c23b73ce59d7a2.tar.bz2
Monkey driver: Initial loader for monkey test plans.
Diffstat (limited to 'test/monkey-tests/quit-mid-fetch.yaml')
-rw-r--r--test/monkey-tests/quit-mid-fetch.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/monkey-tests/quit-mid-fetch.yaml b/test/monkey-tests/quit-mid-fetch.yaml
new file mode 100644
index 000000000..b033f67b6
--- /dev/null
+++ b/test/monkey-tests/quit-mid-fetch.yaml
@@ -0,0 +1,22 @@
+title: quitting mid-fetch
+group: cleanup
+steps:
+- action: repeat
+ min: 0
+ step: 50
+ name: sleepytimer
+ steps:
+ - action: launch
+ - action: window-new
+ tag: win1
+ - action: navigate
+ window: win1
+ url: http://www.bbc.co.uk/news
+ - action: sleep-ms
+ time: sleepytimer
+ conditions:
+ - window: win1
+ status: complete
+ breaks: sleepytimer
+ - action: quit
+