You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The docs say the default screenshot location is
reports/screenshots
, but I get the following error when running:Explicitly setting
screenshotPath: 'reports/screenshots'
fixes the issue for me.The text was updated successfully, but these errors were encountered: