Add a test to make sure this functionality doesn't get broken

This commit is contained in:
HarelM
2023-12-21 22:00:16 +02:00
parent 901be16ae4
commit ab102dccd7
3 changed files with 9 additions and 1 deletions
+7
View File
@@ -77,11 +77,18 @@ describe("modals", () => {
});
it("name", () => {
when.click("field-doc-button-Name");
should.containText("spec-field-doc", "name for the style");
});
it("show name specifications", () => {
when.setValue(get.dataAttribute("modal:settings.name"), "foobar");
when.click("modal:settings.owner");
should.equalStyleStore((obj) => obj.name, "foobar");
});
it("owner", () => {
when.setValue(get.dataAttribute("modal:settings.owner"), "foobar");
when.click("modal:settings.name");