Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow_banner: Assert reply button disabled on show empty narrow msg.
YashRE42b3274aa32e52
diff --git a/frontend_tests/node_tests/narrow.js b/frontend_tests/node_tests/narrow.jsindex 1b93a07c655..93ce0bc3825 100644--- a/frontend_tests/node_tests/narrow.js+++ b/frontend_tests/node_tests/narrow.js@@ -73,6 +73,7 @@ run_test("uris", () => {});run_test("show_empty_narrow_message", () => {+ $("#left_bar_compose_reply_button_big").prop("disabled", false);narrow_state.reset_current_filter();narrow_banner.show_empty_narrow_message();assert.equal($(".empty_feed_notice").visible(), false);@@ -81,6 +82,7 @@ run_test("show_empty_narrow_message", () => {$("#left_bar_compose_reply_button_big").attr("title"),"translated: There are no messages to reply to.",);+ assert($("#left_bar_compose_reply_button_big").prop("disabled"));// for non-existent or private streamset_filter([["stream", "Foo"]]);