Browse Source

Removed the obsolete test (see ckeditor/ckeditor5-core#137).

Aleksander Nowodzinski 7 years ago
parent
commit
234e2cd5f4

+ 1 - 0
packages/ckeditor5-ui/src/toolbar/balloon/balloontoolbar.js

@@ -59,6 +59,7 @@ export default class BalloonToolbar extends Plugin {
 		 * @type {module:utils:focustracker~FocusTracker}
 		 */
 		this.focusTracker = new FocusTracker();
+
 		// Wait for the EditorUI#init. EditableElement is not available before.
 		editor.once( 'uiReady', () => {
 			this.focusTracker.add( editor.ui.view.editableElement );

+ 0 - 11
packages/ckeditor5-ui/tests/toolbar/balloon/balloontoolbar.js

@@ -4,7 +4,6 @@
  */
 
 import ClassicTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/classictesteditor';
-import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
 import BalloonToolbar from '../../../src/toolbar/balloon/balloontoolbar';
 import ContextualBalloon from '../../../src/panel/balloon/contextualballoon';
 import BalloonPanelView from '../../../src/panel/balloon/balloonpanelview';
@@ -139,16 +138,6 @@ describe( 'BalloonToolbar', () => {
 		}, 100 );
 	} );
 
-	// See https://github.com/ckeditor/ckeditor5-ui/issues/424.
-	it( 'should work with the ClassicEditor', () => {
-		const editor = new ClassicEditor( editorElement, {
-			plugins: [ BalloonToolbar ]
-		} );
-
-		// Test will fail because of rejected promise.
-		return editor.initPlugins();
-	} );
-
 	describe( 'pluginName', () => {
 		it( 'should return plugin by its name', () => {
 			expect( editor.plugins.get( 'BalloonToolbar' ) ).to.equal( balloonToolbar );