Procházet zdrojové kódy

Tests: Update manual tests descriptions.

Maciej Gołaszewski před 8 roky
rodič
revize
120a5b47a5

+ 7 - 6
packages/ckeditor5-alignment/tests/manual/alignment.md

@@ -6,7 +6,7 @@
   * third paragraph should be centered,
   * fourth paragraph should be justified,
   * an image with caption between first and second paragraphs.
-2. Toolbar should have four buttons for alignment control: left, right, center and justify.
+2. Toolbar should have alignment button dropdown with four buttons for alignment control: left, right, center and justify.
 
 ### Testing
 
@@ -24,10 +24,11 @@ You should be able to create blocks that can be aligned:
 3. lists
 
 Alignment UI should:
-1. highlight "left" button when selection is inside left aligned block (default one)
-2. highlight "right" button when selection is inside right aligned block
-3. highlight "center" button when selection is inside centered block
-4. highlight "justify" button when selection is inside justified block
+1. change button dropdown to "left" and highlight "left" button when selection is inside left aligned block (default one)
+2. change button dropdown to "right" and highlight "right" button when selection is inside right aligned block
+3. change button dropdown to "center" and highlight "center" button when selection is inside centered block
+4. change button dropdown to "justify" and highlight "justify" button when selection is inside justified block
 5. be disabled if in figcaption
-6. only one button should be active at once
+6. only one button should be active at once inside dropdown
+7. alignment dropdown should be vertical
 

+ 6 - 1
packages/ckeditor5-alignment/tests/manual/alignmentconfig.md

@@ -6,10 +6,15 @@
   * third paragraph should be centered,
   * fourth paragraph should be justified,
   * an image with caption between first and second paragraphs.
-2. Toolbar should have only two buttons for alignment control: center and justify.
+2. Toolbar should have button dropdown with only two buttons for alignment control: center and justify.
 
 ### Testing
 
+Alignment dropdown button should change to:
+- "left" icon when text has default (left) alignment,
+- "center" icon when text is centered,
+- "jusifty" icon when text is justified.
+
 "Center" alignment button:
 1. should be highlighted only in third paragraph,
 2. should enable/disable center alignment on any paragraph.