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
Fix JS tests failing on master #5031
Conversation
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.
Well, it definitely makes sense to migrate tests to divs
What test failure? URL? |
See also #5032. |
looks like they might not be run in CI, @StefanSpieker raised it in #5006. cd war && yarn test
|
It is also in CI build, but the build is not failing. See for example: PR-5030 build log |
https://ci.jenkins.io/job/Core/job/jenkins/job/master/2235/execution/node/45/log/?consoleFull shows the failure, but I think because we are passing |
Yes just found that, looking in to it |
Also FTR this has tripped us up in a release before, javascript linting was failing during release but not in CI, same cause I assume. |
RFE for it: I guess to fix this we might need to move running it outside of maven. |
eirslett/frontend-maven-plugin#564 Is some file created when tests pass that we can assert the existence of? |
I think we can configure a test reporter |
With |
Search for |
no no just a standard javascript one that emits junit results, almost done, testing locally. |
I've temp reverted the js unit test fix just to see it fail in CI, still need to look into lint errors as well to see if it's the same issue, (appears not but prob needs similar fixes) |
expediting so that we don't get a failed release tomorrow by forgetting to merge this... |
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.
Thanks for fixing this!
@@ -1,5 +1,6 @@ | |||
work | |||
/rebel.xml | |||
junit.xml |
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.
Would prefer to place it under target/
.
Apparently JS unit tests didn't cause the build to fail when
maven.test.failure.ignore
was set see #5031 (comment)