Skip to content

[MFTF] Replaced by ReloadPageActionGroup #34925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 2.4-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<reloadPage stepKey="pageReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="pageReload"/>
</before>
<after>
<magentoCLI command="config:set admin/usage/enabled 0" stepKey="disableAdminUsageTracking"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<!-- Save the product -->
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushConfigCache"/>
<reloadPage stepKey="reloadProductEditPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadProductEditPage"/>
<!-- Check default value -->
<waitForElementVisible selector="{{AdminProductAttributesSection.sectionHeader}}" stepKey="waitAttributesSectionAppears"/>
<conditionalClick selector="{{AdminProductAttributesSection.sectionHeader}}" dependentSelector="{{AdminProductAttributesSection.attributeTextInputByCode($createDatetimeAttribute.attribute_code$)}}" visible="false" stepKey="openAttributesSection"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<!-- Should wait a bit for filters really cleared because waitForPageLoad does not wait for javascripts to be finished -->
<!-- Without this test will fail sometimes -->
<wait time="5" stepKey="waitFilterReallyCleared"/>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
</before>

<after>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<waitForPageLoad stepKey="waitForReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<waitForPageLoad stepKey="waitForReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<waitForPageLoad stepKey="waitForReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<waitForPageLoad stepKey="waitForReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="pageReload" />
<actionGroup ref="ReloadPageActionGroup" stepKey="pageReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<checkOption selector="{{CheckoutPaymentSection.billingAddressNotSameCheckbox}}" stepKey="selectPaymentSolution" />

<!--Refresh Page and Place Order-->
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="placeOrder"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<!--Enabled Mini Cart -->
<magentoCLI stepKey="enableShoppingCartSidebar" command="config:set checkout/sidebar/display 1"/>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
<reloadPage stepKey="reloadThePage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadThePage"/>

<!--Click on mini cart-->
<actionGroup ref="StorefrontClickOnMiniCartActionGroup" stepKey="clickOnMiniCart1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

<!--Refresh Page and Place Order-->
<actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyPayment"/>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPlaceOrderButton"/>
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickPlaceOrder"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="orderIsSuccessfullyPlaced"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="removeProductFromMiniCart">
<argument name="productName" value="$$createBundleProduct.name$$"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Check the minicart is empty and verify AssertProductAbsentInMiniShoppingCart-->
<actionGroup ref="AssertMiniCartEmptyActionGroup" stepKey="miniCartEnpty"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="removeProductFromMiniCart">
<argument name="productName" value="$$createConfigProduct.name$$"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Check the minicart is empty and verify AssertProductAbsentInMiniShoppingCart-->
<actionGroup ref="AssertMiniCartEmptyActionGroup" stepKey="miniCartEnpty"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="removeProductFromMiniCart">
<argument name="productName" value="$$createDownloadableProduct.name$$"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Check the minicart is empty and verify AssertProductAbsentInMiniShoppingCart-->
<actionGroup ref="AssertMiniCartEmptyActionGroup" stepKey="miniCartEnpty"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="removeProduct10FromMiniCart">
<argument name="productName" value="$$simpleProduct1.name$$"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Check the minicart is empty and verify EmptyCartMessage and AssertProductAbsentInMiniShoppingCart-->
<actionGroup ref="AssertMiniCartEmptyActionGroup" stepKey="miniCartEnpty"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="removeVirtualProductFromMiniCart">
<argument name="productName" value="$$virtualProduct.name$$"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Check the minicart is empty and verify EmptyCartMessage and AssertProductAbsentInMiniShoppingCart-->
<actionGroup ref="AssertMiniCartEmptyActionGroup" stepKey="miniCartEnpty"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<actionGroup ref="RemoveProductFromMiniCartActionGroup" stepKey="removeProductFromMiniCart">
<argument name="productName" value="$$simpleProduct.name$$"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageLoad"/>

<!--Check the minicart is empty and verify AssertProductAbsentInMiniShoppingCart-->
<actionGroup ref="AssertMiniCartEmptyActionGroup" stepKey="miniCartEnpty"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</actionGroup>

<!-- Refresh page -->
<reloadPage stepKey="refreshPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>

