-
Notifications
You must be signed in to change notification settings - Fork 31
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
TypeError: Cannot read property 'forEach' of undefined #7
Comments
Are your tests running ? Please try with this: change '/tmp/screenshots' to './tmp/screenshots' |
Same error. Without plugin:
With enabled plugin:
|
Same issue with similar config. |
Hello, Same issue here. I did some debugging and apparently it raises this error when you have nested suites ("describe" within an existing "describe") on a spec file. When I remove the nesting it works fine. Hope it helps. Cheers, |
Working on the same. For the time being , please write spec files in the following format in order to get the reports.
That means nested describe and it blocks are not supported by the plugin at the moment. |
+1 have same issue... |
I just experienced this attempting to update from 1.1.3 to 1.2.7 |
Hi there, try to use a brand new fork of this plugin - https://github.com/azachar/protractor-screenshoter-plugin, your problem should be fixed there. Could you please confirm it? Also, the fork comes with units and integrational tests, so if you provide with your config, protractor spec, it is easy to create a test case there. Have a look at links: plugin test config I hope I helped. Cheers, |
npm -v
2.15.1
node -v
v4.4.3
protractor --version
Version 3.2.2
npm install jasmine2-protractor-utils -g
[email protected] /usr/lib/node_modules/jasmine2-protractor-utils
protractor config
The text was updated successfully, but these errors were encountered: