Lines Matching refs:find
37 QUnit.equal(editConnector.$el.find(".back-bar a").length, 1, "Return link loaded");
39 QUnit.ok(editConnector.$el.find(".page-header .page-type").html() === "LDAP Connector - 1.4.0.0", "Connector type set");
41 QUnit.ok(editConnector.$el.find(".page-header h1").html() === "ldap", "Connector name set");
43 QUnit.equal(editConnector.$el.find(".nav-tabs li").length, 4, "Tabs detected and tabdrop prepared");
45 QUnit.ok(editConnector.$el.find("#connectorEnabled").val() === "true", "Connector defaults to enabled");
47 editConnector.$el.find("input[name='configurationProperties.host']").val("1234");
48 editConnector.$el.find("input[name='configurationProperties.host']").change();
50 QUnit.equal(editConnector.$el.find(".message .connector-pending").length, 1, "Connector change message displayed");
53 QUnit.equal(editConnector.$el.find("#selectObjectConfig").length, 1, "Prdefined object type dropdown displayed");
55 QUnit.equal(editConnector.$el.find("#objectTypesTab table tbody tr").length, 2, "Object type table populated");
58 QUnit.equal(editConnector.$el.find("#syncTab .sources option").length, 2, "Sync schedule sources loaded");
60 editConnector.$el.find("#syncTab .addLiveSync").click();
62 QUnit.equal(editConnector.$el.find("#syncTab .liveSyncScheduleContainer").length, 1, "Sync schedule added");
64 QUnit.equal(editConnector.$el.find("#syncTab #retryOptions option").length, 3, "LiveSync options loaded");
66 editConnector.$el.find("#syncTab #retryOptions").val("0");
67 editConnector.$el.find("#syncTab #retryOptions").change();
69 QUnit.ok(editConnector.$el.find("#syncTab .postActionBlock").not(":visible"), "Retry options changed");
71 QUnit.equal(editConnector.$el.find(".message .sync-pending").length, 1, "Sync change message displayed");
74 editConnector.$el.find("#objectTypesTab table tbody tr").first().find(".delete-objectType").click();
76 QUnit.equal(editConnector.$el.find("#objectTypesTab table tbody tr").length, 1, "Delete successful");
78 QUnit.equal(editConnector.$el.find(".message .objecttype-pending").length, 1, "Object type change message displayed");