Behaviour SwRS-MDOKFSTUDIO-LIFE-149
The Studio runs beside the built-in Markdown preview
While the Studio runs, the extension SHALL open its side preview beside an open built-in Markdown preview and leave that preview, its commands, the native text diff and every markdown.preview setting and style setting of the built-in Markdown preview as they were.
Another outcome at step 2 of path 1 in StRS-MDOKFSTUDIO-LIFE-001, in the state “A side preview is open beside the editor”.
Scenarios 4
The situations the tests check; open one to read it.
nominalBoth open
Giventhe built-in preview of preview.md open
Whenthe reader runs Open Preview to Side
Thenboth previews are open and the built-in commands such as markdown.showPreviewToSide and markdown.preview.refresh still exist
nominalStock settings snapshot
Givena snapshot of the built-in preview settings
Whenthe Studio side preview opens beside the built-in preview
Thenthe snapshot is equal
boundaryStudio settings
Givena change of a Studio setting
Whenit is saved
Thenno markdown.* key is written
boundaryNative diff
Givena text diff of two Markdown files while the Studio is installed
Whenthe reader opens it
Thenthe native text diff opens as usual (the test opens the diff before it runs a Studio command, so the extension is not yet active at that moment)