瀏覽代碼

Added use cases to manual test.

Oskar Wrobel 9 年之前
父節點
當前提交
0392357ad3
共有 1 個文件被更改,包括 41 次插入1 次删除
  1. 41 1
      packages/ckeditor5-link/tests/manual/link.md

+ 41 - 1
packages/ckeditor5-link/tests/manual/link.md

@@ -2,4 +2,44 @@
 
 ## Link
 
-1. Test the link feature live.
+### Create new link from text
+
+1. Select fragment of regular text.
+2. Click toolbar link button.
+3. Check if balloon panel attached to the selection appeared.
+4. Fill in `Link URL` input on panel.
+5. Click `Save` button.
+6. Check if selected text is converted into a link.
+
+### Insert new link
+
+1. Set collapsed selection inside a regular text.
+2. Click toolbar link button.
+3. Check if balloon panel attached to the selection appeared.
+4. Fill in `Link URL` input on panel.
+5. Click `Save` button.
+6. Check if new link with anchor text the same as url value is inserted and selected.
+
+### Edit link
+
+1. Click on link element.
+2. Check if balloon panel attached to the link element appeared.
+3. Change `Link URL` input value.
+4. Click `Save` button.
+5. Check if link href value is changed.
+
+### Keyboard support
+
+1. Check if above use cases works for keyboard support. For opening Link panel press `Ctrl+L`, for submitting form press `Enter`.
+
+### Unlink link fragment
+
+1. Select link fragment.
+2. Click toolbar unlink button.
+3. Check if selected text is converted into a regular text.
+
+### Unlink whole link
+
+1. Click on link element.
+2. Click toolbar unlink button.
+3. Check if link is converted into a regular text.