DEV: ensures click listeners are reset between tests (PR #13900)

GitHub

This is not causing any issue ATM, but this kind of global variables always end up bitting us at some point.

BTW I saw this in review but since there were no tests that added selectors I didn’t think it was necessary. I guess it can’t hurt to be careful though!

BTW I saw this in review but since there were no tests that added selectors I didn’t think it was necessary. I guess it can’t hurt to be careful though!

Yep agreed. The thing with these things is that issue happens years later and no ne remember about this and it sometimes creates the weirdest bugs, no one remember about it and we have to dig to find out.