[closure] Fix failing //javascript/atoms:test-* targets#16749
[closure] Fix failing //javascript/atoms:test-* targets#16749titusfortner merged 2 commits intoSeleniumHQ:trunkfrom
//javascript/atoms:test-* targets#16749Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
User description
And re-enable them in CI. These tests are only expected to pass when run with pinned browsers in the RBE.
PR Type
Bug fix
Description
Fix DOM visibility detection for text nodes with structural whitespace
Correct keyboard event handling for Firefox browsers
Fix form submission logic for Firefox engine version 93+
Update shadow DOM text extraction to handle multiple instances
Re-enable previously failing JavaScript atoms tests
Diagram Walkthrough
File Walkthrough
dom.js
Improve DOM visibility and shadow DOM text handlingjavascript/atoms/dom.js
whitespace (newlines, tabs)
structural characters
shadow host element
events.js
Fix keyboard event handling for Firefoxjavascript/atoms/events.js
otherwise
keyboard.js
Add Firefox 93+ version check for form submissionjavascript/atoms/keyboard.js
submission logic
shown_test.html
Update test assertions to use firstElementChildjavascript/atoms/test/shown_test.html
assertions
text_shadow_test.html
Fix shadow DOM setup for multiple element instancesjavascript/atoms/test/text_shadow_test.html
querySelectorAll
open-shadow-element instances
cleaned
.skipped-tests
Re-enable JavaScript atoms tests.skipped-tests
test-firefox-beta