Skip to content

Commit 24cb7ac

Browse files
🔃 [Magento Community Engineering] Community Contributions - 2.4-develop latest changes
Accepted Community Pull Requests: - #31212: Fixed #31211 (by @elisei) - #30938: ISSUE-29690: Fixing issue when the images' sort was using ID instead of position field (by @viniciusbordinhao-blueacorn) - #31157: Fix #30724 - Customer Account Edit controller action enforces Page Title to "Account Information" (by @Bartlomiejsz) - #30990: Allow to generate big number of customer on galera cluster (by @kandy) - #30959: Add regions for Albania,Denmark,Greece,Iceland,Portugal and Sweden (by @nikolalardev) - #31166: Adjust .editorconfig to correct the automatic formatting of db_schema_whitelist.json files (by @DmitryFurs) - #31420: [MFTF] Updating with StorefrontHoverProductOnCategoryPageActionGroup (by @AnnaAPak) - #31433: Replace repetitive actions with Action Groups in AdminCheckConfigurableProductPriceWithDisabledChildProductTest (by @kate-kyzyma) Fixed GitHub Issues: - #31211: [Vault] Template term is not translatable (reported by @elisei) has been fixed in #31212 by @elisei in 2.4-develop branch Related commits: 1. 9cae620 2. a180886 - #29690: Magento 2 product YouTube video is not playing for the simple products within a configurable product (reported by @MagDevX) has been fixed in #30938 by @viniciusbordinhao-blueacorn in 2.4-develop branch Related commits: 1. e3276fc 2. db17e70 3. 24adb14 4. bd6411f 5. 1b11a71 6. acf585f 7. 7871905 - #30724: Customer Account Edit controller action enforces Page Title to "Account Information" (reported by @ericmorand) has been fixed in #31157 by @Bartlomiejsz in 2.4-develop branch Related commits: 1. 92e9422 - #31038: [Issue] Allow to generate big number of customer on galera cluster (reported by @m2-assistant[bot]) has been fixed in #30990 by @kandy in 2.4-develop branch Related commits: 1. 6e5d886 - #31040: [Issue] Add regions for Albania,Denmark,Greece,Iceland,Portugal and Sweden (reported by @m2-assistant[bot]) has been fixed in #30959 by @nikolalardev in 2.4-develop branch Related commits: 1. 0a27db2 2. 876e37b 3. bcbf38d 4. 8e1d2d7 5. c172dc1 6. 93b1d30 7. 5609fd2 8. bf6715d 9. d225a17 10. 229ecee 11. e8cec3b - #31171: [Issue] Adjust .editorconfig to correct the automatic formatting of db_schema_whitelist.json files (reported by @m2-assistant[bot]) has been fixed in #31166 by @DmitryFurs in 2.4-develop branch Related commits: 1. 5919457 - #31440: [Issue] [MFTF] Updating with StorefrontHoverProductOnCategoryPageActionGroup (reported by @m2-assistant[bot]) has been fixed in #31420 by @AnnaAPak in 2.4-develop branch Related commits: 1. 22ca921 - #31438: [Issue] Replace repetitive actions with Action Groups in AdminCheckConfigurableProductPriceWithDisabledChildProductTest (reported by @m2-assistant[bot]) has been fixed in #31433 by @kate-kyzyma in 2.4-develop branch Related commits: 1. a609945
2 parents fadbf69 + d2dd4ae commit 24cb7ac

File tree

30 files changed

+921
-70
lines changed

30 files changed

+921
-70
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ indent_size = 2
1616

1717
[{composer, auth}.json]
1818
indent_size = 4
19+
20+
[db_schema_whitelist.json]
21+
indent_size = 4
22+
trim_trailing_whitespace = false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="cartClickCategory"/>
7171

7272
<!--Click add to cart-->
73-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
73+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
7474
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addProductToCart"/>
7575

7676
<!--Check for details page-->

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

Lines changed: 75 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -124,62 +124,108 @@
124124
</after>
125125

126126
<!-- Open Product in Store Front Page -->
127-
<amOnPage url="$$createConfigProduct.sku$$.html" stepKey="openProductInStoreFront"/>
128-
<waitForPageLoad stepKey="waitForProductToLoad"/>
127+
<actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="openProductInStoreFront">
128+
<argument name="product" value="$createConfigProduct$"/>
129+
</actionGroup>
130+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForProductToLoad"/>
129131

130132
<!-- Verify category,Configurable product and initial price -->
131-
<seeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="seeCategoryInFrontPage"/>
132-
<see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="$$createConfigProduct.name$$" stepKey="seeProductNameInStoreFront"/>
133-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct1.price$$" stepKey="seeInitialPriceInStoreFront"/>
133+
<actionGroup ref="StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey="seeCategoryInFrontPage">
134+
<argument name="categoryName" value="$$createCategory.name$$"/>
135+
</actionGroup>
136+
<actionGroup ref="StorefrontAssertProductNameOnProductPageActionGroup" stepKey="seeProductNameInStoreFront">
137+
<argument name="productName" value="$$createConfigProduct.name$$"/>
138+
</actionGroup>
139+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeInitialPriceInStoreFront">
140+
<argument name="productPrice" value="$$createConfigChildProduct1.price$$"/>
141+
</actionGroup>
134142
<actionGroup ref="StorefrontAssertProductSkuOnProductPageActionGroup" stepKey="seeProductSkuInStoreFront">
135143
<argument name="productSku" value="$$createConfigProduct.sku$$"/>
136144
</actionGroup>
137-
<see selector="{{StorefrontProductInfoMainSection.productStockStatus}}" userInput="In Stock" stepKey="seeProductStatusInStoreFront"/>
145+
<actionGroup ref="AssertStorefrontProductStockStatusOnProductPageActionGroup" stepKey="seeProductStatusInStoreFront">
146+
<argument name="productStockStatus" value="In Stock"/>
147+
</actionGroup>
138148

139149
<!-- Verify First Child Product attribute option is displayed -->
140150
<see selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption1.label$$" stepKey="seeOption1"/>
141151

142152
<!-- Select product Attribute option1, option2 and option3 and verify changes in the price -->
143-
<selectOption selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption1.label$$" stepKey="selectOption1"/>
144-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct1.price$$" stepKey="seeChildProduct1PriceInStoreFront"/>
145-
<selectOption selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption2.label$$" stepKey="selectOption2"/>
146-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct2.price$$" stepKey="seeChildProduct2PriceInStoreFront"/>
147-
<selectOption selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption3.label$$" stepKey="selectOption3"/>
148-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct3.price$$" stepKey="seeChildProduct3PriceInStoreFront"/>
149-
153+
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectOption1">
154+
<argument name="attributeLabel" value="$$createConfigProductAttribute.default_value$$"/>
155+
<argument name="optionLabel" value="$$getConfigAttributeOption1.label$$"/>
156+
</actionGroup>
157+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeChildProduct1PriceInStoreFront">
158+
<argument name="productPrice" value="$$createConfigChildProduct1.price$$"/>
159+
</actionGroup>
160+
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectOption2">
161+
<argument name="attributeLabel" value="$$createConfigProductAttribute.default_value$$"/>
162+
<argument name="optionLabel" value="$$getConfigAttributeOption2.label$$"/>
163+
</actionGroup>
164+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeChildProduct2PriceInStoreFront">
165+
<argument name="productPrice" value="$$createConfigChildProduct2.price$$"/>
166+
</actionGroup>
167+
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectOption3">
168+
<argument name="attributeLabel" value="$$createConfigProductAttribute.default_value$$"/>
169+
<argument name="optionLabel" value="$$getConfigAttributeOption3.label$$"/>
170+
</actionGroup>
171+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeChildProduct3PriceInStoreFront">
172+
<argument name="productPrice" value="$$createConfigChildProduct3.price$$"/>
173+
</actionGroup>
150174
<!-- Open Product Index Page and Filter First Child product -->
151-
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndex"/>
152-
<actionGroup ref="FilterProductGridBySkuActionGroup" stepKey="filterProduct">
153-
<argument name="product" value="ApiSimpleOne"/>
175+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="navigateToProductIndex"/>
176+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProduct"/>
177+
<actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="selectFirstRow">
178+
<argument name="productId" value="$$createConfigChildProduct1.id$$"/>
154179
</actionGroup>
155-
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="selectFirstRow"/>
156180
<waitForPageLoad stepKey="waitForProductPageToLoad"/>
157181

