Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rockwalrus opened this issue Mar 24, 2022 · 1 comment · Fixed by #4331
Closed

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

rockwalrus opened this issue Mar 24, 2022 · 1 comment · Fixed by #4331
Labels

Comments

@rockwalrus
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant