diff --git a/datahub-web-react/src/app/homeV3/modules/documentation/RichTextContent.tsx b/datahub-web-react/src/app/homeV3/modules/documentation/RichTextContent.tsx index 054e0fa3dd7efa..c20b2393393d31 100644 --- a/datahub-web-react/src/app/homeV3/modules/documentation/RichTextContent.tsx +++ b/datahub-web-react/src/app/homeV3/modules/documentation/RichTextContent.tsx @@ -20,9 +20,15 @@ type Props = { const RichTextContent = ({ content, form }: Props) => { return (
- + - + form.setFieldValue('content', newContent)} + /> diff --git a/smoke-test/tests/cypress/cypress/e2e/homeV3/utils.js b/smoke-test/tests/cypress/cypress/e2e/homeV3/utils.js index b110714ebe4f69..c8c51edc882330 100644 --- a/smoke-test/tests/cypress/cypress/e2e/homeV3/utils.js +++ b/smoke-test/tests/cypress/cypress/e2e/homeV3/utils.js @@ -158,7 +158,11 @@ export function createDocumentationModule(name, text) { clickFirstAddModuleButton(); cy.getWithTestId("add-documentation-module").click(); cy.getWithTestId("module-name").should("be.visible").type(name); - cy.getWithTestId("rich-text-documentation").should("be.visible").type(text); + cy.getWithTestId("rich-text-documentation") + .should("be.visible") + .within(() => { + cy.get(".remirror-editor-wrapper").type(text); + }); cy.getWithTestId("create-update-module-button").click(); }