Open gregziegan opened 7 years ago
Likely that attribute is generated in a different way to what you'd expect. Because those attributes are namespaced, they might not be gathered in the same way. See this -> https://github.com/elm-lang/svg/blob/master/src/Svg/Attributes.elm#L1182
It looks like elm-html-test doesn't support namespaced attributes yet. Test.Html.Selector.attribute
doesn't handle namespaced attributes and will return an invalid selector, and other parts of the code also appear not to handle namespaces yet (though elm-html-in-elm does handle namespaces).
Does this test library also support testing svg view attributes?
Say I have this svg:
The
xlink:href
attribute does not show up in the failed test.Perhaps this is just a bug with certain svg attributes, and if so i can rename this issue/try to make a PR to fix the behavior.