magento / magento/magento2-functional-testing-framework
Test validation errors in error with 3.2.1
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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