Skip to content

Conversation

@sydneyjodon-wk
Copy link
Contributor

@sydneyjodon-wk sydneyjodon-wk commented Jun 11, 2025

Motivation

Failures in wdesk_sdk_extensibility revealed that our hasDescription matcher breaks with special characters in the id - this is the same problem as discovered in consumer testing (see doc).

Changes

  • CSS escape the id that hasDescription uses in the querySelector
  • Add tests

Release Notes

Review

See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.

QA Checklist

Merge Checklist

While we perform many automated checks before auto-merging, some manual checks are needed:

  • A Frontend Frameworks Design member has reviewed these changes
  • There are no unaddressed comments - this check can be automated if reviewers use the "Request Changes" feature
  • For release PRs - Version metadata in Rosie comment is correct

@btr-rmconsole-1 btr-rmconsole-1 bot changed the title [hasDescription matcher] escape special characters in ids FED-3909 [hasDescription matcher] escape special characters in ids Jun 11, 2025
@sydneyjodon-wk sydneyjodon-wk marked this pull request as ready for review June 11, 2025 23:08
Copy link
Contributor

@greglittlefield-wf greglittlefield-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Would you mind adding a 3.1.1 changelog.md entry that notes this fix, since this will get auto-released upon merge?

@sydneyjodon-wk
Copy link
Contributor Author

ope! Good call @greglittlefield-wf ! I might see if I can make a PR to add something in CI to remind us 🤷‍♀️

Copy link
Contributor

@greglittlefield-wf greglittlefield-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+10 @Workiva/release-management-p

Copy link

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from RM

@btr-rmconsole-7 btr-rmconsole-7 bot merged commit 6afa333 into master Jun 16, 2025
14 checks passed
@btr-rmconsole-7 btr-rmconsole-7 bot deleted the r18-workaround-css-escape-id branch June 16, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants