Allow publishing manual tests as standalone files #7076
Labels
package:dev
resolution:expired
This issue was closed due to lack of feedback.
status:discussion
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Intro
How to reproduce
cp -r ~/CK/5/ckeditor5/build/.manual-tests ./manual-tests
manual-tests
is at the root of the web server, run some test e.g.http://localhost/manual-tests/ckeditor5-theme-lark/tests/manual/theme.html
in the browser.Expected
It works.
Actual
Paths to resources are absolute, e.g.
<script src="/ckeditor5-theme-lark/tests/manual/theme.js"></script>
Because of that, an error is thrown by the browser
GET http://localhost/ckeditor5-theme-lark/tests/manual/theme.js net::ERR_ABORTED
.Quick fix
Replacing all paths to the
.js
files with relative ones fixes the problemBonus
It would also be great if there was an index of manual tests generated in
.manual-tests/index.html
(or whatever), just likehttp://localhost:8125/
.The text was updated successfully, but these errors were encountered: