-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Popup for ctx in html reports is finicky #855
Comments
You are right, it's not good the way it is now. I'll try to improve it. |
Thanks, and I'm really looking forward to the 5.0 release. The context feature is great. |
I did a big refactor of how the HTML report markup is structured, as of a58a8ab. Give it a try. |
Oops, forgot to check the two together. Fixed in 168f1e7. Thanks for the quick feedback! :) |
Of course. Thanks again. |
This finished version of this is available in 5.0b1: https://pypi.org/project/coverage/5.0b1/ |
Describe the bug
For HTML reports, the popup for the new "Who Tests What"
ctx
element can be a bit finicky. If you attempt to mouse over the popup box (e.g., to copy the list of test names), the popup will close, as you are no longer hovering over thectx
element. If you move the mouse quickly, you may be able to hover over the popup before it disappears, but this is unreliable and annoying.Video
https://i.imgur.com/Zsgb3AA.mp4
The report was built using coverage v5.0a8
Expected behavior
I should be able to reliably mouse over the ctx popup so I can copy the list of test functions.
One possible solution: clicking the
ctx
element could pin/unpin its popup. Clicking anotherctx
would close all other popups.The text was updated successfully, but these errors were encountered: