Browse Source

Tests: Improved test names.

Oskar Wróbel 7 years ago
parent
commit
89244eb117
1 changed files with 4 additions and 2 deletions
  1. 4 2
      packages/ckeditor5-ui/tests/toolbar/block/blocktoolbar.js

+ 4 - 2
packages/ckeditor5-ui/tests/toolbar/block/blocktoolbar.js

@@ -279,7 +279,8 @@ describe( 'BlockToolbar', () => {
 	} );
 
 	describe( 'attaching button to the content', () => {
-		it( 'should attach button to the left side of selected content and center with the first line on view#render #1', () => {
+		it( 'should attach right side of the button to the left side of the editable and center with the first line ' +
+			'of selected block #1', () => {
 			setData( editor.model, '<paragraph>foo[]bar</paragraph>' );
 
 			const target = editor.ui.view.editableElement.querySelector( 'p' );
@@ -312,7 +313,8 @@ describe( 'BlockToolbar', () => {
 			expect( blockToolbar.buttonView.left ).to.equal( 100 );
 		} );
 
-		it( 'should attach button to the left side of selected content and center with the first line on view#render #2', () => {
+		it( 'should attach right side of the button to the left side of the editable and center with the first line ' +
+			'of selected block #2', () => {
 			setData( editor.model, '<paragraph>foo[]bar</paragraph>' );
 
 			const target = editor.ui.view.editableElement.querySelector( 'p' );