Skip to content

Commit

Permalink
Add manual test for #5084
Browse files Browse the repository at this point in the history
  • Loading branch information
sculpt0r committed Jul 25, 2022
1 parent 1546951 commit 2d53e39
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/plugins/tabletools/manual/cellpropertiescelltype.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h1>Editor 1:</h1>
<div id="editor">
<table border="1">
<tbody>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
</tbody>
</table>
</div>

<script>
CKEDITOR.replace( 'editor' );
</script>
31 changes: 31 additions & 0 deletions tests/plugins/tabletools/manual/cellpropertiescelltype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@bender-tags: 4.20.0, 5084, feature
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, table, tabletools

**Note:** Please verify cell structure via toggling `Source` mode.

1. Right click at any cell, and select `Cell` -> `Cell Properties`.

**Expected** Cell has `Data` type.

2. Change cell type to `Column Header`.

**Expected** Cell has `th` type and `scope` attribute set on `col`.

3. Right click at any cell, and select `Cell` -> `Cell Properties`.

**Expected** Cell has `Column Header` type.

4. Change cell type to `Row Header`.

**Expected** Cell has `th` type and `scope` attribute set on `row`.

5. Right click at any cell, and select `Cell` -> `Cell Properties`.

**Expected** Cell has `Row Header` type.

6. Change cell type to `Data`.

**Expected** Cell has `td` type and do not have `scope` attribute.

7. Play with cell types and verify if they type matches expectations from the above.

0 comments on commit 2d53e39

Please sign in to comment.