Selaa lähdekoodia

Updated manual tests.

Maciej Bukowski 7 vuotta sitten
vanhempi
commit
6b7ea45ece

+ 2 - 1
packages/ckeditor5-table/tests/manual/table.js

@@ -17,7 +17,8 @@ ClassicEditor
 			'heading', '|', 'insertTable', '|', 'bold', 'italic', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo'
 		],
 		table: {
-			toolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells' ]
+			contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells' ],
+			tableToolbar: [ 'bold', 'italic' ]
 		}
 	} )
 	.then( editor => {

+ 6 - 4
packages/ckeditor5-table/tests/manual/table.md

@@ -2,16 +2,16 @@
 
 1. The data should be loaded with:
   * a complex table with:
-    - one heading row, 
-    - two heading columns, 
+    - one heading row,
+    - two heading columns,
     - merged cells in heading columns section,
   * a table with 2 tbody sections in the DOM - should be rendered as a table with one tbody.
   * a table with no tbody sections in the DOM - should be rendered as a table with one tbody.
   * a table with a thead section between two tbody sections in dom - should be rendered as a table with one thead and on tbody section in proper order: 1, 2, 3.
 
 2. Main toolbar should have insert table dropdown.
-  
-3. While the table widget is selected there should be a toolbar attached to the table with 3 dropdowns:
+
+3. While the table cell is selected there should be a toolbar attached to the table with 3 dropdowns:
   * column dropdown with items:
     - header column,
     - insert column before,
@@ -30,6 +30,8 @@
     - split cell vertically,
     - split cell horizontally,
 
+4. While the table widget is selected there should be `bold` and `italic` buttons
+
 ### Testing
 
 Inserting table:

+ 1 - 1
packages/ckeditor5-table/tests/manual/tableblockcontent.js

@@ -19,7 +19,7 @@ ClassicEditor
 			'alignment', '|', 'undo', 'redo'
 		],
 		table: {
-			toolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells' ]
+			contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells' ]
 		}
 	} )
 	.then( editor => {

+ 2 - 2
packages/ckeditor5-table/tests/manual/tableblockcontent.md

@@ -13,7 +13,7 @@
 
 ### Testing
 
-1. Use <kbd>Enter</kbd> in cells with single `<pargraph>`. When two `<paragraph>`'s are in one table cell they should be rendered as `<p>`.
+1. Use <kbd>Enter</kbd> in cells with single `<paragraph>`. When two `<paragraph>`'s are in one table cell they should be rendered as `<p>`.
 2. Undo previous step - the `<p>` element should be changed to `<span>` for single paragraph.
 3. Change `<heading>` to paragraph - it should be rendered as `<p>` element if there are other headings or other block content.
-4. Change one `<heading>` to paragraph and remove other headings. The `<paragraph>` should be rendered as `<span>`. 
+4. Change one `<heading>` to paragraph and remove other headings. The `<paragraph>` should be rendered as `<span>`.