Cover the new file page in the single file editor specs

What does this MR do and why?

Companion to Preview new files before committing them (!253963 - merged), as part of Add preview for new markup files (#15501). Test coverage only, no implementation changes.

The single file editor specs were written almost entirely against the edit page fixture (a #file_path input). With Preview new files before committing them (!253963 - merged) giving the new file page (a #file_name input) its Write/Preview tabs, sort each spec onto the fixture of the page where its scenario actually plays out:

Along the way:

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by skkzsh

Merge request reports

Loading
Loading