Skip to content

Commit

Permalink
fixed flaky text tile test
Browse files Browse the repository at this point in the history
  • Loading branch information
nstclair-cc committed Sep 30, 2024
1 parent da3d877 commit d36024f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v3/cypress/e2e/text.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ context("Text tile", () => {

cy.log("Check update text title with undo/redo")
// Undo title change
cy.wait(100)
toolbar.getUndoTool().click()
cy.wait(100)
c.getComponentTitle(kTextTileTestId).should("have.text", textDefaultTitle)

// Redo title change
toolbar.getRedoTool().should("be.enabled")
toolbar.getRedoTool().click()
cy.wait(100)
c.getComponentTitle(kTextTileTestId).should("have.text", newTextTileName)
})
it("close text tile from close button with undo/redo", () => {
Expand Down

0 comments on commit d36024f

Please sign in to comment.