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