+//describe("Check switch menu Records/Targets", function () {
+// var div = $("div#mkwsSwitch");
+//// if (div.length == 0) {
+//// debug("mkwsSwitch does not exists, skip test");
+//// return;
+//// }
+//
+//
+// it("check mkwsSwitch", function () {
+// expect($("div#mkwsSwitch").length).toBe(1);
+//
+// // expect 2 clickable links
+// expect( $("div#mkwsSwitch a").length).toBe(2);
+// });
+//
+// it("switch to target view", function () {
+// var click = $("a#mkwsSwitch_targets").trigger("click");
+// debug("target click is success: " + click.length);
+// expect(click.length == 1).toBe(true);
+//
+// // now the target table must be visible
+// /*
+// expect($("div#mkwsBytarget").is(":visible")).toBe(true);
+// */
+// expect($("div#mkwsResults").is(":visible")).toBe(true);
+//
+// // look for table header
+// expect($("div#mkwsBytarget").html()).toMatch(/Target ID/);
+// });
+//
+// /*
+// it("switch back to record view", function () {
+// var click = $("div#mkwsSwitch a:nth-child(0)").trigger("click");
+// debug("record click is success: " + click.length);
+// expect(click.length == 1).toBe(true);
+//
+// // now the target table must be in-visible again
+// var bytarget = $("div#mkwsBytarget:visible");
+// var byrecords = $("div#mkwsResults:visible");
+// expect(bytarget.length == 1).toBe(false);
+// expect(byrecords.length == 1).toBe(true);
+// });
+// */
+//});