Skip to content
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

GaugeJs does not remove the temp screenshot file. #255

Open
negiDharmendra opened this issue Oct 1, 2019 · 0 comments
Open

GaugeJs does not remove the temp screenshot file. #255

negiDharmendra opened this issue Oct 1, 2019 · 0 comments

Comments

@negiDharmendra
Copy link
Contributor

var proc = child_process.spawnSync("gauge_screenshot", [tmpfile]);

JS runner uses gauge_screenshot plugin to take screenshot on failure or when custom screenshot API is used. Which writes the screenshot data into provided temp file and GaugeJS reads that file and sends the screenshot data back to Gauge but does not remove the temp file.

Leaving those temp files around will be an issue for a large project with a lot of screenshots.

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

No branches or pull requests

1 participant