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

Cannot turn screenshot recording off #30

Closed
jhchen opened this issue Apr 4, 2014 · 2 comments
Closed

Cannot turn screenshot recording off #30

jhchen opened this issue Apr 4, 2014 · 2 comments

Comments

@jhchen
Copy link

jhchen commented Apr 4, 2014

If we set recordScreenshot to false this line https://github.com/karma-runner/karma-sauce-launcher/blob/master/lib/sauce_launcher.js#L72

'record-screenshots': args.recordScreenshots || config.recordScreenshots || true

still evaluates to true. I'm not sure why but passing in

sauceLabs: {
  options: {
    'record-screenshots': false
  }
}

is not a valid workaround so perhaps helper.merge has a similar issue.

@ChrisWren
Copy link
Contributor

The logic is wrong. I have a local branch fixing this which I haven't tested yet but will push by end of day today. Sorry about this.

@jhchen
Copy link
Author

jhchen commented Apr 4, 2014

No worries thanks for the quick response!

ChrisWren pushed a commit that referenced this issue Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants