Skip to content

Commit e2abadf

Browse files
committed
Wait for styling panel to disappear.
1 parent b1b01de commit e2abadf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress/e2e/editable-label.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe("Editable Label", function () {
1212
messageLabel.type(" $@%^{enter}");
1313
cy.contains("method() $@%^").should("be.visible");
1414
cy.get(".header").click();
15-
15+
cy.wait(1000);
1616
cy.document().toMatchImageSnapshot({
1717
imageConfig: { threshold: 0.01 },
1818
capture: "viewport",
@@ -30,6 +30,7 @@ describe("Editable Label", function () {
3030
messageLabel.type(" n{backspace}n{enter}");
3131
cy.contains("SelfMessage n").should("be.visible");
3232
cy.get(".header").click();
33+
cy.wait(1000);
3334

3435
cy.document().toMatchImageSnapshot({
3536
imageConfig: { threshold: 0.01 },
@@ -48,6 +49,7 @@ describe("Editable Label", function () {
4849
messageLabel.type(" how are you?{enter}");
4950
cy.contains("Hello Bob how are you?").should("be.visible");
5051
cy.get(".header").click();
52+
cy.wait(1000);
5153

5254
cy.document().toMatchImageSnapshot({
5355
imageConfig: { threshold: 0.01 },

0 commit comments

Comments
 (0)