From f4c17f74231ca0b0525b1e2b12a55eaa3dc902cd Mon Sep 17 00:00:00 2001 From: Rashmi P Date: Fri, 8 May 2020 10:38:35 +0000 Subject: [PATCH] Update RichTextEditor_spec.js --- .../Smoke_TestSuite/FormWidgets/RichTextEditor_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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