Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow_banner: Add test for empty stream operand, empty narrow msg.
YashRE426fe67ef192a1
diff --git a/frontend_tests/node_tests/narrow.js b/frontend_tests/node_tests/narrow.jsindex 0eb59bf8682..2963ce010e3 100644--- a/frontend_tests/node_tests/narrow.js+++ b/frontend_tests/node_tests/narrow.js@@ -202,6 +202,11 @@ run_test("show_empty_narrow_message", () => {hide_all_empty_narrow_messages();narrow_banner.show_empty_narrow_message();assert($("#empty_narrow_message").visible());++ set_filter([["stream", ""]]);+ hide_all_empty_narrow_messages();+ narrow_banner.show_empty_narrow_message();+ assert($("#nonsubbed_private_nonexistent_stream_narrow_message").visible());});run_test("hide_empty_narrow_message", () => {