Monday, November 10, 2025
1 change · saas-18.2
Enhancements to existing features
This update introduces a clearer way for Odoo’s automated tests to find exact text matches on screen. It is an internal improvement that makes test scripts easier to read and maintain, helping reduce future development friction without changing user-facing behavior.
Original PR description
This commit adds the ':text()' pseudo-class to the list of supported pseudo-classes in Hoot selectors. Its purpose is the same as ':contains()', with the specificity of being an *exact* match instead of a *partial* one. It effectively replaces ':contains(/^<expression>$/)' by ':text(<expression>)', improving the readability and making the developer experience a bit nicer. Enterprise: https://github.com/odoo/enterprise/pull/98772 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#234331