From 0fee4e8d9d1ba09e6206d2098a4aee06200107ff Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 5 Mar 2013 16:38:22 -0500 Subject: [PATCH] tests: Set casperjs viewport size to a reasonable browser size. Otherwise we're by default testing the phone size layout, which probably isn't what we want the default test setup to be. (imported from commit a76b2d51c18824b0a5f6342cce848aca87dda15a) --- zephyr/tests/frontend/common.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zephyr/tests/frontend/common.js b/zephyr/tests/frontend/common.js index 8b120dfdf6..e8f2aeda9f 100644 --- a/zephyr/tests/frontend/common.js +++ b/zephyr/tests/frontend/common.js @@ -1,3 +1,6 @@ +// Set default viewport size to something reasonable +casper.page.viewportSize = {width: 1280, height: 768 }; + var common = (function () { var exports = {};