Move GLFM example_snapshots under glfm_specification
What does this MR do and why?
Related: Tracking Issue: Implement GLFM scripts per the ... (#361241 - closed)
Moves GitLab Flavored Markdown example_snapshot files from spec/fixtures to glfm_specification.
Note that this is an intentional change from the previously documented decision.
This is because, when using these files and scripts in practice, developers have found it less confusing and more convenient to have both the GLFM [specification files] and the example snapshot files colocated under the same top-level glfm_specification directory.
This change has already been approved by @ealcantara and @himkp, who will be the initial primary users of these files.
How to set up and validate locally
- Run
scripts/glfm/update-example-snapshots.rband ensure there are no failures or unexpected changes (small changes to variable values are still expected). - Review documentation changes related to the example snapshots for correctness.
- Ensure
yarn jest spec/frontend/content_editor/markdown_snapshot_spec.jsstill passes. - Ensure
bundle exec rspec spec/requests/api/markdown_snapshot_spec.rbstill passes.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.