fixup! erp5_xhtml_style: add support for portal_status_level
See commit 0c2dd107.
-
Owner
@jm we still have tests failing, because this xpath expression doesn't match "transition_message transition_message_success" for example.
Looking at this stack overflow's answer, it seems you could use:
var psm_locator = "//div[contains(concat(' ', normalize-space(@class), ' '), ' transition_message ']";
-
Owner
for example https://lab.nexedi.com/nexedi/erp5/blob/ed44bee5fbbbe4698848dc2adcdd1ea29436ce90/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testGadgetEditPreferences.zpt#L33-38 (for sure) and maybe here https://lab.nexedi.com/nexedi/erp5/blob/da6255c71335544ec039022d4087178cb8cebfb6/bt5/erp5_corporate_identity_test/PathTemplateItem/portal_tests/corporate_identity_test_zuite/testAndUpdateTestLeafletTemplate.zpt#L141
I don't know why, but test do not seem to run until the end. There are some changes related to integer field validator that might also be causing test failures (I have not understood this yet)