Skip to content

Commit bb7d50b

Browse files
committed
add Backward Compatibility
1 parent 9de5f78 commit bb7d50b

16 files changed

+38
-0
lines changed

app/code/Magento/Captcha/Test/Mftf/Test/CaptchaFormsDisplayingTest/CaptchaWithDisabledGuestCheckoutTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.captchaField}}" stepKey="seeCaptchaField"/>
4747
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.captchaImg}}" stepKey="seeCaptchaImage"/>
4848
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.captchaReload}}" stepKey="seeCaptchaReloadButton"/>
49+
4950
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
51+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoad2" />
52+
5053
<actionGroup ref="StorefrontClickOnMiniCartActionGroup" stepKey="clickCart2"/>
5154
<click selector="{{StorefrontMinicartSection.goToCheckout}}" stepKey="goToCheckout2"/>
5255
<waitForElementVisible selector="{{StorefrontCustomerSignInPopupFormSection.email}}" stepKey="waitEmailFieldVisible2"/>

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040

4141
<!-- Assert single row - no hover state -->
4242
<createData entity="ApiCategoryA" stepKey="createFirstCategoryBlank"/>
43+
4344
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
45+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForBlankSingleRowAppear"/>
46+
4447
<moveMouseOver selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createFirstCategoryBlank.name$$)}}" stepKey="hoverFirstCategoryBlank"/>
4548
<dontSeeElement selector="{{StorefrontNavigationMenuSection.subItemLevelHover('level0')}}" stepKey="assertNoHoverState"/>
4649

@@ -87,6 +90,8 @@
8790

8891
<!-- Several rows. Hover on category without children -->
8992
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
93+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForBlankSeveralRowsAppear"/>
94+
9095
<moveMouseOver selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategoryWithoutChildrenBlank.name$$)}}" stepKey="hoverCategoryWithoutChildren"/>
9196
<dontSeeElement selector="{{StorefrontNavigationMenuSection.itemByNameAndLevel($$createCategoryWithoutChildrenBlank.name$$, 'level0')}}" stepKey="dontSeeChildrenInCategory"/>
9297

@@ -166,6 +171,8 @@
166171

167172
<!-- Single row. No hover state -->
168173
<actionGroup ref="ReloadPageActionGroup" stepKey="reload"/>
174+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForLumaSingleRowAppear"/>
175+
169176
<dontSeeElement selector="{{StorefrontNavigationMenuSection.itemByNameAndLevel($$createFirstCategoryLuma.name$$, 'level0')}}" stepKey="noHoverStateInFirstCategory"/>
170177
<dontSeeElement selector="{{StorefrontNavigationMenuSection.itemByNameAndLevel($$createSecondCategoryLuma.name$$, 'level0')}}" stepKey="noHoverStateInSecondCategory"/>
171178
<dontSeeElement selector="{{StorefrontNavigationMenuSection.itemByNameAndLevel($$createThirdCategoryLuma.name$$, 'level0')}}" stepKey="noHoverStateThirdCategory"/>
@@ -201,6 +208,8 @@
201208

202209
<!-- Several rows. Hover on Category without children -->
203210
<actionGroup ref="ReloadPageActionGroup" stepKey="refresh"/>
211+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForLumaSeveralRowsAppear"/>
212+
204213
<moveMouseOver selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createFifthCategoryLuma.name$$)}}" stepKey="hoverOnCategoryWithoutChildren"/>
205214
<dontSeeElement selector="{{StorefrontNavigationMenuSection.itemByNameAndLevel($$createFifthCategoryLuma.name$$, 'level0')}}" stepKey="dontSeeSubcategoriesInCategory"/>
206215

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<selectOption stepKey="selectCounty" selector="{{CheckoutShippingSection.country}}" userInput="{{UK_Address.country_id}}"/>
4444
<waitForPageLoad stepKey="waitFormToReload"/>
4545
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
46+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitFormToReload1" />
4647
<fillField selector="{{CheckoutShippingSection.email}}" userInput="{{CustomerEntityOne.email}}" stepKey="enterEmail"/>
4748
<fillField selector="{{CheckoutShippingSection.firstName}}" userInput="{{CustomerEntityOne.firstname}}" stepKey="enterFirstName"/>
4849
<fillField selector="{{CheckoutShippingSection.lastName}}" userInput="{{CustomerEntityOne.lastname}}" stepKey="enterLastName"/>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
<!-- Back to the Checkout and refresh the page -->
9292
<switchToPreviousTab stepKey="switchToPreviousTab"/>
9393
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
94+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitPageReload"/>
9495

