Open frawa opened 5 years ago
In some cases having keyed html nodes makes a functional difference, so we want to test for it.
I'd like to write something like
test "Keyed Button has the expected key" <| \_ -> Html.Keyed.node "button" [] [ ( "key1", Html.text "I'm a button!" ) ] |> Query.fromHtml |> Query.has [ Selector.key "key1" ]
In some cases having keyed html nodes makes a functional difference, so we want to test for it.
I'd like to write something like