As noted in T217802, we've had issues with changes to our help panel code resulting in incorrect event logging. We've documented some scenarios (https://meta.wikimedia.org/wiki/Schema_talk:HelpPanel) to attempt to reduce problems in the future, but it's not really sustainable to run through these scenarios for each change to our code, not to mention whenever external dependencies like VisualEditor and MobileFrontend are updated.
This task is an exploration of whether we can use Selenium tests to inspect mw.trackQueue and ensure that a core set of interactions with the help panel are logged correctly.
cc'ing @jlinehan as @MMiller_WMF mentioned you might be interested in this.