You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now to find label or text with ' char (don't for example ;) i use steps like:
Then I should see "We don't send that"
Why we cannot add support for that char in all steps by default?
It's only one extra like: expected.gsub!("'", "\'")
Or maybe i miss something?
The text was updated successfully, but these errors were encountered:
I agree, it would be nice if strings were escaped for us.
We do this:
string_you_are_looking_for = escape_quotes(string_you_are_looking_for) which basically does the gsub you mention. escape_quotes is a method in query_helpers.rb.
jmoody
changed the title
Supporting ' charecter in labels/texts
Supporting ' character in labels/texts
Dec 2, 2014
Now to find label or text with ' char (don't for example ;) i use steps like:
Then I should see "We don't send that"
Why we cannot add support for that char in all steps by default?
It's only one extra like: expected.gsub!("'", "\'")
Or maybe i miss something?
The text was updated successfully, but these errors were encountered: