CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

Step-By-Step Report saves screenshots in wrong location

Open rockwalrus opened this issue 3 years ago • 1 comments

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

rockwalrus avatar Mar 24 '22 18:03 rockwalrus

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Dec 16 '23 02:12 github-actions[bot]