@@ -703,7 +703,10 @@ describe('Rich Text Editor - Tracking', { viewportHeight: 2000, viewportWidth: 1
703
703
) ;
704
704
cy . get ( '@onAction' ) . should (
705
705
'be.calledWithMatch' ,
706
- ...insert ( origin , { nodeType : BLOCKS . EMBEDDED_ENTRY } ) ,
706
+ ...insert ( origin , {
707
+ nodeType : BLOCKS . EMBEDDED_ENTRY ,
708
+ entity : Cypress . sinon . match . object ,
709
+ } ) ,
707
710
) ;
708
711
cy . get ( '@onAction' ) . should ( 'be.calledWithExactly' , ...linkRendered ( ) ) ;
709
712
@@ -763,7 +766,10 @@ describe('Rich Text Editor - Tracking', { viewportHeight: 2000, viewportWidth: 1
763
766
) ;
764
767
cy . get ( '@onAction' ) . should (
765
768
'be.calledWithMatch' ,
766
- ...insert ( origin , { nodeType : BLOCKS . EMBEDDED_ASSET } ) ,
769
+ ...insert ( origin , {
770
+ nodeType : BLOCKS . EMBEDDED_ASSET ,
771
+ entity : Cypress . sinon . match . object ,
772
+ } ) ,
767
773
) ;
768
774
cy . get ( '@onAction' ) . should ( 'be.calledWithExactly' , ...linkRendered ( ) ) ;
769
775
@@ -879,7 +885,10 @@ describe('Rich Text Editor - Tracking', { viewportHeight: 2000, viewportWidth: 1
879
885
) ;
880
886
cy . get ( '@onAction' ) . should (
881
887
'be.calledWithMatch' ,
882
- ...insert ( origin , { nodeType : INLINES . EMBEDDED_ENTRY } ) ,
888
+ ...insert ( origin , {
889
+ nodeType : INLINES . EMBEDDED_ENTRY ,
890
+ entity : Cypress . sinon . match . object ,
891
+ } ) ,
883
892
) ;
884
893
cy . get ( '@onAction' ) . should ( 'be.calledWithExactly' , ...linkRendered ( ) ) ;
885
894
0 commit comments