mirror of https://github.com/zulip/zulip.git
composebox_typeahead: Fix invalid id reference.
We renamed the id from "subject" to "stream_message_recipient_topic" in
d7c2577ffb
.
It is concerning that the tests are not actually failing while this id
has been wrong. The test case might have some redundant parts or is set
up incorrectly.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
parent
13d09d03f9
commit
4e51499ba0
|
@ -1127,7 +1127,7 @@ test("initialize", ({override, mock_template}) => {
|
||||||
|
|
||||||
event.key = "Tab";
|
event.key = "Tab";
|
||||||
event.shiftKey = false;
|
event.shiftKey = false;
|
||||||
event.target.id = "subject";
|
event.target.id = "stream_message_recipient_topic";
|
||||||
$("form#send_message_form").trigger(event);
|
$("form#send_message_form").trigger(event);
|
||||||
event.target.id = "compose-textarea";
|
event.target.id = "compose-textarea";
|
||||||
$("form#send_message_form").trigger(event);
|
$("form#send_message_form").trigger(event);
|
||||||
|
|
Loading…
Reference in New Issue