support links to files
I'm using mochawesome-report-generator with puppeteer and capturing DOM mhtml snapshots of failed tests. I'd like to link to the mhtml file, but only "http:" and "ftp:" URLs are treated as links. Note that even a "file:" link wouldn't work because I need to link to a relative path (the snapshot is copied into the report directory). I've also wanted this feature to do things like attach logfiles, tcpdumps, and similar non-text test artifacts.
Rather than trying to automatically detect relative file links, my suggestion would be to extend the object structure used to add context titles { title, value } to include an additional href property which can be used to link the value to that URL. So I could attach context like { value: './snapshot.mhtml', href: './snapshot.mhtml' }
I have virtually the same usecase where we need to support links to HAR files generated from Cypress. Would be greatly appreciated.
Same here
+1, we would like to attach selenium and HTTP logs to our tests