-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'I press' step does not escape single quotes within text #137
Comments
ThrawnCA
added a commit
to qld-gov-au/ckanext-data-qld
that referenced
this issue
Jun 20, 2023
- There is a bug in Behaving that breaks this step when single quotes are used. Raised ggozad/behaving#137
would you like to contribute a fix for this @ThrawnCA |
@duttonw I don't have that access. Suggested diff:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is logic in
behaving/web/steps/links.py
to handle single quotes (which will disrupt XPath) within the specified link text, but this logic is not present in the 'I press "{name"}' step inbehaving/web/steps/forms.py
, so usage likewill fail with "Element not found".
The text was updated successfully, but these errors were encountered: