Loading

  1. The data should be loaded with:
  1. Main toolbar should have insert table dropdown.

  2. While the table cell is selected there should be a toolbar attached to the table with 3 dropdowns:

  1. While the table widget is selected there should be bold and italic buttons

Testing

Inserting table:

  1. Insert table of chosen size - the inserted table should have number columns & rows as selected in dropdown.
  2. Re-opening dropdown should reset selected table size.
  3. Table cannot be inserted into other table.

Column manipulation:

  1. Insert column in table heading section.
  2. Insert column in merged cell.
  3. Insert column at the end/beginning of a table.
  4. Remove column from table heading section.
  5. Remove column of merged cell.
  6. Change column heading status.

Column manipulation:

  1. Insert row in table heading section.
  2. Insert row in merged cell.
  3. Insert row at the end/beginning of a table.
  4. Remove row from table heading section.
  5. Remove row of merged cell.
  6. Change row heading status.

Merging cells:

  1. Merge cell on the left/right/top/bottom of current cell.
  2. Merge cell on the left/right/top/bottom touching another table section (mergin a table cell from header row with a cell from body should not be possible).
  3. Merge cells that are already merged.

Splitting cells:

  1. Split not merged cell vertically/horizontally.
  2. Split already merged cell vertically/horizontally.

Nested tables:

  1. Verify that nested tables are displayed correctly and do not throw an error.
  2. Verify that it is possible to insert new table inside existing table cell.
  3. Verify that it is possible to copy & paste nested table below the existing one (in the editor root).
  4. Verify that it is possible to copy & paste nested table inside other table cell.
  1. Hover the outer table with the mouse cursor. Verify that the yellow border and selection handle on the inner table is not visible (they should be visible only for the hovered table).
  2. Select the outer table. Verify that the blue selection handle on the inner table is not visible (it should be visible only for the selected table).

Complex table:

Data about the planets of our solar system (Planetary facts taken from Nasa's Planetary Fact Sheet - Metric.
  Name Mass (1024kg) Diameter (km) Density (kg/m3) Gravity (m/s2) Length of day (hours) Distance from Sun (106km) Mean temperature (°C) Number of moons Notes
Terrestrial planets Mercury 0.330 4,879 5427 3.7 4222.6 57.9 167 0 Closest to the Sun
Venus 4.87 12,104 5243 8.9 2802.0 108.2 464 0  
Earth 5.97 12,756 5514 9.8 24.0 149.6 15 1 Our world
Mars 0.642 6,792 3933 3.7 24.7 227.9 -65 2 The red planet
Jovian planets Gas giants Jupiter 1898 142,984 1326 23.1 9.9 778.6 -110 67 The largest planet
Saturn 568 120,536 687 9.0 10.7 1433.5 -140 62  
Ice giants Uranus 86.8 51,118 1271 8.7 17.2 2872.5 -195 27  
Neptune 102 49,528 1638 11.0 16.1 4495.1 -200 14  
Dwarf planets Pluto 0.0146 2,370 2095 0.7 153.3 5906.4 -225 5 Declassified as a planet in 2006, but this remains controversial.

Table with 2 tbody:

a b c
a b c

Table with no tbody:

a b c
a b c

Table with thead section between two tbody sections

2
1
3

Nested tables

     
 

Paragraph before table

Nested table

Paragraph after table