summaryrefslogtreecommitdiff
path: root/test/monkey-tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/monkey-tests')
-rw-r--r--test/monkey-tests/resource-scheme.yaml30
-rw-r--r--test/monkey-tests/simultanious-fetches.yaml35
-rw-r--r--test/monkey-tests/start-stop.yaml6
-rw-r--r--test/monkey-tests/start-stop=no-js.yaml8
4 files changed, 79 insertions, 0 deletions
diff --git a/test/monkey-tests/resource-scheme.yaml b/test/monkey-tests/resource-scheme.yaml
new file mode 100644
index 000000000..58b0f5eff
--- /dev/null
+++ b/test/monkey-tests/resource-scheme.yaml
@@ -0,0 +1,30 @@
+title: resource scheme
+group: basic
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: navigate
+ window: win1
+ url: resource:does-not-exist
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ - text-contains: Not found
+ - text-contains: Error 404
+- action: navigate
+ window: win1
+ url: resource:netsurf.png
+- action: block
+ conditions:
+ - window: win1
+ status: complete
+- action: plot-check
+ - bitmap-count: 1
+- action: window-close
+ - window: win1
+- action: quit
+
diff --git a/test/monkey-tests/simultanious-fetches.yaml b/test/monkey-tests/simultanious-fetches.yaml
new file mode 100644
index 000000000..513b7881a
--- /dev/null
+++ b/test/monkey-tests/simultanious-fetches.yaml
@@ -0,0 +1,35 @@
+title: simultanious page fetches
+group: real-world
+steps:
+- action: launch
+ language: en
+- action: window-new
+ tag: win1
+- action: window-new
+ tag: win2
+- action: window-new
+ tag: win3
+- action: window-new
+ tag: win4
+- action: navigate
+ window: win1
+ url: http://www.bbc.co.uk/news
+- action: navigate
+ window: win2
+ url: http://www.amazon.co.uk/
+- action: navigate
+ window: win3
+ url: http://www.theregister.co.uk/
+- action: navigate
+ window: win4
+ url: http://www.arstechnica.co.uk/
+- action: block
+ conditions:
+ - window: *all*
+ status: complete
+- action: window-close
+ window: win1
+- action: window-close
+ window: win2
+- action: quit
+
diff --git a/test/monkey-tests/start-stop.yaml b/test/monkey-tests/start-stop.yaml
new file mode 100644
index 000000000..68df47316
--- /dev/null
+++ b/test/monkey-tests/start-stop.yaml
@@ -0,0 +1,6 @@
+title: start and stop browser
+group: basic
+steps:
+- action: launch
+- action: quit
+
diff --git a/test/monkey-tests/start-stop=no-js.yaml b/test/monkey-tests/start-stop=no-js.yaml
new file mode 100644
index 000000000..0a681cffc
--- /dev/null
+++ b/test/monkey-tests/start-stop=no-js.yaml
@@ -0,0 +1,8 @@
+title: start and stop browser without JS
+group: basic
+steps:
+- action: launch
+ args:
+ - enable_javascript=0
+- action: quit
+