Rich Text Editor: Set up test environment
The Rich Text Editor edits HTML produced by the Markdown API endpoint.
We have to make sure to catch disparities between the API output and the Rich Text Editor’s assumptions about this output. For this purpose, we want to create a test environment where fixtures are generated for each type of content supported by the editor using the Markdown API endpoint.
We also want to define testing patterns to verify the accuracy of Markdown generation and testing TipTap extensions.
- MR: Set up test fixtures for Rich Text Editor - This MR is simply a first iteration of proving we can call the API and generate a file.
- Add support for generating fixtures and committing the files to git to the CI pipeline config.
- Add initial Bold extension test that uses the generated fixture.
- Document how to create a new test fixture.
See for a big picture of the Rich Text Editor development: gitlab#321442 (closed)