mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
node test: Stub out first element of search box.
This commit is contained in:
committed by
Steve Howell
parent
0b711516c9
commit
2fae9dc0a2
@@ -337,6 +337,8 @@ run_test("initiate_search", () => {
|
|||||||
is_searchbox_text_selected = true;
|
is_searchbox_text_selected = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#search_query")[0] = "stub";
|
||||||
|
|
||||||
search.initiate_search();
|
search.initiate_search();
|
||||||
assert(typeahead_forced_open);
|
assert(typeahead_forced_open);
|
||||||
assert(is_searchbox_text_selected);
|
assert(is_searchbox_text_selected);
|
||||||
|
|||||||
Reference in New Issue
Block a user