Closed hanneskaeufler closed 4 years ago
Playing with this a bit longer and reading the comments explaining the id
and for
parameters are going to be removed from the method, I think I agree with how this is working. We should probably alway use "user facing" identifiers (e.g. text or accessibility labels) to query for elements, and if I want to omit the label I better hide it in css.
I wonder if the
selectOption
helper is missing anall
selector-wrapper around the distinct selectors? https://github.com/avh4/elm-program-test/blob/master/src/ProgramTest.elm#L1291I am getting the following error when trying to fill in a
<select>
Granted I am not having any text inside the label (because this particular select will not get a label, but I guess that's something for another issue).