158182
<!-- Disable the product -->
159-
<click selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="disableProduct"/>
183+
<actionGroup ref="ToggleProductEnabledActionGroup" stepKey="disableProduct"/>
160184
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="clickOnSaveButton"/>
161-
<see selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the product." stepKey="messageYouSavedTheProductIsShown"/>
185+
<actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="messageYouSavedTheProductIsShown">
186+
<argument name="message" value="You saved the product."/>
187+
</actionGroup>
162188

163189
<!-- Open Product Store Front Page -->
164-
<amOnPage url="$$createConfigProduct.sku$$.html" stepKey="openProductInStoreFront1"/>
165-
<waitForPageLoad stepKey="waitForProductToLoad1"/>
190+
<actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="openProductInStoreFront1">
191+
<argument name="product" value="$createConfigProduct$"/>
192+
</actionGroup>
193+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForProductToLoad1"/>
166194

167195
<!-- Verify category,configurable product and updated price -->
168-
<seeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="seeCategoryInFrontPage1"/>
169-
<see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="$$createConfigProduct.name$$" stepKey="seeProductNameInStoreFront1"/>
170-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct2.price$$" stepKey="seeUpdatedProductPriceInStoreFront"/>
196+
<actionGroup ref="StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey="seeCategoryInFrontPage1">
197+
<argument name="categoryName" value="$$createCategory.name$$"/>
198+
</actionGroup>
199+
<actionGroup ref="StorefrontAssertProductNameOnProductPageActionGroup" stepKey="seeProductNameInStoreFront1">
200+
<argument name="productName" value="$$createConfigProduct.name$$"/>
201+
</actionGroup>
202+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeUpdatedProductPriceInStoreFront">
203+
<argument name="productPrice" value="$$createConfigChildProduct2.price$$"/>
204+
</actionGroup>
171205
<actionGroup ref="StorefrontAssertProductSkuOnProductPageActionGroup" stepKey="seeProductSkuInStoreFront1">
172206
<argument name="productSku" value="$$createConfigProduct.sku$$"/>
173207
</actionGroup>
174-
<see selector="{{StorefrontProductInfoMainSection.productStockStatus}}" userInput="In Stock" stepKey="seeProductStatusInStoreFront1"/>
208+
<actionGroup ref="AssertStorefrontProductStockStatusOnProductPageActionGroup" stepKey="seeProductStatusInStoreFront1">
209+
<argument name="productStockStatus" value="In Stock"/>
210+
</actionGroup>
175211

176212
<!-- Verify product Attribute Option1 is not displayed -->
177213
<dontSee selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption1.label$$" stepKey="dontSeeOption1"/>
178214

179215
<!--Select product Attribute option2 and option3 and verify changes in the price -->
180-
<selectOption selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption2.label$$" stepKey="selectTheOption2"/>
181-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct2.price$$" stepKey="seeSecondChildProductPriceInStoreFront"/>
182-
<selectOption selector="{{StorefrontProductInfoMainSection.productOptionSelect($$createConfigProductAttribute.default_value$$)}}" userInput="$$getConfigAttributeOption3.label$$" stepKey="selectTheOption3"/>
183-
<see selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="$$createConfigChildProduct3.price$$" stepKey="seeThirdProductPriceInStoreFront"/>
216+
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectTheOption2">
217+
<argument name="attributeLabel" value="$$createConfigProductAttribute.default_value$$"/>
218+
<argument name="optionLabel" value="$$getConfigAttributeOption2.label$$"/>
219+
</actionGroup>
220+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeSecondChildProductPriceInStoreFront">
221+
<argument name="productPrice" value="$$createConfigChildProduct2.price$$"/>
222+
</actionGroup>
223+
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectTheOption3">
224+
<argument name="attributeLabel" value="$$createConfigProductAttribute.default_value$$"/>
225+
<argument name="optionLabel" value="$$getConfigAttributeOption3.label$$"/>
226+
</actionGroup>
227+
<actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeThirdProductPriceInStoreFront">
228+
<argument name="productPrice" value="$$createConfigChildProduct3.price$$"/>
229+
</actionGroup>
184230
</test>
185231
</tests>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="onCategoryPage"/>
3636
<waitForPageLoad stepKey="waitForPageLoad1"/>
37-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
37+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
3838
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart"/>
3939
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
4040
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$createProduct.name$$ to your shopping cart." stepKey="seeAddedToCartMessage"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="onCategoryPage"/>
3939
<waitForPageLoad stepKey="waitForPageLoad1"/>
40-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
40+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
4141
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart"/>
4242
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
4343
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$createProduct.name$$ to your shopping cart." stepKey="seeAddedToCartMessage"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</after>
4040
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="onStorefrontCategoryPage"/>
4141
<waitForPageLoad stepKey="waitForPageLoad1"/>
42-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
42+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
4343
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addProductToCart"/>
4444
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
4545
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$createSimpleProduct.name$$ to your shopping cart." stepKey="seeAddedToCartMessage"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCustomerCheckoutTest/StorefrontCustomerCheckoutTestWithMultipleAddressesAndTaxRatesTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282

