-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat: add support for jasmine-spec-reporter (displayStacktrace: true) #70
Conversation
@NickTomlin there seems to be a bug either in your transpile, or my brain, because my change here is not making it into the dist folder. My money's on my brain 'cause I don't totally get what you're doing here. It works in isolation (eg. when I run the unit tests), but it's not updating the That said, this simple change should fix #54 that folks (and myself) are having. |
Awesome! Could you add a spec for this? I'll take a transpilation stuff. Update: it's building for me locally. What happens when you run |
Ahhh... so this is an issue with You want me to update the protractor version, or just add the output and a unit test (which I'm trying to figure out what the hell you're doing in there :) )? Update: oh, and the transpile issue was just while I was debugging via |
I'd add a unit test but feel free to bump the protractor version while you are at it. |
(also asked on Gitter)
but it's failing with this error:
What am I doon wrong? |
Got it... was just braindumb. Ready for review, Nick... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some very minor changes. Other than that this looks great!
My commit linter is being super unhelpful and breaking the build so I can merge this in myself once you've updated.
@@ -0,0 +1,51 @@ | |||
'use strict'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd remove this file unless we need it since (we don't have an integration test that actually uses it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool... wasn't sure if you wanted a repeatable conf for the future [WOOSH SOUND]. The answer is no :) It's gone.
package.json
Outdated
@@ -37,10 +37,11 @@ | |||
"cookie-parser": "^1.3.5", | |||
"express": "^4.13.1", | |||
"express-session": "^1.11.3", | |||
"jasmine-spec-reporter": "^4.2.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this dependency actually needed? I'm fine with omitting it since we have generated the static test output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not now that the conf using it is gone
Tnx for this PR, I didn't had the time to look at this because the sun didn't let me (something called vacation 😁). Maybe something not in scope of this change, but is there a way in Jasmine that we can log a line of text to the console on every failed test? That would make the reading of the log for protractor-flake much easier. Currently working on that for the CucumberJS parser |
@wswebcreation yeah, definitely out of scope for this pr, but would be easy enough to do... @NickTomlin all wrapped up. Though one last question... do we want this fix in |
I would advice to also fix the multi Secondly, if it's easy to fix for Jasmine with a logline, can you give me a direction so I can create aPR for CucumberJS and Jasmine with examples? |
@wswebcreation @wswebcreation great point on multi, I always forget about that one :( I think we should! It would be interesting to expose separate reporters for jasmine/cucumber that do this logging. Let's keep that discussion going in another PR. Do one of you want to open up an issue to track it? |
Will create an issue for this |
@NickTomlin cool... that was easy, as the |
I've gone ahead and removed conventional changelog linting on master, so could you rebase to re-run the integration tests? In my other runs it seems like bumping protractor breaks the integration tests. We should either fix them or downgrade for now and bump later. Edit: we can bump the version but we'll need to drop node 4+5 from the builds (and we should probably add |
I went ahead and made these changes myself and merged this in. Thanks! |
Cool... thanks Nick! |
Adds support for jasmine-spec-reporter to
standard
parser. Also, very likely resolves #54