summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-07-02 11:50:30 +0100
committerVincent Sanders <vince@kyllikki.org>2019-07-02 11:50:30 +0100
commit5e90f82b63da285258b76e043395f7a47d7009d2 (patch)
treea08193dcc5ca58d526d033e091418b43f081c17a
parent228eacf83d469994e4c4250a27d55f9a213234ed (diff)
downloadnetsurf-test-5e90f82b63da285258b76e043395f7a47d7009d2.tar.gz
netsurf-test-5e90f82b63da285258b76e043395f7a47d7009d2.tar.bz2
actually enable javascript in tests that require it.
due to a bug in monkey_farmer option setting previously the enable_javascript option was silently being ignored. That bug has been fixed but the tests actually want javascript enabled need to set the option correctly.
-rw-r--r--monkey-test/ecmascript.yaml2
-rw-r--r--monkey-test/popular-sites-parallel.yaml2
-rw-r--r--monkey-test/popular-sites.yaml2
-rw-r--r--monkey-test/start-stop-no-js.yaml2
4 files changed, 7 insertions, 1 deletions
diff --git a/monkey-test/ecmascript.yaml b/monkey-test/ecmascript.yaml
index a08c9ce..82ec892 100644
--- a/monkey-test/ecmascript.yaml
+++ b/monkey-test/ecmascript.yaml
@@ -3,6 +3,8 @@ group: ecmascript
steps:
- action: launch
language: en
+ options:
+ - enable_javascript=1
- action: window-new
tag: win1
diff --git a/monkey-test/popular-sites-parallel.yaml b/monkey-test/popular-sites-parallel.yaml
index dc5962d..576275e 100644
--- a/monkey-test/popular-sites-parallel.yaml
+++ b/monkey-test/popular-sites-parallel.yaml
@@ -3,6 +3,8 @@ group: popular-sites
steps:
- action: launch
language: en
+ options:
+ - enable_javascript=1
- action: window-new
tag: win1
- action: window-new
diff --git a/monkey-test/popular-sites.yaml b/monkey-test/popular-sites.yaml
index 2bafade..6303e89 100644
--- a/monkey-test/popular-sites.yaml
+++ b/monkey-test/popular-sites.yaml
@@ -3,6 +3,8 @@ group: popular-sites
steps:
- action: launch
language: en
+ options:
+ - enable_javascript=1
- action: window-new
tag: win1
- action: timer-start
diff --git a/monkey-test/start-stop-no-js.yaml b/monkey-test/start-stop-no-js.yaml
index ef26a82..5f9125e 100644
--- a/monkey-test/start-stop-no-js.yaml
+++ b/monkey-test/start-stop-no-js.yaml
@@ -2,7 +2,7 @@ title: start and stop browser without JS
group: initial
steps:
- action: launch
- args:
+ options:
- enable_javascript=0
- action: quit