Skip to content

Stack traces for Jasmine2 don't include asynchronous events #15

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

Closed
juliemr opened this issue Jan 30, 2015 · 4 comments
Closed

Stack traces for Jasmine2 don't include asynchronous events #15

juliemr opened this issue Jan 30, 2015 · 4 comments

Comments

@juliemr
Copy link
Member

juliemr commented Jan 30, 2015

None of the ===async task=== stuff is getting added to the reported stack traces.

@juliemr
Copy link
Member Author

juliemr commented Jan 30, 2015

Specifically, this is when an error is thrown, such as element(by.binding('nonexistant')).click()

@juliemr
Copy link
Member Author

juliemr commented Jan 30, 2015

See also jasmine/jasmine#734

@donaldpipowitch
Copy link

Note sure if this is related but, when I use Jasmine 2 I get stack traces like this:

  Message:
    Failed: undefined is not a function
  Stack:
    Error: Failed: undefined is not a function
        at /my-app/node_modules/protractor/node_modules/jasminewd2/index.js:104:16

While Jasmine 1 has this stack trace:

   Message:
     TypeError: undefined is not a function
   Stacktrace:
     TypeError: undefined is not a function
    at [object Object].<anonymous> (/my-app/src/file_e2e.js:31:29)

@juliemr
Copy link
Member Author

juliemr commented May 15, 2015

This is fixed with the upgrade to 2.3.1

@juliemr juliemr closed this as completed May 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants