Skip to content

Commit 4bb1163

Browse files
committed
MC-18487: Merge release branch into 2.2-develop
- Fixed unit test for MC-18282
1 parent f16a0bf commit 4bb1163

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminProductActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373

7474
<!-- Save product but do not expect a success message -->
7575
<actionGroup name="SaveProductFormNoSuccessCheck" extends="saveProductForm">
76+
<remove keyForRemoval="waitProductSaveSuccessMessage"/>
7677
<remove keyForRemoval="seeSaveConfirmation"/>
7778
</actionGroup>
7879

app/code/Magento/Downloadable/Test/Mftf/Test/AdminCreateDownloadableProductWithInvalidDomainLinkUrlTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
<argument name="index" value="0"/>
2727
</actionGroup>
2828
<actionGroup ref="SaveProductFormNoSuccessCheck" stepKey="saveProduct"/>
29-
<see selector="{{AdminProductMessagesSection.errorMessage}}" userInput="Link URL's domain is not in list of downloadable_domains in env.php." stepKey="seeLinkUrlInvalidMessage" after="saveProduct" />
29+
<waitForElementVisible selector="{{AdminMessagesSection.errorMessage}}" stepKey="waitForLinkUrlInvalidMessage" after="saveProduct"/>
30+
<see selector="{{AdminProductMessagesSection.errorMessage}}" userInput="Link URL's domain is not in list of downloadable_domains in env.php." stepKey="seeLinkUrlInvalidMessage" after="waitForLinkUrlInvalidMessage" />
3031
<magentoCLI stepKey="addDownloadableDomain2" command="downloadable:domains:add static.magento.com" after="seeLinkUrlInvalidMessage" />
3132
<actionGroup ref="fillMainProductFormNoWeight" stepKey="fillDownloadableProductFormAgain" after="addDownloadableDomain2">
3233
<argument name="product" value="DownloadableProduct"/>

0 commit comments

Comments
 (0)