@@ -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