diff --git a/packages/ckeditor5-ui/tests/icon/iconview.js b/packages/ckeditor5-ui/tests/icon/iconview.js index cc271681208..310629810a6 100644 --- a/packages/ckeditor5-ui/tests/icon/iconview.js +++ b/packages/ckeditor5-ui/tests/icon/iconview.js @@ -131,7 +131,6 @@ describe( 'IconView', () => { } ); function assertIconInnerHTML( icon, expected ) { - // Edge adds the xmlns attribute to each node when obtaining from parent's innerHTML. - expect( normalizeHtml( icon.element.innerHTML.replace( /xmlns="[^"]+"/, '' ) ) ) + expect( normalizeHtml( icon.element.innerHTML ) ) .to.equal( expected ); }