We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ec7bc commit d2206b1Copy full SHA for d2206b1
test/common/test-functions.js
@@ -113,8 +113,8 @@ window.ph_text = function(sel) {
113
114
// HACK: https://github.com/patternfly/patternfly-react/issues/11678
115
const el_copy = el.cloneNode(true);
116
- // find and clear .pf-v6-screen-reader subelements
117
- el_copy.querySelectorAll('.pf-v6-screen-reader').forEach(el => { el.textContent = '' });
+ // find and clear .pf-v6-screen-reader subelements for HelperText
+ el_copy.querySelectorAll('.pf-v6-c-helper-text__item-text > .pf-v6-screen-reader').forEach(el => { el.textContent = '' });
118
119
// 0xa0 is a non-breakable space, which is a rendering detail of Chromium
120
// and awkward to handle in tests; turn it into normal spaces
0 commit comments