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

TargetCSVParser should support "1st row as header" setup #365

Closed kazurayam closed 1 year ago

kazurayam commented 1 year ago

Currently https://github.com/kazurayam/materialstore/blob/main/base/src/main/java/com/kazurayam/materialstore/base/materialize/TargetCSVParser.java does not have a setup "regard the 1st rows as header".

It should accept the following file

url,handle
http://demoaut-mimic.kazurayam.com/,//footer

and recognize an object like the following JSON:

[
    {
        "url": "http://demoaut-mimic.kazurayam.com/",
        "handle": "//footer"
    }
]
kazurayam commented 1 year ago

TargetCSV parser was moved to the inspectus project.

It was deprected.

SitemapLoader class supports "1st row as header"