Loading
- The data should be loaded with:
- two paragraphs,
- bulleted list with eight items,
- two paragraphs,
- numbered list with one item,
- bullet list with one item.
- Toolbar should have two buttons: for bullet and for numbered list.
Testing
After each step test undo (whole stack) -> redo (whole stack) -> undo (whole stack).
Creating:
- Convert first paragraph to list item
- Create empty paragraph and convert to list item
- Enter in the middle of item
- Enter at the start of item
- Enter at the end of item
Removing:
- Delete all contents from list item and then the list item
- Press enter in empty list item
- Click on highlighted button ("turn off" list feature)
- Do it for first, second and last list item
Changing type:
- Change type from bulleted to numbered
- Do it for first, second and last item
- Do it for multiple items at once
Merging:
- Convert paragraph before list to same type of list
- Convert paragraph after list to same type of list
- Convert paragraph before list to different type of list
- Convert paragraph after list to different type of list
- Convert first paragraph to bulleted list, then convert second paragraph to bulleted list
- Convert multiple items and paragraphs at once
Selection deletion. Make selection between items and press delete button:
- two items from the same list
- all items in a list
- paragraph before list and second item of list
- paragraph after list and one-but-last item of list
- two paragraphs that have list between them
- two items from different lists of same type
- two items from different lists of different type