magento/magento2-functional-testing-framework

Test validation errors in error with 3.2.1

fooman opened this issue · 2 comments

Preconditions

  1. call action group from before with more than 1 argument

Steps to reproduce

        <before>
            <actionGroup ref="AdminAddSurchargeActionGroup" stepKey="addSurcharge">
                <argument name="paymentMethod" value="paypal_express"/>
                <argument name="amount" value="-2"/>
                <argument name="taxRate" value="Taxable Goods"/>
            </actionGroup>

Expected result

  1. should work as it did with the framework shipped with Magento 2.4.1

Actual result

In TestObjectHandler.php line 230: Test Data Parser Error: More than one node matching the query: /tests/test[@name='CheckoutWithPaypalExpressSurchargeAppliedTest']/before/actionGroup[@stepKey='addSurcharge']/argument

Hi @fooman. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


jilu1 commented

@fooman
We don't seem to have this issue in Magento tests. Is this still an issue?