9596
<!-- Payment step is opened after refreshing -->
9697
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" stepKey="waitForPaymentSection"/>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@
173173
<argument name="address" value="US_Address_NY_Default_Shipping"/>
174174
</actionGroup>
175175
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadThePage"/>
176+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageToReload"/>
177+
176178
<waitForText selector="{{CheckoutCartSummarySection.taxAmount}}" userInput="$9.60" time="90" stepKey="waitForTaxAmount"/>
177179

178180
<!--Select Free Shipping and proceed to checkout -->

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<see selector="{{CheckoutCartSummarySection.total}}" userInput="15" stepKey="assertOrderTotalField"/>
5151
<!-- 5. Refresh browser page (F5) -->
5252
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
53+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoad"/>
5354
<actionGroup ref="StorefrontAssertCartEstimateShippingAndTaxActionGroup" stepKey="assertCartEstimateShippingAndTaxAfterPageReload"/>
5455
<actionGroup ref="StorefrontAssertCartShippingMethodSelectedActionGroup" stepKey="assertFlatRateShippingMethodIsChecked">
5556
<argument name="carrierCode" value="flatrate"/>
@@ -71,6 +72,8 @@
7172
<actionGroup ref="StorefrontFillGuestShippingInfoActionGroup" stepKey="fillOtherFieldsInCheckoutShippingSection"/>
7273
<!-- 10. Refresh browser page(F5) -->
7374
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadCheckoutPage"/>
75+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForCheckoutPageLoad"/>
76+
7477
<actionGroup ref="StorefrontAssertGuestShippingInfoActionGroup" stepKey="assertGuestShippingPersistedInfoAfterReloadingCheckoutShippingPage"/>
7578
<actionGroup ref="StorefrontAssertCheckoutShippingMethodSelectedActionGroup" stepKey="assertFreeShippingShippingMethodIsChecked">
7679
<argument name="shippingMethod" value="Free Shipping"/>

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

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

6464
<!--Check price-->
6565
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
66+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForCheckoutPageReload"/>
6667
<conditionalClick selector="{{CheckoutPaymentSection.cartItemsArea}}" dependentSelector="{{CheckoutPaymentSection.cartItemsAreaActive}}" visible="false" stepKey="openItemProductBlock1"/>
6768
<see userInput="$120.00" selector="{{CheckoutPaymentSection.orderSummarySubtotal}}" stepKey="checkSummarySubtotal1"/>
6869
<see userInput="$120.00" selector="{{CheckoutPaymentSection.productItemPriceByName($$createSimpleProduct.name$$)}}" stepKey="checkItemPrice1"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontVisibilityOfDuplicateProductTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
<argument name="scope" value="Global"/>
6464
</actionGroup>
6565
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
66+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForProductPageReload"/>
67+
6668
<click selector="{{AdminProductFormConfigurationsSection.createConfigurations}}" stepKey="clickOnCreateConfigurations"/>
6769
<waitForPageLoad stepKey="waitForFilters"/>
6870
<actionGroup ref="CreateOptionsForAttributeActionGroup" stepKey="createOptions">
@@ -142,6 +144,8 @@
142144
<argument name="scope" value="Global"/>
143145
</actionGroup>
144146
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadDuplicatedProductPage"/>
147+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForDuplicatedProductReload"/>
148+
145149
<click selector="{{AdminProductFormConfigurationsSection.createConfigurations}}" stepKey="createConfigurationsDuplicatedProduct"/>
146150
<waitForElementVisible selector="{{AdminGridSelectRows.multicheckDropdown}}" stepKey="waitForCreateConfigurationsPageLoad"/>
147151
<click selector="{{AdminGridSelectRows.multicheckDropdown}}" stepKey="openMulticheckDropdown"/>

app/code/Magento/Customer/Test/Mftf/Test/AdminCreateCustomerTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
<argument name="indices" value=""/>
4242
</actionGroup>
4343
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
44+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForLoad2"/>
45+
4446
<click selector="{{AdminCustomerFiltersSection.filtersButton}}" stepKey="openFilter"/>
4547
<fillField userInput="{{CustomerEntityOne.email}}" selector="{{AdminCustomerFiltersSection.emailInput}}" stepKey="filterEmail"/>
4648
<click selector="{{AdminCustomerFiltersSection.apply}}" stepKey="applyFilter"/>

