Fix for Text spec failing (#239)
This commit is contained in:
parent
955e9a2f2b
commit
dc3fc8a7ee
|
|
@ -13,9 +13,6 @@ describe("Text Widget Functionality", function() {
|
|||
});
|
||||
|
||||
it("Text-TextStyle Heading, Text Name Validation", function() {
|
||||
//Changing the text label
|
||||
cy.testCodeMirror(this.data.TextLabelValue);
|
||||
|
||||
//changing the Text Name and verifying
|
||||
cy.widgetText(
|
||||
this.data.TextName,
|
||||
|
|
@ -23,6 +20,9 @@ describe("Text Widget Functionality", function() {
|
|||
widgetsPage.textWidget + " " + commonlocators.widgetNameTag,
|
||||
);
|
||||
|
||||
//Changing the text label
|
||||
cy.testCodeMirror(this.data.TextLabelValue);
|
||||
|
||||
cy.ChangeTextStyle(
|
||||
this.data.TextHeading,
|
||||
commonlocators.headingTextStyle,
|
||||
|
|
|
|||
|
|
@ -746,6 +746,7 @@ Cypress.Commands.add("testCodeMirror", value => {
|
|||
force: true,
|
||||
parseSpecialCharSequences: false,
|
||||
});
|
||||
cy.wait(200);
|
||||
cy.get(".CodeMirror textarea")
|
||||
.first()
|
||||
.should("have.value", value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user