Explorar el Código

Tests: Fixed tests but the fix is pretty ugly.

Marek Lewandowski hace 6 años
padre
commit
03b3487d43
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      packages/ckeditor5-font/tests/ui/colortableview.js

+ 2 - 0
packages/ckeditor5-font/tests/ui/colortableview.js

@@ -364,6 +364,7 @@ describe( 'ColorTableView', () => {
 					removeButtonLabel: 'Remove color',
 					documentColorsCount: 0
 				} );
+				colorTableView.renderGrids();
 				colorTableView.render();
 			} );
 
@@ -420,6 +421,7 @@ describe( 'ColorTableView', () => {
 
 					dropdown = editor.ui.componentFactory.create( 'testColor' );
 					dropdown.isOpen = true;
+					dropdown.isOpen = false;
 					dropdown.render();
 
 					staticColorsGrid = dropdown.colorTableView.staticColorsGrid;