@@ -11,8 +11,8 @@ describe("Editable Label", function () {
1111 messageLabel . dblclick ( ) ;
1212 messageLabel . type ( " $@%^{enter}" ) ;
1313 cy . contains ( "method() $@%^" ) . should ( "be.visible" ) ;
14- cy . get ( "body " ) . click ( ) ;
15-
14+ cy . get ( ".header " ) . click ( ) ;
15+ cy . wait ( 1000 ) ;
1616 cy . document ( ) . toMatchImageSnapshot ( {
1717 imageConfig : { threshold : 0.01 } ,
1818 capture : "viewport" ,
@@ -29,7 +29,8 @@ 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 ( ) ;
33+ cy . wait ( 1000 ) ;
3334
3435 cy . document ( ) . toMatchImageSnapshot ( {
3536 imageConfig : { threshold : 0.01 } ,
@@ -47,7 +48,8 @@ describe("Editable Label", function () {
4748 messageLabel . dblclick ( ) ;
4849 messageLabel . type ( " how are you?{enter}" ) ;
4950 cy . contains ( "Hello Bob how are you?" ) . should ( "be.visible" ) ;
50- cy . get ( "body" ) . click ( ) ;
51+ cy . get ( ".header" ) . click ( ) ;
52+ cy . wait ( 1000 ) ;
5153
5254 cy . document ( ) . toMatchImageSnapshot ( {
5355 imageConfig : { threshold : 0.01 } ,
0 commit comments