narrow_banner: Add test case for unknown is: operand empty narrow msg.

This commit is contained in:
YashRE42 2021-03-31 16:44:00 +00:00 committed by Tim Abbott
parent 01d7e69e41
commit df1d52ea15
1 changed files with 5 additions and 0 deletions

View File

@ -197,6 +197,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([["is", "invalid"]]);
hide_all_empty_narrow_messages();
narrow_banner.show_empty_narrow_message();
assert($("#empty_narrow_message").visible());
});
run_test("hide_empty_narrow_message", () => {