Skip to content

Step-By-Step Report saves screenshots in wrong location #3277

Closed
@rockwalrus

Description

@rockwalrus

What are you trying to achieve?

For the Step-By-Step Report, I'm trying to set the screenshots to be output in a custom location.

What do you get instead?

records.html and record_hash/index.html are in the expected location, but the record_hash/number.png files are still in the default output location.

I suspect this is because the path for the screenshots passed to the helper is made relative to reportDir on line 144, but it's being interpreted by the helper relative to its output location.

Details

  • CodeceptJS version: 3.2.3
  • NodeJS Version: 16.13.0
  • Operating System: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions