Lines Matching refs:find
52 QUnit.ok(PropertiesLinkQualifier.$el.find("#linkQualifierTabs a").length === 2, "Both dynamic and declarative link qualifier methods are available");
54 QUnit.ok(PropertiesLinkQualifier.$el.find("#staticLinkQualifierList .linkQualifier").html() === "default", "Correctly loaded default declarative link qualifiers");
56 QUnit.ok(PropertiesLinkQualifier.$el.find("#staticLinkQualifierList button:enabled").length === 0, "Declarative link qualifier not deletable");
58 PropertiesLinkQualifier.$el.find(".newLinkQualifier").val("test");
59 PropertiesLinkQualifier.$el.find(".addLinkQualifier").trigger("click");
61 QUnit.ok(PropertiesLinkQualifier.$el.find("#staticLinkQualifierList button:nth-child(2) .linkQualifier").html() === "test", "Added a declarative link qualifier");
63 QUnit.ok(PropertiesLinkQualifier.$el.find("#staticLinkQualifierList button:enabled").length === 2, "Both declarative link qualifiers are deletable");
65 PropertiesLinkQualifier.$el.find(".removeLinkQualifier:nth-child(2)").trigger("click");
67 QUnit.ok(PropertiesLinkQualifier.$el.find("#staticLinkQualifierList button").length === 1, "Removed declarative link qualifier");
69 PropertiesLinkQualifier.$el.find("#scriptQualifierTab").trigger("click");
71 QUnit.ok(PropertiesLinkQualifier.$el.find("#scriptLinkQualifier").hasClass("active"), "Successfully changed to Dynamic tab");
73 QUnit.ok(PropertiesLinkQualifier.$el.find(".CodeMirror").length === 1, "Code mirror loaded for dynamic tab");
75 PropertiesLinkQualifier.$el.find(".inline-code input").trigger("click");
81 PropertiesLinkQualifier.$el.find(".linkQualifierSave").trigger("click");
88 QUnit.ok(PropertiesLinkQualifier.$el.find("#badLinkQualifierScript:visible").length === 1, "Error message successfully displayed");