Skip to content

Commit da77650

Browse files
authored
AC-7386 | [MFTF TESTS] StorefrontAddProductToCartVerifyThatErrorMessageShouldNotDisappearTest
Test Fix
1 parent b90bf99 commit da77650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/StorefrontAssertProductAddToCartErrorMessageActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<arguments>
1212
<argument name="message" type="string" defaultValue=""/>
1313
</arguments>
14-
<waitForElementVisible selector="{{StorefrontMessagesSection.error}}" stepKey="waitForProductAddedMessage"/>
15-
<see selector="{{StorefrontMessagesSection.error}}" userInput="{{message}}" stepKey="seeAddToCartErrorMessage"/>
14+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForProductAddedMessage"/>
15+
<waitForText selector="{{StorefrontMessagesSection.error}}" userInput="{{message}}" stepKey="seeAddToCartErrorMessage"/>
1616
</actionGroup>
1717
</actionGroups>

0 commit comments

Comments
 (0)