浏览代码

Tests: Updated image UI utils tests with the new set of balloon positions.

Aleksander Nowodzinski 7 年之前
父节点
当前提交
20b16be2c1
共有 1 个文件被更改,包括 10 次插入2 次删除
  1. 10 2
      packages/ckeditor5-image/tests/image/ui/utils.js

+ 10 - 2
packages/ckeditor5-image/tests/image/ui/utils.js

@@ -59,7 +59,11 @@ describe( 'Utils', () => {
 				target: editingView.domConverter.viewToDom( editingView.selection.getSelectedElement() ),
 				positions: [
 					defaultPositions.northArrowSouth,
-					defaultPositions.southArrowNorth
+					defaultPositions.northArrowSouthWest,
+					defaultPositions.northArrowSouthEast,
+					defaultPositions.southArrowNorth,
+					defaultPositions.southArrowNorthWest,
+					defaultPositions.southArrowNorthEast
 				]
 			} );
 		} );
@@ -85,7 +89,11 @@ describe( 'Utils', () => {
 				target: editingView.domConverter.viewToDom( editingView.selection.getSelectedElement() ),
 				positions: [
 					defaultPositions.northArrowSouth,
-					defaultPositions.southArrowNorth
+					defaultPositions.northArrowSouthWest,
+					defaultPositions.northArrowSouthEast,
+					defaultPositions.southArrowNorth,
+					defaultPositions.southArrowNorthWest,
+					defaultPositions.southArrowNorthEast
 				]
 			} );
 		} );