aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dom_tests/dom_tests.html5
-rw-r--r--tests/dom_tests/vomnibar_test.coffee2
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/dom_tests/dom_tests.html b/tests/dom_tests/dom_tests.html
index e6427e85..6378807f 100644
--- a/tests/dom_tests/dom_tests.html
+++ b/tests/dom_tests/dom_tests.html
@@ -35,7 +35,10 @@
<script type="text/javascript" src="../../lib/handler_stack.js"></script>
<script type="text/javascript" src="../../lib/clipboard.js"></script>
<script type="text/javascript" src="../../content_scripts/link_hints.js"></script>
- <script type="text/javascript" src="../../content_scripts/vomnibar.js"></script>
+ <!-- TODO(smblott) The following is being overridden by the inclusion of "../../pages/vomnibar.js", below,
+ because they both define the same Vomnibar class/object. As a result, there are currently no tests
+ testing the DOM aspects of "../../content_scripts/vomnibar.js".
+ <script type="text/javascript" src="../../content_scripts/vomnibar.js"></script> -->
<script type="text/javascript" src="../../content_scripts/scroller.js"></script>
<script type="text/javascript" src="../../content_scripts/vimium_frontend.js"></script>
<script type="text/javascript" src="../../pages/vomnibar.js"></script>
diff --git a/tests/dom_tests/vomnibar_test.coffee b/tests/dom_tests/vomnibar_test.coffee
index dc2a849f..f7241552 100644
--- a/tests/dom_tests/vomnibar_test.coffee
+++ b/tests/dom_tests/vomnibar_test.coffee
@@ -28,7 +28,7 @@ context "Keep selection within bounds",
assert.equal -1, ui.selection
should "set selection to position 0 for bookmark completion if possible", ->
- Vomnibar.activateBookmarks()
+ Vomnibar.activate "completer=bookmark&selectFirst"
ui = Vomnibar.vomnibarUI
@completions = []