app/code/Magento/PageCache/Test/Mftf/Test/AdminFrontendAreaSessionMustNotAffectAdminAreaTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@
7777
<!-- 5. Open admin tab with page with products. Reload this page twice. -->
7878
<switchToPreviousTab stepKey="switchToPreviousTab"/>
7979
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadAdminCatalogPageFirst"/>
80+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReloadFirst"/>
8081
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadAdminCatalogPageSecond"/>
82+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReloadSecond"/>
8183

8284
<seeInTitle userInput="Products / Inventory / Catalog / Magento Admin" stepKey="seeAdminProductsPageTitle"/>
8385
<see userInput="Products" selector="{{AdminHeaderSection.pageTitle}}" stepKey="seeAdminProductsPageHeader"/>

app/code/Magento/Persistent/Test/Mftf/Test/CheckShoppingCartBehaviorAfterSessionExpiredTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<!--Reset cookies and refresh the page-->
5757
<resetCookie userInput="PHPSESSID" stepKey="resetCookieForCart"/>
5858
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
59+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoad"/>
5960
<!--Check product exists in cart-->
6061
<see userInput="$$createProduct.name$$" stepKey="ProductExistsInCart"/>
6162
</test>

app/code/Magento/Quote/Test/Mftf/Test/StorefrontGuestCheckoutDisabledProductTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
<!-- Check cart -->
126126
<wait time="60" stepKey="waitForCartToBeUpdated"/>
127127
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
128+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForCheckoutPageReload"/>
128129
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="clickMiniCart"/>
129130
<dontSeeElement selector="{{StorefrontMinicartSection.quantity}}" stepKey="dontSeeCartItem"/>
130131
<!-- Add simple product to shopping cart -->
@@ -151,6 +152,8 @@
151152
<!--Check cart-->
152153
<wait time="60" stepKey="waitForCartToBeUpdated2"/>
153154
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage2"/>
155+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForCheckoutPageReload2"/>
156+
154157
<click selector="{{StorefrontMinicartSection.showCart}}" stepKey="clickMiniCart2"/>
155158
<dontSeeElement selector="{{StorefrontMinicartSection.quantity}}" stepKey="dontSeeCartItem2"/>
156159
</test>

app/code/Magento/SalesRule/Test/Mftf/Test/AdminCreateCartPriceRuleForGeneratedCouponTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<argument name="maxMessages" value="{{AdminCodeGeneratorMessageConsumerData.messageLimit}}"/>
6161
</actionGroup>
6262
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
63+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitFormToReload1"/>
6364
<click selector="{{AdminCartPriceRulesFormSection.manageCouponCodesHeader}}" stepKey="expandCouponSection2"/>
6465

6566
<!-- Assert coupon codes grid header is correct -->

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontAutoGeneratedCouponCodeTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<argument name="maxMessages" value="{{AdminCodeGeneratorMessageConsumerData.messageLimit}}"/>
6565
</actionGroup>
6666
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
67+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitFormToReload1"/>
6768
<conditionalClick selector="{{AdminCartPriceRulesFormSection.manageCouponCodesHeader}}"
6869
dependentSelector="{{AdminCartPriceRulesFormSection.manageCouponCodesHeader}}" visible="true"
6970
stepKey="clickManageCouponCodes2"/>

app/code/Magento/Swatches/Test/Mftf/Test/AdminDisablingSwatchTooltipsTest.xml

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

155155
<!-- Verify swatch tooltips are not visible -->
156156
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
157+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageReload"/>
157158
<moveMouseOver selector="{{StorefrontProductInfoMainSection.nthSwatchOption('1')}}" stepKey="hoverDisabledSwatch"/>
158159
<wait time="1" stepKey="waitForTooltip2"/>
159160
<dontSeeElement selector="{{StorefrontProductInfoMainSection.swatchOptionTooltip}}" stepKey="swatchTooltipNotVisible"/>

app/code/Magento/Translation/Test/Mftf/Test/StorefrontInlineTranslationOnCheckoutTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121

122122
<!-- 3. Go to storefront and click on cart button on the top -->
123123
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
124+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
124125
<actionGroup ref="StorefrontOpenMiniCartActionGroup" stepKey="openMiniCart"/>
125126

126127
<!-- Check button "Proceed to Checkout". There must be red borders and "book" icons on labels that can be translated. -->
@@ -490,6 +491,8 @@
490491

491492
<!-- Reload page after full clear -->
492493
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPageAfterFullClean"/>
494+
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoadAfterFullClean"/>
495+
493496

494497
<!-- Add product to cart and go through Checkout process like you did in steps ##3-6 and check translation you maid. -->
495498
<actionGroup ref="StorefrontOpenProductEntityPageActionGroup" stepKey="openProductPage1">

0 commit comments

Comments
 (0)