diff --git a/app/client/cypress/integration/Smoke_TestSuite/FormWidgets/RichTextEditor_spec.js b/app/client/cypress/integration/Smoke_TestSuite/FormWidgets/RichTextEditor_spec.js index 0d066231aa..e779ea2e1b 100644 --- a/app/client/cypress/integration/Smoke_TestSuite/FormWidgets/RichTextEditor_spec.js +++ b/app/client/cypress/integration/Smoke_TestSuite/FormWidgets/RichTextEditor_spec.js @@ -49,7 +49,7 @@ describe("RichTextEditor Widget Functionality", function() { const $body = $iframe.contents().find("body"); cy.wrap($body) .find("p") - .should("have.text", this.data.RichTexteditorBody); + .should("contain.text", this.data.RichTexteditorBody); }); //Check the Disabled checkbox