magento2-functional-testing-framework icon indicating copy to clipboard operation
magento2-functional-testing-framework copied to clipboard

"Schema validation error complex type 'actionsRefType': The content model is not determinist" Error Thrown While Generating Tests

Open JosephLeedy opened this issue 9 months ago • 1 comments

Actual Behavior

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.

Additional Details

OS Version: Fedora 41 Magento Version: 2.4.7-p5 MFTF Version: 5.0.4 (Standalone) PHP Version: 8.3.19 LibXML Version:: libxml2.x86_64 2.12.10-1.fc41*

* Full list of XML libraries:

$ dnf list installed "libxml*"   
Updating and loading repositories:
Repositories loaded.
Installed packages
libxml++.x86_64                                   2.42.3-4.fc41                      fedora
libxml2.i686                                      2.12.10-1.fc41                     <unknown>
libxml2.x86_64                                    2.12.10-1.fc41                     <unknown>
libxml2-devel.x86_64                              2.12.10-1.fc41                     <unknown>
libxmlb.x86_64                                    0.3.22-1.fc41                      <unknown>

JosephLeedy avatar May 02 '25 16:05 JosephLeedy