Description
Summary (*)
When working with #26454 - I faced the failing test AdminAddingNewOptionsWithImagesAndPricesToConfigurableProductTest
. Test outcome was completely unclear:
Also, ScreenShot wasn't helpful at all:
I started to investigate with adding full Exception message to the Notification:
As you see - it's trying to remove Product with ID = 5. But (!) the test hasn't created any Product with ID = 5:
So I got deeper - why it's actually trying to remove product ID = 5 and noticed that it's actually filtering product to remove:
... by product name that is empty!
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:
Examples (*)
Proposed solution
C'mon, fix it :-)