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

Test validation errors in error with 3.2.1

Open fooman opened this issue 4 years ago • 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

fooman avatar Feb 03 '21 07:02 fooman

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


m2-assistant[bot] avatar Feb 03 '21 07:02 m2-assistant[bot]

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

jilu1 avatar May 17 '21 20:05 jilu1