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

Create the screenshot directory even if nothing writes a screenshot #74

Closed
wants to merge 8 commits into from

Conversation

Juandeldesierto
Copy link

due error

ENOENT: no such file or directory, open 'target/screenshots/report.html'
[chrome ANY #1-2] at Error (native)
[chrome ANY #1-2] at Object.fs.openSync (fs.js:640:18)
[chrome ANY #1-2] at Object.fs.writeFileSync (fs.js:1333:33)
[chrome ANY #1-2] at Object.fs.appendFileSync (fs.js:1392:6)
[chrome ANY #1-2] at Jasmine2ScreenShotReporter.jasmineDone (/var/lib/jenkins/workspace/PerModulePipeline-GavinTest/unified-analytics/node_modules/protractor-jasmine2-screenshot-reporter/index.js:500:10)
[chrome ANY #1-2] at dispatch (/var/lib/jenkins/workspace/PerModulePipeline-GavinTest/unified-analytics/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1966:28)
[chrome ANY #1-2] at ReportDispatcher.jasmineDone (/var/lib/jenkins/workspace/PerModulePipeline-GavinTest/unified-analytics/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1949:11)
[chrome ANY #1-2] at /var/lib/jenkins/workspace/PerModulePipeline-GavinTest/unified-analytics/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:758:18
[chrome ANY #1-2] at QueueRunner.clearStack (/var/lib/jenkins/workspace/PerModulePipeline-GavinTest/unified-analytics/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:660:9)
[chrome ANY #1-2] at QueueRunner.run (/var/lib/jenkins/workspace/PerModulePipeline-GavinTest/unified-analytics/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1881:12)

Juandeldesierto and others added 8 commits December 16, 2015 10:36
adding cleaning of special characters
adding shortening on long desc name
fix getting screenshots upon multiple failures
fix removal of creation of directory
Create the screenshot directory even if nothing writes a screenshot, …
@psaunders
Copy link

This would be handy

@mlison
Copy link
Owner

mlison commented Feb 7, 2017

oh, sorry I didn't notice this one. Could you please rebase from master?

@ericjperry
Copy link

@Juandeldesierto are you planning on rebasing this any time soon? It would be great to have this fix in.

@Juandeldesierto
Copy link
Author

Juandeldesierto commented May 18, 2017 via email

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

Successfully merging this pull request may close these issues.

5 participants