kazurayam / materialstore

A domain-specific file system to store "materials" (screenshots, HTML, JSON, XML) collected during End-to-End testings using Selenium WebDriver etc. Features to make "diff" and compiling HTML reports are also included. This is written in pure Java8
Apache License 2.0
0 stars 0 forks source link

`store-backup/index` looks odd #394

Closed kazurayam closed 1 year ago

kazurayam commented 1 year ago

derived from https://github.com/kazurayam/inspectus/issues/66

I could create the store-backup/index.html file, but it looks odd.

スクリーンショット 2022-12-15 23 10 13
kazurayam commented 1 year ago

In the https://github.com/kazurayam/materialstore/blob/0.14.1/src/main/java/com/kazurayam/materialstore/base/report/IndexCreator.java

    public Path create() throws MaterialstoreException, IOException {
        /* create a data-model */
        ...
        dataModel.put("title", "store/index.html");
        ReportFileList rfl = new ReportFileList(store);
        dataModel.put("model", rfl.toTemplateModel());

A static text "store/index.html" is given. This is poorman's band-aid.

kazurayam commented 1 year ago

fixed at v0.14.2

スクリーンショット 2022-12-16 9 14 38