<!-- Click Place Order and assert order is placed -->
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickOnPlaceOrder"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
</actionGroup>
<click selector="{{CheckoutCartSummarySection.shippingMethodElementId('freeshipping', 'freeshipping')}}" stepKey="selectShippingMethod"/>
<see selector="{{CheckoutCartSummarySection.taxAmount}}" userInput="$9.72" stepKey="seeTaxAmount"/>
<reloadPage stepKey="reloadThePage"/>
<waitForPageLoad stepKey="waitForPageToReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadThePage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForPageToReload"/>
<see selector="{{CheckoutCartSummarySection.taxAmount}}" userInput="$9.72" stepKey="seeTaxAmountAfterLoadPage"/>
<scrollTo selector="{{CheckoutCartSummarySection.proceedToCheckout}}" stepKey="scrollToProceedToCheckout" />
<actionGroup ref="StorefrontClickProceedToCheckoutActionGroup" stepKey="goToCheckout"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page"/>
</actionGroup>
<reloadPage stepKey="realoadPageAfterConfigChanged"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="realoadPageAfterConfigChanged"/>
<see selector="{{StorefrontCustomerAddressSection.country}}" userInput="United States" stepKey="seeUnitedStatesCountry"/>
<see selector="{{StorefrontCustomerAddressSection.country}}" userInput="Brazil" stepKey="seeBrazilCountry"/>
</test>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<click selector="{{AdminCustomerMainActionsSection.saveButton}}" stepKey="saveCustomer"/>
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
<seeElement selector="{{AdminCustomerMessagesSection.successMessage}}" stepKey="assertSuccessMessage"/>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Verify Customer in grid -->
<actionGroup ref="AdminFilterCustomerByEmail" stepKey="filterTheCustomerByEmail1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value="compiled_config"/>
</actionGroup>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Verify Customer in grid -->
<actionGroup ref="AdminFilterCustomerByEmail" stepKey="filterTheCustomerByEmail1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<selectOption userInput="Male" selector="{{AdminCustomerAccountInformationSection.gender}}" stepKey="fillGender"/>
<click selector="{{AdminCustomerMainActionsSection.saveButton}}" stepKey="saveCustomer"/>
<seeElement selector="{{AdminCustomerMessagesSection.successMessage}}" stepKey="assertSuccessMessage"/>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Filter the customer From grid-->
<actionGroup ref="AdminFilterCustomerByEmail" stepKey="filterTheCustomerByEmail">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<fillField userInput="{{CustomerEntityOne.email}}" selector="{{AdminCustomerAccountInformationSection.email}}" stepKey="fillEmail"/>
<click selector="{{AdminCustomerMainActionsSection.saveButton}}" stepKey="saveCustomer"/>
<seeElement selector="{{AdminCustomerMessagesSection.successMessage}}" stepKey="assertSuccessMessage"/>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Filter the customer From grid-->
<actionGroup ref="AdminFilterCustomerByEmail" stepKey="filterTheCustomerByEmail">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<fillField userInput="{{CustomerEntityOne.email}}" selector="{{AdminCustomerAccountInformationSection.email}}" stepKey="fillEmail"/>
<click selector="{{AdminCustomerMainActionsSection.saveButton}}" stepKey="saveCustomer"/>
<seeElement selector="{{AdminCustomerMessagesSection.successMessage}}" stepKey="assertSuccessMessage"/>
<reloadPage stepKey="reloadPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>

<!--Filter the customer From grid-->
<actionGroup ref="AdminFilterCustomerByEmail" stepKey="filterTheCustomerByEmail">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<waitForPageLoad stepKey="waitForReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
</actionGroup>
<reloadPage stepKey="refreshPage"/>
<waitForPageLoad stepKey="waitForReload"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForReload"/>
<waitForElementVisible selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="waitForFileName"/>
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="getFilename"/>
<actionGroup ref="AdminGetExportFilenameOnServerActionGroup" stepKey="grabNameFile">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
</actionGroup>

<wait time="10" stepKey="waitForBookmarkToSaveView"/>
<reloadPage stepKey="reloadPage"/>
<waitForPageLoad stepKey="waitForGridReloaded"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForGridReloaded"/>
<actionGroup ref="AdminAssertMediaGalleryFilterPlaceholderActionGroup" stepKey="assertFilterApplied">
<argument name="filterPlaceholder" value="$$product.name$$"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@

<!--Verify order information-->
<actionGroup ref="VerifyCreatedOrderInformationActionGroup" stepKey="verifyCreatedOrderInformation"/>
<reloadPage stepKey="refreshPage"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
<comment userInput="BIC workaround" stepKey="orderId"/>
<grabTextFrom selector="|Order # (\d+)|" stepKey="orderNumber"/>

<!-- Refresh the page -->
<reloadPage stepKey="refreshPageAgain"/>
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPageAgain"/>

<!-- Cancel the Order -->
<actionGroup ref="CancelPendingOrderActionGroup" stepKey="cancelPendingOrder"/>
Expand Down
Loading