8
0
Pārlūkot izejas kodu

Tests: Fixed broken ContextualBalloon test.

Aleksander Nowodzinski 8 gadi atpakaļ
vecāks
revīzija
32a57ce8ac

+ 2 - 2
packages/ckeditor5-ui/tests/panel/balloon/contextualballoon.js

@@ -66,11 +66,11 @@ describe( 'ContextualBalloon', () => {
 			expect( editor.ui.view.body.getIndex( balloon.view ) ).to.above( -1 );
 		} );
 
-		it( 'should register balloon panel element in ui focus tracker', () => {
+		it( 'should register balloon panel element in editor.ui#focusTracker', () => {
 			editor.ui.focusTracker.isfocused = false;
 
 			balloon.add( {
-				view: viewA,
+				view: viewB,
 				position: { target: 'fake' }
 			} );