You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Schema validation error complex type 'actionsRefType': The content model is not determinist" Error Thrown While Generating Tests #920
I'm trying to generate tests using a standalone instance of MFTF and Magento 2.4.7-p5, but I am getting this error. It's similar to this bug, which was fixed in Magento 2.4.8.
Here is the relevant portion of the linked error report:
PHP 31. DOMDocument->schemaValidate($filename = '/home/joseph/Development/Tools/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/mergedActionGroupSchema.xsd') /home/joseph/Development/Tools/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Config/Dom.php:298
FAILURE: Schema validation error complex type 'actionsRefType': The content model is not determinist.Line: 17
Expected Behavior
MFTF tests should generate without throwing errors.
Hi @JosephLeedy. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
I opened #931 for this. The optional sequence in actionsRefType starts with the returnTags group, whose return element is itself optional, which makes the content model ambiguous; libxml2 2.12+ rejects that. The PR makes return required inside the (still optional) sequence, so valid documents are unchanged.
Activity
m2-assistant commentedon May 2, 2025
Hi @JosephLeedy. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue:
@magento I am working on thisJoin Magento Community Engineering Slack and ask your questions in #github channel.
thai2301 commentedon Nov 19, 2026
I opened #931 for this. The optional sequence in
actionsRefTypestarts with thereturnTagsgroup, whosereturnelement is itself optional, which makes the content model ambiguous; libxml2 2.12+ rejects that. The PR makesreturnrequired inside the (still optional) sequence, so valid documents are unchanged.