Richard Feldman
Richard Feldman
Oh yeah, I believe that's true!
> So at a minimum, we would want a way to detect that the `Msg` playback may fail, and ask the user whether they would like to proceed anyway. Totally...
This seems easy enough to implement, but I'm curious about the use case - are there tests we currently can't write without this?
Sorry! Maybe a better way to say it would be: is there a reason searching for the `click` handler would be better than searching based on the text `"Click me"`,...
Cool, thanks for clarifying @avh4! This motivation makes sense to me. I'm planning to implement this on our next Hackday, which is Friday. Any objections @eeue56?
Yep! See https://github.com/elm-explorations/test/issues/13 ~If you'd like to contribute a PR there to move things over, I would be happy to review it! ❤️~ (EDIT: whoops, never mind! See next comment....
Oops, sorry! My mistake. 😅
See https://github.com/elm-explorations/test/pull/41
Makes sense to me! I'm familiar with this use case from Capybara tests. What about this for an API? ```elm textMatching : (String -> Bool) -> Selector textContaining : String...
I just realized that my proposed `textContaining` is actually how `text` currently works. This means it's not currently possible to search for (for example) an empty text node, e.g. `text...