-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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: highlight browser failures #5218
feat: highlight browser failures #5218
Conversation
setting package-lock.json back to last update added in sass and updated css class to use extend updated test files to expect sass
|
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.
Pending changes from original PR
FYI, I'm very new to contributing to mocha, so right now I'm still trying to just reproduce the issue. I've installed Chrome and |
Still struggling to get a passing case working with a local build of mocha.js, I'm only used to the default CLI reporter! But I think outline is a better way to go than background color, and some clear text/shape indicating pass or fail will work for colorblind folks as well. Not sure if we want to add an announcement to the HTML reporter if tests fail, but that sounds beyond the scope of this PR anyway. I'll continue working to get a passing example, fixup padding, and make any requested changes as well :) |
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.
Seems like a reasonable implementation for the proposed design at first. But I think we'll want to discuss a bit before settling on the design. Thanks for sending! ❤️
@@ -352,7 +377,7 @@ body { | |||
#mocha-stats :is(.progress-element, .progress-text) { | |||
width: var(--ring-container-size); | |||
display: block; | |||
top: 12px; | |||
top: 17px; |
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 was really hoping we wouldn't move UI elements around for this change. The taller this section, the less fits on the page in smaller viewports. A lot of people are accustomed to the placement as-is. Which is why I was hoping to discuss a bit in the backing issue (#4148 (review)) before having a PR author such as yourself go through the effort of implementing a more complex design. I'll post there.
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.
No worries, just wanted to get something looking good, let's discuss in the backing issue :)
Sorry, I had forked a fork instead of the main repo, it was becoming difficult to manage. Will open this as a separate PR shortly, don't worry :) |
Picking up where #4148 left off as I don't have push permissions to that fork.
Closes #792