diff --git a/cypress/e2e/modals.cy.ts b/cypress/e2e/modals.cy.ts index e5fd505f..911deef6 100644 --- a/cypress/e2e/modals.cy.ts +++ b/cypress/e2e/modals.cy.ts @@ -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"); diff --git a/src/components/Doc.tsx b/src/components/Doc.tsx index c5db0c4d..92937522 100644 --- a/src/components/Doc.tsx +++ b/src/components/Doc.tsx @@ -39,7 +39,7 @@ export default class Doc extends React.Component { <> {doc &&
-
{doc}
+
{doc}
{renderValues &&