Skip to content

Commit b39f1cc

Browse files
committed
Add vr test
1 parent 4874d6a commit b39f1cc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Loading

visualRegressionTests/tests/designer/pg-editors.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,4 +835,17 @@ test("popup overlay in property grid", async (t) => {
835835

836836
await takeElementScreenshot("pg-overlay-popup.png", getVisibleElement(".sv-popup .sv-popup__container"), t, comparer);
837837
});
838-
});
838+
});
839+
fixture`${title}`.page`${url}`.beforeEach(async (t) => { });
840+
test("Check creator theme settings", async (t) => {
841+
await wrapVisualTest(t, async (t, comparer) => {
842+
await t.resizeWindow(1920, 1080);
843+
await ClientFunction(() => {
844+
(window as any).updateCreatorModel({ showCreatorThemeSettings: true }, {});
845+
(window as any).creator.showOneCategoryInPropertyGrid = true;
846+
})();
847+
await t.drag(Selector(".svc-resizer-west"), -60, 0);
848+
await t.click(Selector(".svc-sidebar-tabs__bottom-container .svc-menu-action__button"));
849+
await takeElementScreenshot("creator-theme-settings.png", getVisibleElement(".spg-body"), t, comparer);
850+
});
851+
});

0 commit comments

Comments
 (0)