I've got the tests running now. 3 fail. I'm guessing this is because the internal representation of the DOM has changed as Elm has changed? It seems the attribute "width" is being treated differently to other attributes. Would it be correct to just adjust the tests to match what they are outputting and take that as correct?
Running 53 tests. To reproduce these results, run: elm-test --seed 466964471
↓ BasicTests
✗ empty divs with many attributes get attributes as a string
"<div class=\"dog\" value=\"cat\"></div>"
╷
│ Expect.equal
╵
"<div class=\"dog\" value=\"cat\" width=\"50\"></div>"
↓ BasicTests
✗ empty divs with many attributes are decoded to empty div nodes with attributes
NodeEntry { tag = "div", children = [], facts = { styles = Dict.fromList [], events = Nothing, attributes = Just { width = "50" }, attributeNamespace = Nothing, stringOthers = Dict.fromList [("className","dog"),("value","cat")], boolOthers = Dict.fromList [] }, descendantsCount = 0 }
╷
│ Expect.equal
╵
NodeEntry { tag = "div", children = [], descendantsCount = 0, facts = { styles = Dict.fromList [], events = Nothing, attributes = Nothing, attributeNamespace = Nothing, stringOthers = Dict.fromList [("className","dog"),("value","cat"),("width","50")], boolOthers = Dict.fromList [] } }
↓ BasicTests
✗ query by attribute finds all nodes
[]
╷
│ Expect.equal
╵
[NodeEntry { tag = "div", children = [], descendantsCount = 0, facts = { styles = Dict.fromList [], events = Nothing, attributes = Nothing, attributeNamespace = Nothing, stringOthers = Dict.fromList [("className","dog"),("value","cat"),("width","50")], boolOthers = Dict.fromList [] } }]
TEST RUN FAILED
Duration: 43 ms
Passed: 50
Failed: 3