Skip to content

Commit b1b01de

Browse files
committed
Don't show styling panel after editing.
1 parent 0df1588 commit b1b01de

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
731 Bytes
Loading
-170 Bytes
Loading
-661 Bytes
Loading

cypress/e2e/editable-label.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe("Editable Label", function () {
1111
messageLabel.dblclick();
1212
messageLabel.type(" $@%^{enter}");
1313
cy.contains("method() $@%^").should("be.visible");
14-
cy.get("body").click();
14+
cy.get(".header").click();
1515

1616
cy.document().toMatchImageSnapshot({
1717
imageConfig: { threshold: 0.01 },
@@ -29,7 +29,7 @@ describe("Editable Label", function () {
2929
messageLabel.dblclick();
3030
messageLabel.type(" n{backspace}n{enter}");
3131
cy.contains("SelfMessage n").should("be.visible");
32-
cy.get("body").click();
32+
cy.get(".header").click();
3333

3434
cy.document().toMatchImageSnapshot({
3535
imageConfig: { threshold: 0.01 },
@@ -47,7 +47,7 @@ describe("Editable Label", function () {
4747
messageLabel.dblclick();
4848
messageLabel.type(" how are you?{enter}");
4949
cy.contains("Hello Bob how are you?").should("be.visible");
50-
cy.get("body").click();
50+
cy.get(".header").click();
5151

5252
cy.document().toMatchImageSnapshot({
5353
imageConfig: { threshold: 0.01 },

0 commit comments

Comments
 (0)