<script type="text/javascript">
var mkws_config = {
perpage_default: 10,
+ // active_clients: 17,
pazpar2_url: "//mkws.indexdata.com/service-proxy/",
service_proxy_auth: "//mkws.indexdata.com/service-proxy-testauth"
};
// miliseconds to seconds
show_record_url: true,
// check for valid URL in records
+ check_motd: true,
dummy: false
};
describe("Check MOTD after search", function () {
it("MOTD is hidden", function () {
+ if (!jasmine_config.check_motd) {
+ return;
+ }
+
expect($(".mkwsMOTD").length).toBe(1);
expect($(".mkwsMOTD").is(":hidden")).toBe(true);
debug("motd t=" + $(".mkwsMOTD").text());