8383
<amOnPage url="{{StorefrontCategoryPage.url($$simplecategory.name$$)}}" stepKey="onCategoryPage1"/>
8484
<waitForPageLoad stepKey="waitForCatalogPageLoad1"/>
85-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct1"/>
85+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct1"/>
8686
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart1"/>
8787
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded1"/>
8888
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$simpleproduct1.name$$ to your shopping cart." stepKey="seeAddedToCartMessage1"/>
@@ -101,7 +101,7 @@
101101

102102
<amOnPage url="{{StorefrontCategoryPage.url($$simplecategory.name$$)}}" stepKey="onCategoryPage2"/>
103103
<waitForPageLoad stepKey="waitForCatalogPageLoad2"/>
104-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct2"/>
104+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct2"/>
105105
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart2"/>
106106
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded2"/>
107107
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$simpleproduct1.name$$ to your shopping cart." stepKey="seeAddedToCartMessage2"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCustomerCheckoutTest/StorefrontCustomerCheckoutTestWithRestrictedCountriesForPaymentTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<!-- Add product to cart -->
5252
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="onCategoryPage"/>
5353
<waitForPageLoad stepKey="waitForPageLoad1"/>
54-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
54+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
5555
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart"/>
5656
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
5757
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$createProduct.name$$ to your shopping cart." stepKey="seeAddedToCartMessage"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="onCategoryPage"/>
4141
<waitForPageLoad stepKey="waitForPageLoad1"/>
42-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
42+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
4343
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart"/>
4444
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
4545
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$createProduct.name$$ to your shopping cart." stepKey="seeAddedToCartMessage"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontGuestCheckoutTest/StorefrontGuestCheckoutTestWithRestrictedCountriesForPaymentTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<!-- Add product to cart -->
4343
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="onCategoryPage"/>
4444
<waitForPageLoad stepKey="waitForPageLoad1"/>
45-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="hoverProduct"/>
45+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="hoverProduct"/>
4646
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="addToCart"/>
4747
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
4848
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$createProduct.name$$ to your shopping cart." stepKey="seeAddedToCartMessage"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</createData>
2828
<amOnPage url="{{StorefrontCategoryPage.url($$category.name$$)}}" stepKey="goToCategoryPage"/>
2929
<waitForPageLoad stepKey="waitForPageLoad"/>
30-
<moveMouseOver selector="{{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey="moveMouseOverProduct"/>
30+
<actionGroup ref="StorefrontHoverProductOnCategoryPageActionGroup" stepKey="moveMouseOverProduct"/>
3131
<actionGroup ref="StorefrontClickAddToCartButtonActionGroup" stepKey="clickAddToCartButton"/>
3232
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForAddedToCartSuccessMessage"/>
3333
<see selector="{{StorefrontCategoryMainSection.SuccessMsg}}" userInput="You added $$product.name$$ to your shopping cart." stepKey="seeAddedToCartSuccessMessage"/>

0 commit comments

Comments
 (0)