From acefe43cef5a216cb2504e85799699c359b6b4d8 Mon Sep 17 00:00:00 2001
From: Stephen Blott
Date: Wed, 31 Dec 2014 20:52:27 +0000
Subject: Modes; incorporate three test modes.
As a proof of concept, this incorporates normal mode, passkeys mode and
insert mode.
---
tests/dom_tests/dom_tests.coffee | 1 +
tests/dom_tests/dom_tests.html | 1 +
tests/unit_tests/test_chrome_stubs.coffee | 2 ++
3 files changed, 4 insertions(+)
(limited to 'tests')
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index 4a61877c..124fae06 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -178,6 +178,7 @@ context "Input focus",
focusInput 1
assert.equal "first", document.activeElement.id
# deactivate the tabbing mode and its overlays
+ currentCompletionKeys = ""
handlerStack.bubbleEvent 'keydown', mockKeyboardEvent("A")
focusInput 100
diff --git a/tests/dom_tests/dom_tests.html b/tests/dom_tests/dom_tests.html
index a764b42d..33ccc95c 100644
--- a/tests/dom_tests/dom_tests.html
+++ b/tests/dom_tests/dom_tests.html
@@ -39,6 +39,7 @@
+
diff --git a/tests/unit_tests/test_chrome_stubs.coffee b/tests/unit_tests/test_chrome_stubs.coffee
index 3258bcd6..7f666068 100644
--- a/tests/unit_tests/test_chrome_stubs.coffee
+++ b/tests/unit_tests/test_chrome_stubs.coffee
@@ -41,6 +41,8 @@ exports.chrome =
addListener: () -> true
getAll: () -> true
+ browserAction:
+ setBadgeBackgroundColor: ->
storage:
# chrome.storage.local
local:
--
cgit v1.2.3