Browse Source

Tests: Added a manual test for #228.

Aleksander Nowodzinski 8 years ago
parent
commit
4ed9757830

File diff suppressed because it is too large
+ 23 - 0
packages/ckeditor5-ui/tests/manual/tickets/228/1.html


+ 15 - 0
packages/ckeditor5-ui/tests/manual/tickets/228/1.js

@@ -0,0 +1,15 @@
+/**
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+/* globals document, console:false */
+
+import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classic';
+import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
+
+ClassicEditor.create( document.querySelector( '#editor' ), {
+	plugins: [ ArticlePresets ],
+	toolbar: [ 'headings' ],
+} )
+.catch( err => console.error( err.stack ) );

+ 11 - 0
packages/ckeditor5-ui/tests/manual/tickets/228/1.md

@@ -0,0 +1,11 @@
+# Issue [#228](https://github.com/ckeditor/ckeditor5-ui/issues/228) manual test.
+
+## Drag and drop in the dropdown panel should not affect the selection
+
+1. Select the bold text in the editor content.
+2. Click to open the dropdown in the toolbar.
+3. Try to drag and drop the text **within** the dropdown panel.
+
+**Expected**: The selection should remain untouched as long as drag and dropping within the panel's boundary.
+
+