Преглед изворни кода

Tests: Updated widget type around tests to the new button titles.

Aleksander Nowodzinski пре 5 година
родитељ
комит
c06cb6e9e3
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/ckeditor5-widget/tests/widgettypearound/widgettypearound.js

+ 2 - 2
packages/ckeditor5-widget/tests/widgettypearound/widgettypearound.js

@@ -167,7 +167,7 @@ describe( 'WidgetTypeAround', () => {
 				} );
 
 				it( 'should have a specific "title"', () => {
-					expect( buttonBefore.getAttribute( 'title' ) ).to.equal( 'Insert paragraph before widget' );
+					expect( buttonBefore.getAttribute( 'title' ) ).to.equal( 'Insert paragraph before block' );
 				} );
 
 				it( 'should execute WidgetTypeAround#_insertParagraph() when clicked', () => {
@@ -196,7 +196,7 @@ describe( 'WidgetTypeAround', () => {
 				} );
 
 				it( 'should have a specific "title"', () => {
-					expect( buttonAfter.getAttribute( 'title' ) ).to.equal( 'Insert paragraph after widget' );
+					expect( buttonAfter.getAttribute( 'title' ) ).to.equal( 'Insert paragraph after block' );
 				} );
 
 				it( 'should execute WidgetTypeAround#_insertParagraph() when clicked', () => {