magento / magento/magento2-functional-testing-framework

Test validation errors in error with 3.2.1

Open
#818 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

acknowledged needs community feedback
Dominant language
PHP
Stars
154
Forks
134
PR merge metrics
No merged PRs in 30d

Description

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

### Steps to reproduce

```






```

### Expected result

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

### Actual result

1.
```
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
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at TestObjectHandler.php line 230 and reproduce the failure using the shown actionGroup with multiple arguments. Compare the result with the framework shipped in Magento 2.4.1, focusing on the CheckoutWithPaypalExpressSurchargeAppliedTest data. Done means the test data parses without the multiple-node error and the expected validation behavior is restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.