Skip to content

Commit 3d87b92

Browse files
authored
🔃 [Magento Community Engineering] Community Contributions
Accepted Community Pull Requests: - #26833: magento/magento2#: GraphQL. MergeCarts mutation. Add additional API-functional test cases (by @atwixfirster) - #26608: HOTFIX: #26607 Fix failing CI due to Functional Tests (by @lbajsarowicz) Fixed GitHub Issues: - #26607: MFTF: AdminReorderWithCatalogPriceTest is failing in CI process (reported by @lbajsarowicz) has been fixed in #26608 by @lbajsarowicz in 2.4-develop branch Related commits: 1. e6a3bee 2. e26a536 3. 075f9f4 4. dab9463 5. fe153fb 6. c9d83d7 7. 148011a 8. 2bdbf8b 9. 8450dc9 10. a2e16f3 11. e52bc2a 12. 548da89 13. ea4a31e 14. b130bd0 15. fc6fd62 16. a9fccdb 17. ed51b40 18. 8df79b0 19. 322e9d8 20. f16c97e 21. 5a202f8 22. 3eb92f5 23. 81cbfa2 24. b5141f4 25. d3eaa9e 26. 3588ab3
2 parents 16e22c5 + d7dbd9d commit 3d87b92

File tree

25 files changed

+180
-96
lines changed

25 files changed

+180
-96
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/AdminEditRelatedBundleProductTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
<conditionalClick selector="{{AdminProductFormRelatedUpSellCrossSellSection.relatedDropdown}}" dependentSelector="{{AdminProductFormRelatedUpSellCrossSellSection.relatedDependent}}" visible="false" stepKey="openDropDownIfClosedRelatedSee"/>
7171
<see selector="{{AdminProductFormRelatedUpSellCrossSellSection.selectedRelatedProduct}}" userInput="$$simpleProduct1.sku$$" stepKey="seeRelatedProduct"/>
7272

73+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
74+
7375
<!--See related product in storefront-->
7476
<amOnPage url="{{BundleProduct.sku}}.html" stepKey="goToStorefront"/>
7577
<waitForPageLoad stepKey="waitForStorefront"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontCheckBundleProductOptionTierPrices.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
</actionGroup>
4545
<actionGroup ref="logout" stepKey="logoutAsAdmin"/>
4646

47-
<!-- Run reindex -->
48-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
47+
<magentoCLI stepKey="runCronIndex" command="cron:run --group=index"/>
4948
</before>
5049
<after>
5150
<deleteData createDataKey="createBundleProductCreateBundleProduct" stepKey="deleteDynamicBundleProduct"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontCustomerSelectAndSetBundleOptionsTest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<actionGroup ref="LoginAsAdmin" stepKey="login"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
26+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
2527
</before>
2628
<after>
2729
<!-- Delete the bundled product -->
@@ -89,6 +91,10 @@
8991

9092
<!-- Save product and go to storefront -->
9193
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
94+
95+
<wait stepKey="waitBeforeIndexerAfterBundle" time="60"/>
96+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexerAfterBundle"/>
97+
9298
<amOnPage url="{{BundleProduct.sku}}.html" stepKey="goToStorefront"/>
9399
<waitForPageLoad stepKey="waitForStorefront"/>
94100
<click selector="{{StorefrontBundledSection.addToCart}}" stepKey="clickCustomize"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontEditBundleProductTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
<click stepKey="saveProductBundle" selector="{{AdminProductFormActionSection.saveButton}}"/>
6666
<see stepKey="assertSuccess" selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product."/>
6767

68+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
69+
6870
<!-- Go to the storefront bundled product page -->
6971
<amOnPage url="/{{BundleProduct.urlKey}}.html" stepKey="visitStoreFrontBundle"/>
7072
<waitForPageLoad stepKey="waitForStorefront"/>

app/code/Magento/Catalog/Test/Mftf/Data/ProductData.xml

Lines changed: 66 additions & 65 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
2828
<createData entity="SimpleProduct2" stepKey="simpleProduct5"/>
2929
<createData entity="SimpleProduct2" stepKey="simpleProduct6"/>
30+
31+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
3032
</before>
3133
<after>
3234
<!-- Delete simple product -->

app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/OpenCatalogPriceRuleActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<argument name="ruleName" type="string" defaultValue="CustomCatalogRule.name"/>
1414
</arguments>
1515
<amOnPage url="{{AdminCatalogPriceRuleGridPage.url}}" stepKey="goToAdminCatalogPriceRuleGridPage"/>
16+
<waitForPageLoad stepKey="waitForAdminCatalogPriceRuleGridPageLoad"/>
1617
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearExistingFilters"/>
1718
<fillField selector="{{AdminCatalogPriceRuleGridSection.filterByRuleName}}" userInput="{{ruleName}}" stepKey="filterByRuleName"/>
1819
<click selector="{{AdminDataGridHeaderSection.applyFilters}}" stepKey="clickSearch"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontOnePageCheckoutDataWhenChangeQtyTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<before>
2222
<!--Create a product-->
2323
<createData entity="SimpleProduct2" stepKey="createProduct"/>
24+
25+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
2426
</before>
2527
<after>
2628
<!--Delete created data-->

app/code/Magento/ConfigurableProduct/Test/Mftf/Data/ConfigurableProductData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
<requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity>
2424
</entity>
2525
<entity name="ApiConfigurableProduct" type="product">
26+
<data key="name" unique="suffix">API Configurable Product</data>
2627
<data key="sku" unique="suffix">api-configurable-product</data>
28+
<data key="urlKey" unique="suffix">api-configurable-product</data>
2729
<data key="type_id">configurable</data>
2830
<data key="attribute_set_id">4</data>
2931
<data key="visibility">4</data>
30-
<data key="name" unique="suffix">API Configurable Product</data>
31-
<data key="urlKey" unique="suffix">api-configurable-product</data>
3232
<data key="price">123.00</data>
3333
<data key="weight">2</data>
3434
<data key="status">1</data>

app/code/Magento/ConfigurableProduct/Test/Mftf/Section/StorefrontProductInfoMainSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="StorefrontProductInfoMainSection">
1212
<element name="optionByAttributeId" type="input" selector="#attribute{{var1}}" parameterized="true"/>
13+
<element name="selectableProductOptions" type="select" selector="#attribute{{var1}} option:not([disabled])" parameterized="true"/>
1314
<element name="productAttributeTitle1" type="text" selector="#product-options-wrapper div[tabindex='0'] label"/>
1415
<element name="productPrice" type="text" selector="div.price-box.price-final_price"/>
1516
<element name="productAttributeOptions1" type="select" selector="#product-options-wrapper div[tabindex='0'] option"/>

0 commit comments

Comments
 (0)