Popup for ctx in html reports is finicky · Issue #855 · nedbat/coveragepy (original) (raw)

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 the ctx 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 another ctx would close all other popups.