-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
If a button has content inside it (for instance icon or a label) and that icon/label is clicked, then the selector returned is incorrect. For example consider the HTML
<button id="btn-id">
<span class="btn-icon-label">Button Label</span>
</button>
<div id="btn-id">
<button class="btn-icon-label">Button Label</button>
</div>
If any of the btn-icon-label is clicked, the sourceSelector returned is #btn-id button.btn-icon-label. This selector points to the second button indicating that the first button is not clicked.
To Reproduce
Steps to reproduce the behavior:
Added a failing test case for the same
Expected behavior
The correct selector should be sent to RUM for further analysis of the data. i.e. form button#guideContainer-rootPanel-panel-panel-panel_1038605610-panel-guidebutton_copy___widget .iconButton-label
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working