Maybe we should extend the 'marked' capability to just to also have 'markedExactly' or something else to check that.
In the mean time, you could do the checking on the Ruby side for an exact match... written without running, but something like:
views = frankly_map("view", "accessibilityLabel")
views.each do |view|
# check exact match here
end
- Stew
I agree that the substring matching by default is annoying. We inherited this from UISpec, and unfortunately at this point it would break too much stuff if we changed the semantics. I like Stew's suggestion of a new markedExactly: method on UIQuery.
Cheers,
Pete
--
Typed on a teeny tiny keyboard