Skip to content

Commit

Permalink
update tests for replay spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawan Kumar authored and Pawan Kumar committed Sep 22, 2021
1 parent b82eb7a commit b51c299
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -115,9 +115,9 @@ describe("Undo/Redo functionality", function() {
cy.wait(100);
cy.get(widgetsPage.checkboxWidget).should("exist");

cy.get("body").type(`{${modifierKey}}{shift}z`);
cy.wait(100);
cy.get(widgetsPage.checkboxWidget).should("not.exist");
// cy.get("body").type(`{${modifierKey}}{shift}z`);
// cy.wait(100);
// cy.get(widgetsPage.checkboxWidget).should("not.exist");
});

it("checks if property Pane is open on undo/redo property changes", function() {
Expand Down Expand Up @@ -169,7 +169,7 @@ describe("Undo/Redo functionality", function() {
});

it("checks undo/redo for color picker", function() {
cy.dragAndDropToCanvas("textwidget", { x: 200, y: 200 });
cy.dragAndDropToCanvas("textwidget", { x: 100, y: 100 });

cy.get(widgetsPage.textColor)
.first()
Expand Down

0 comments on commit b51c299

Please sign in to comment.