-
Notifications
You must be signed in to change notification settings - Fork 469
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Describe the feature you'd like:
There is a <title>
element that can be rendered within an SVG element, see MDN, and would be nice to be considered when doing a getByTitle
assertion. Currently it does work with getByText
, but that might be incorrect considering it behaves more like a title attribute than text content.
If accepted, I will work up a PR adding support for it.
Suggested implementation:
Would need to find the <title>
element and ensure it's parent is a <svg>
element and allow that to be included in the assertion.
Describe alternatives you've considered:
We currently use getByText
as a selector.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed