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

Wrong default screenshot location #16

Open
rkistner opened this issue Oct 6, 2016 · 1 comment
Open

Wrong default screenshot location #16

rkistner opened this issue Oct 6, 2016 · 1 comment

Comments

@rkistner
Copy link

rkistner commented Oct 6, 2016

The docs say the default screenshot location is reports/screenshots, but I get the following error when running:

[protractor] Error: Error: ENOENT: no such file or directory, scandir '.reports/screenshots'
    at Error (native)
    at Object.fs.readdirSync (fs.js:808:18)
    at .../node_modules/jasmine2-protractor-utils/reporter/jasmine2_reporter.js:126:34
    at Array.forEach (native)
    at [object Object].self.jasmineDone (.../node_modules/jasmine2-protractor-utils/reporter/jasmine2_reporter.js:108:16)
    at dispatch .../node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1966:28)
    at ReportDispatcher.jasmineDone (.../node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1949:11)
    at .../node_modules/jasmine-core/lib/jasmine-core/jasmine.js:758:18
    at QueueRunner.clearStack (.../node_modules/jasmine-core/lib/jasmine-core/jasmine.js:660:9)
    at QueueRunner.run (.../node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1881:12)

Explicitly setting screenshotPath: 'reports/screenshots' fixes the issue for me.

@azachar
Copy link

azachar commented Nov 6, 2016

Hi @rkistner,
try my fork, I am using the latest dependencies there. So your issues might be already solved there - https://github.com/azachar/protractor-screenshoter-plugin.

Cheers,
Andrej

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