- expect($(".mkwsMOTD").length).toBe(1);
- expect($(".mkwsMOTD").is(":hidden")).toBe(true);
- debug("motd t=" + $(".mkwsMOTD").text());
- debug("motd v=" + $(".mkwsMOTD").is(":visible"));
+ if (!jasmine_config.check_motd) {
+ return;
+ }
+
+ expect(mkws.$(".mkwsMOTD").length).toBe(1);
+ expect(mkws.$(".mkwsMOTD").is(":hidden")).toBe(true);
+ debug("motd t=" + mkws.$(".mkwsMOTD").text());
+ debug("motd v=" + mkws.$(".mkwsMOTD").is(":visible"));