Skip to content

Commit c71fcc0

Browse files
committed
Merge remote-tracking branch 'origin/MC-29942' into 2.3-develop-pr103
2 parents edd2bc2 + 7a59435 commit c71fcc0

File tree

90 files changed

+347
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+347
-24
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminAssignProductAttributeToAttributeSetTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
<after>
3434
<deleteData createDataKey="attribute" stepKey="deleteAttribute"/>
3535
<actionGroup ref="logout" stepKey="logout"/>
36+
37+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
38+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
3639
</after>
3740

3841
<!-- Go to default attribute set edit page -->

app/code/Magento/Catalog/Test/Mftf/Test/AdminChangeProductAttributeSet.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
<deleteData createDataKey="createProductAttribute" stepKey="deleteProductAttribute"/>
4848
<deleteData createDataKey="createAttributeSet" stepKey="deleteAttributeSet"/>
4949
<actionGroup ref="ClearProductsFilterActionGroup" stepKey="clearProductsFilter"/>
50+
51+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
52+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
5053
</after>
5154

5255
<actionGroup ref="SearchForProductOnBackendActionGroup" stepKey="searchForSimpleProduct">

app/code/Magento/Catalog/Test/Mftf/Test/AdminCheckConfigurableProductPriceWithDisabledChildProductTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@
118118
<deleteData createDataKey="createConfigChildProduct3" stepKey="deleteConfigChildProduct3"/>
119119
<deleteData createDataKey="createConfigProductAttribute" stepKey="deleteAttribute"/>
120120
<actionGroup ref="logout" stepKey="logout"/>
121+
122+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
123+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
121124
</after>
122125

123126
<!-- Open Product in Store Front Page -->

app/code/Magento/Catalog/Test/Mftf/Test/AdminCheckCustomAttributeValuesAfterProductSaveTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
<deleteData createDataKey="createMultiSelectProductAttribute" stepKey="deleteMultiSelectProductAttribute"/>
4444
<!-- Logout from Admin page -->
4545
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
46+
47+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
48+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
4649
</after>
4750

4851
<!-- Open created product for edit -->

app/code/Magento/Catalog/Test/Mftf/Test/AdminConfigureProductImagePlaceholderTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
<deleteData createDataKey="productNoImages" stepKey="deleteProductNoImages"/>
6363
<deleteData createDataKey="productWithImages" stepKey="deleteProductWithImages"/>
6464
</after>
65-
65+
6666
<actionGroup ref="LoginAsAdmin" stepKey="loginToAdminArea"/>
67-
67+
6868
<!--Admin area: configure Product Image Placeholders-->
6969
<comment userInput="Configure product image placeholders in store config" stepKey="configurePlaceholderComment"/>
7070
<amOnPage url="{{CatalogConfigPage.url}}" stepKey="goToCatalogConfigurationPage"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateAttributeSetEntityTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<after>
2727
<deleteData createDataKey="createProductAttribute" stepKey="deleteProductAttribute"/>
2828
<deleteData createDataKey="createAttributeSet" stepKey="deleteAttributeSet"/>
29+
30+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
31+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
2932
</after>
3033

3134
<amOnPage url="{{AdminProductAttributeSetGridPage.url}}" stepKey="goToAttributeSets"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateDropdownProductAttributeVisibleInStorefrontAdvancedSearchFormTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
</before>
3636
<after>
3737
<actionGroup ref="logout" stepKey="logout"/>
38+
39+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
40+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
3841
</after>
3942

4043
<!-- Filter product attribute set by attribute set name -->

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateMultipleSelectProductAttributeVisibleInStorefrontAdvancedSearchFormTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<deleteData createDataKey="createAttributeSet" stepKey="deleteAttributeSet"/>
4242

4343
<actionGroup ref="logout" stepKey="logout"/>
44+
45+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
46+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
4447
</after>
4548

4649
<!-- Filter product attribute set by attribute set name -->

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateNewGroupForAttributeSetTest.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@
2828
<after>
2929
<deleteData createDataKey="createConfigProductAttribute" stepKey="deleteConfigProductAttribute"/>
3030
<actionGroup ref="logout" stepKey="logout"/>
31+
32+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
33+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
3134
</after>
32-
35+
3336
<!-- Navigate to Stores > Attributes > Attribute Set -->
3437
<amOnPage url="{{AdminProductAttributeSetGridPage.url}}" stepKey="goToAttributeSetPage"/>
3538
<waitForPageLoad stepKey="waitForPageLoad"/>
@@ -85,15 +88,15 @@
8588
<!-- Empty group is created. No attributes are assigned to it. -->
8689
<seeElement selector="{{AdminProductAttributeSetEditSection.attributeGroup(emptyGroup.name)}}" stepKey="assertEmptyGroup"/>
8790
<dontSeeElement selector="{{AdminProductAttributeSetEditSection.attributesInGroup(emptyGroup.name)}}" stepKey="seeNoAttributes"/>
88-
91+
8992
<!-- Navigate to Catalog > Products -->
9093
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="amOnProductPage"/>
9194
<waitForPageLoad stepKey="waitForProductPageLoad"/>
9295

9396
<!-- Start to create a new simple product with the custom attribute set from the preconditions -->
9497
<click selector="{{AdminProductGridActionSection.addProductBtn}}" stepKey="clickAddProduct"/>
9598
<waitForPageLoad stepKey="waitForNewProductPage"/>
96-
99+
97100
<actionGroup ref="AdminProductPageSelectAttributeSet" stepKey="selectAttribute">
98101
<argument name="attributeSetName" value="$$createAttributeSet.attribute_set_name$$"/>
99102
</actionGroup>

app/code/Magento/Catalog/Test/Mftf/Test/AdminDeleteConfigurableChildProductsTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
<deleteData createDataKey="createConfigProduct" stepKey="deleteConfigProduct"/>
8383
<deleteData createDataKey="createConfigProductAttribute" stepKey="deleteAttribute"/>
8484
<actionGroup ref="logout" stepKey="logout"/>
85+
86+
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
87+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
8588
</after>
8689
<!--Open Product in Store Front Page -->
8790
<amOnPage url="$$createConfigProduct.sku$$.html" stepKey="openProductInStoreFront"/>

0 commit comments

Comments
 (0)