Skip to content

Cannot handle correctly attachments with the same name in different subfolders #25

Description

@ChrisLMerrill

I have a test framework that writes detailed diagnostics out for every test. It does this in a subfolder for each test and, by design, some of the files, like the event log and the screenshots tend to have the same name in each folder. I used the "write out the filename" method to identify these attachments for this plugin to attach to the report.

I have found that the attachment links that appear in the report frequently do not link to the correct files. I believe I have also confirmed by the source code that this bug is due to using only the filename portion of a FilePath to identify the attachment, rather than the entire path.

I plan to develop a patch for this...so if anyone listening on the project has an opinion or advice on this, I welcome the input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions