Skip to content

Commit 88a8395

Browse files
committed
MC-22083: MFTF tests stabilization - DisplayRefreshCacheAfterChangingCategoryPageLayoutTest MC-17031
1 parent a0aa65e commit 88a8395

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/AdminSaveCustomerAddressActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1010
<actionGroup name="AdminSaveCustomerAddressActionGroup">
1111
<click selector="{{StorefrontCustomerAddressFormSection.saveAddress}}" stepKey="saveCustomerAddress"/>
12-
<see selector="{{AdminMessagesSection.success}}" userInput="You saved the address." stepKey="seeSuccessMessage"/>
12+
<see selector="{{StorefrontMessagesSection.success}}" userInput="You saved the address." stepKey="seeSuccessMessage"/>
1313
</actionGroup>
1414
</actionGroups>

app/code/Magento/ImportExport/Test/Mftf/Test/AdminImportProductsWithDeleteBehaviorTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
<attachFile selector="{{AdminImportMainSection.selectFileToImport}}" userInput="catalog_products.csv" stepKey="attachFileForImport"/>
4848
<click selector="{{AdminImportHeaderSection.checkDataButton}}" stepKey="clickCheckDataButton"/>
4949
<click selector="{{AdminImportMainSection.importButton}}" stepKey="clickImportButton"/>
50-
<see selector="{{AdminMessagesSection.success}}" userInput="Import successfully done" stepKey="assertSuccessMessage"/>
51-
<see selector="{{AdminMessagesSection.notice}}" userInput="Created: 0, Updated: 0, Deleted: 3" stepKey="assertNotice"/>
50+
<see selector="{{AdminImportValidationMessagesSection.success}}" userInput="Import successfully done" stepKey="assertSuccessMessage"/>
51+
<see selector="{{AdminImportValidationMessagesSection.notice}}" userInput="Created: 0, Updated: 0, Deleted: 3" stepKey="assertNotice"/>
5252
<actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchSimpleProductOnBackend">
5353
<argument name="product" value="$$createSimpleProduct$$"/>
5454
</actionGroup>

app/code/Magento/Sales/Test/Mftf/Page/AdminOrderCreatePage.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
<section name="AdminOrderFormTotalSection"/>
2020
<section name="AdminOrderFormStoreSelectorSection"/>
2121
<section name="AdminOrderFormDiscountSection"/>
22+
<section name="AdminOrderFormMessagesSection"/>
2223
</page>
2324
</pages>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
11+
<section name="AdminOrderFormMessagesSection">
12+
<element name="success" type="text" selector="#order-message div.message-success"/>
13+
<element name="error" type="text" selector="#order-message div.message-error"/>
14+
</section>
15+
</sections>

app/code/Magento/Sales/Test/Mftf/Test/AdminFreeShippingNotAvailableIfMinimumOrderAmountNotMatchOrderTotalTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<!--Submit Order and verify that Order isn't placed-->
5858
<click selector="{{AdminOrderFormActionSection.SubmitOrder}}" stepKey="clickSubmitOrder"/>
5959

60-
<dontSeeElement selector="{{AdminMessagesSection.success}}" stepKey="seeSuccessMessage"/>
61-
<seeElement selector="{{AdminMessagesSection.error}}" stepKey="seeErrorMessage"/>
60+
<dontSeeElement selector="{{AdminOrderFormMessagesSection.success}}" stepKey="seeSuccessMessage"/>
61+
<seeElement selector="{{AdminOrderFormMessagesSection.error}}" stepKey="seeErrorMessage"/>
6262
</test>
6363
</tests>

0 commit comments

Comments
 (0)