ソースを参照

Tests: Created inline manual test description.

Aleksander Nowodzinski 8 年 前
コミット
8efe3db6ca

+ 0 - 2
packages/ckeditor5-editor-inline/tests/manual/inline.js

@@ -52,5 +52,3 @@ function destroyEditor() {
 
 document.getElementById( 'initEditor' ).addEventListener( 'click', initEditor );
 document.getElementById( 'destroyEditor' ).addEventListener( 'click', destroyEditor );
-
-initEditor();

+ 16 - 1
packages/ckeditor5-editor-inline/tests/manual/inline.md

@@ -1,5 +1,20 @@
 1. Click "Init editor".
-2. TODO
+2. Expected:
+  * Inline editor should be created.
+  * The element used as editable should remain visible.
+    * It should preserve `.custom-class` and `custom-attr="foo"`.
+  * There should be a floating toolbar with "Bold", "Italic", "Undo" and "Redo" buttons.
+3. Scroll the webpage.
+4. Expected:
+  * The toolbar should float around but always stick to editable.
+  * The toolbar should stick to the bottom of the editable if there's not enough space above.
+5. Click "Destroy editor".
+6. Expected:
+  * Editor should be destroyed.
+  * The element used as editable should remain visible.
+    * It should preserve `.custom-class` and `custom-attr="foo"`.
+  * The element should contain its data (updated).
+  * The 'ck-body region' should be removed.
 
 ## Notes: