elm-html-test
elm-html-test copied to clipboard
Test elm-html in Elm!
Hi, I have a test that fails complaining about `Query.find always expects to find 1 element, but it found 2 instead.`. The HTML in question is actually generated from a...
This package has been moved to elm-explorations/test in Elm 0.19, and it would be useful if this was easily discoverable.
(This is extracted from https://github.com/eeue56/elm-html-test/issues/32.) Sometimes it’s useful to be able to extract an attribute on a found element, and use its value in a subsequent assertion or query. One...
Hey! I'm still getting started with tests so I'm easily confused. The [elm-explorations/test](https://package.elm-lang.org/packages/elm-explorations/test/1.2.1/) package exposes `Test.Html.Event`, `Test.Html.Query` and `Test.Html.Selector` with very similar API. Was this project merged with the other?...
As this package does not support elm 19 and the one at https://github.com/elm-explorations/test/ is now out of beta it makes sense to put a bit in the readme about the...
I am adding functions in avh4/elm-program-test to help verify correct implementation of links in single-page apps. To do this correctly, I need a way to test whether the onClick handler...
Elm 0.19
Hello! Do you intend to upgrade and maintain an Elm 0.19 version? I can try to contribute with PRs if needed.
Does this test library also support testing svg view attributes? Say I have this svg: ```elm viewImage : Int -> Int -> String -> Svg msg viewImage width height url...
I have a `table` with some CSS class. I use the same CSS class name to denote the `tr` and `td` elements in the table. When using `Query.find` to find...
elm-html-test 5.2.0 The following test should fail because the text "outside" is not within the "button" tag. But it currently passes. (Though strangely, `Query.hasNot` with the same selectors also passes.)...