Fix HighlighterTestActor#clickPausedDebuggerOverlayButton
Categories
(DevTools :: Framework, task, P3)
Tracking
(Not tracked)
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
As we want to interact with elements rendered through CanvasFrameAnonymousContentHelper , we can't just juste EventUtils or grab the element reference to click on it.
At the moment, we directly call the actor handleEvent method, faking the target so it matches what we would actually get:
https://searchfox.org/mozilla-central/rev/702199bca53babc925e47fd8f86ed56487d42492/devtools/client/shared/test/highlighter-test-actor.js#367-384
The issue is that we might be in a state where events can't be handled, and regression can go unnoticed (like for Bug 1742107).
Let's try to be creative and find a way to follow more closely the flow of operation that we have when a user interacts with the buttons.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Framework' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•