Skip to content

Test validation errors in error with 3.2.1 #818

Open
@fooman

Description

@fooman

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions