From 5e90f82b63da285258b76e043395f7a47d7009d2 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 2 Jul 2019 11:50:30 +0100 Subject: 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. --- monkey-test/ecmascript.yaml | 2 ++ monkey-test/popular-sites-parallel.yaml | 2 ++ monkey-test/popular-sites.yaml | 2 ++ monkey-test/start-stop-no-js.yaml | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3