Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "make label location strategy work with unescaped strings"
This reverts commit 4daf037. This was causing failures in the Weplay selenium suite, where we we're using partial matches. For example: fill_in "Write a message", ... When the markup was: <label>Write a message to Bryan ...</label>
- Loading branch information
9a42304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change actually breaks all my selenium tests where I'm searching for a label.
fill_in("Name:", :with => name) now fails but
fill_in("student_name", :with => name) works (basically using the id of the textfield still works).