Skip to content

Commit 3dffcb4

Browse files
committed
FIx unit test & vrt tests after adding defaultDisplayValue property
1 parent ddd5e1d commit 3dffcb4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/survey-creator-core/tests/side-bar.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ test("showOneCategoryInPropertyGrid: property grid actions - on removing/adding/
9797
creator.selectElement(col);
9898

9999
let tabs = designerPlugin["tabControlModel"].topToolbar.actions;
100-
expect(tabs.length).toBe(4);
101-
expect(tabs.map(t => t.id).join(",")).toBe("general,logic,totals,validation");
100+
expect(tabs.length).toBe(5);
101+
expect(tabs.map(t => t.id).join(",")).toBe("general,logic,data,totals,validation");
102102
col.cellType = "dropdown";
103103
tabs = designerPlugin["tabControlModel"].topToolbar.actions;
104-
expect(tabs.length).toBe(6);
105-
expect(tabs.map(t => t.id).join(",")).toBe("general,choices,choicesByUrl,logic,totals,validation");
104+
expect(tabs.length).toBe(7);
105+
expect(tabs.map(t => t.id).join(",")).toBe("general,choices,choicesByUrl,logic,data,totals,validation");
106106
});
107107
test("showOneCategoryInPropertyGrid: property grid actions - on removing/adding/visible-changed", () => {
108108
Serializer.addProperty("text", { name: "test", category: "test", visibleIf: (obj) => obj.name !== "q1", dependsOn: "name" });
Loading
Loading

0 commit comments

Comments
 (0)