Skip to content

MFTF: AdminAddingNewOptionsWithImagesAndPricesToConfigurableProductTest is failing in CI process #26610

Closed
@lbajsarowicz

Description

@lbajsarowicz

Summary (*)

When working with #26454 - I faced the failing test AdminAddingNewOptionsWithImagesAndPricesToConfigurableProductTest. Test outcome was completely unclear:
image

Also, ScreenShot wasn't helpful at all:
image

I started to investigate with adding full Exception message to the Notification:
image

As you see - it's trying to remove Product with ID = 5. But (!) the test hasn't created any Product with ID = 5:
image

So I got deeper - why it's actually trying to remove product ID = 5 and noticed that it's actually filtering product to remove:
image

... by product name that is empty!
image

That bug is caused by invalid handler introduced by Magento QA team and exists on other tests too - but by coincidence, the it's not overlapping with other test operating on the same data:

image

Examples (*)

Proposed solution

C'mon, fix it :-)

Metadata

Metadata

Assignees

Labels

Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Format is validGate 1 Passed. Automatic verification of issue format passedTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions