From 440779acaf2afd870aebc325f718f59421c3d842 Mon Sep 17 00:00:00 2001 From: syed sharuk Date: Wed, 21 Aug 2024 08:16:36 +0530 Subject: [PATCH 01/42] ACQE-6907 - Admin Create separate temporary Bundle Product to change child Products assignment created element --- .../Test/Mftf/Section/StorefrontBundleProductActionSection.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml b/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml index 9ac8f41ac7515..79b92da2fc34b 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml @@ -14,5 +14,6 @@ + From ab7293af1ec3645d6c0152caddcf7a4952e9aa9e Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Fri, 27 Dec 2024 21:20:48 +0530 Subject: [PATCH 02/42] Update composer.json --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index b5dd84811f2b8..a5d4176da074f 100644 --- a/composer.json +++ b/composer.json @@ -401,3 +401,4 @@ }, "prefer-stable": true } + From 66e9f99e09b1566cbd682ea8e73dbd3463119956 Mon Sep 17 00:00:00 2001 From: syed sharuk Date: Thu, 2 Jan 2025 10:05:09 +0530 Subject: [PATCH 03/42] ACQE-6907 - Admin Create separate temporary Bundle Product to change child Products assignment updated copyrights --- .../Mftf/Section/StorefrontBundleProductActionSection.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml b/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml index 79b92da2fc34b..b3f1e56aabd12 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundleProductActionSection.xml @@ -1,8 +1,8 @@ Date: Wed, 8 Jan 2025 09:18:39 +0530 Subject: [PATCH 04/42] ACQE-7222|Admin Print Shipping Labels from Actions dropdown from the FedEx submitted shipment --- .../AdminShipmentMainActionsSection.xml | 3 +- ...PrintShippingLabelForFedexShipmentTest.xml | 109 ++++++++++++++++++ 2 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml diff --git a/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml b/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml index 40e0313a61bd0..a52be148fb28e 100644 --- a/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml +++ b/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml @@ -11,5 +11,6 @@
+
-
\ No newline at end of file + diff --git a/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml b/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml new file mode 100644 index 0000000000000..1376b9081315a --- /dev/null +++ b/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml @@ -0,0 +1,109 @@ + + + + + + + + + <description value="Admin Print Shipping Labels from Actions dropdown from the FedEx submitted shipment"/> + <severity value="MAJOR"/> + <testCaseId value="AC-2832"/> +<!-- <group value="pr_exclude"/>--> + <group value="3rd_party_integration"/> + </annotations> + <before> + <!-- Create category --> + <createData entity="_defaultCategory" stepKey="createCategory"/> + <!-- Simple product is created --> + <createData entity="SimpleProductWithWeight" stepKey="createProduct"> + <requiredEntity createDataKey="createCategory"/> + </createData> + <!-- US Customer is created --> + <createData entity="Simple_US_Customer_CA" stepKey="createCustomer"/> + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> + <actionGroup ref="AdminEnableFedExConfigurationActionGroup" stepKey="enableFedEx"/> + <!--Set US Shipping settings origin data--> + <actionGroup ref="AdminSetShippingOriginConfigActionGroup" stepKey="setShippingOriginConfigurationData"> + <argument name="country" value="United States"/> + <argument name="state" value="California"/> + <argument name="postcode" value="90001"/> + </actionGroup> + <actionGroup ref="AdminSetShippingOriginOtherConfigActionGroup" stepKey="setShippingOriginOtherConfigurationData"/> + <!--Go to configuration general page--> + <actionGroup ref="NavigateToConfigurationGeneralPageActionGroup" stepKey="navigateToConfigurationGeneralPage"/> + <actionGroup ref="SelectEuropeanUnionCountryActionGroup" stepKey="setEuropeanUnionCountry"> + <argument name="countries" value="EuropeanCountry"/> + </actionGroup> + <conditionalClick selector="{{StoreConfigSection.StoreInformation}}" dependentSelector="{{StoreConfigSection.CheckIfTabExpand}}" stepKey="checkIfTabOpen" visible="true"/> + <fillField selector="{{StoreConfigSection.storeName}}" userInput="Test" stepKey="fillStoreName" /> + <fillField selector="{{StoreConfigSection.storePhoneNumber}}" userInput="9876543210" stepKey="fillStorePhone" /> + <click selector="{{StoreConfigSection.Save}}" stepKey="saveConfig"/> + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches"> + <argument name="tags" value="config full_page"/> + </actionGroup> + <actionGroup ref="CliIndexerReindexActionGroup" stepKey="runIndexCronJob"> + <argument name="indices" value="cataloginventory_stock"/> + </actionGroup> + <!-- Login to StoreFront --> + <actionGroup ref="LoginToStorefrontActionGroup" stepKey="storefrontCustomerLogin"> + <argument name="Customer" value="$$createCustomer$$"/> + </actionGroup> + </before> + <after> + <!-- Reset shipping origin --> + <actionGroup ref="AdminResetShippingOriginConfigurationActionGroup" stepKey="ResetCaliforniaShippingOrigin"/> + <magentoCLI command="config:set {{AdminFedexEnableForCheckoutConfigData.path}} 0" stepKey="disableCheckout"/> + <deleteData createDataKey="createProduct" stepKey="deleteProduct"/> + <!-- Delete category --> + <deleteData createDataKey="createCategory" stepKey="deleteCategory"/> + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> + </after> + <!-- Add product to cart --> + <actionGroup ref="AddSimpleProductToCartActionGroup" stepKey="addSimpleProductToCart"> + <argument name="product" value="$$createProduct$$"/> + </actionGroup> + <!-- Go to Checkout Page --> + <actionGroup ref="StorefrontOpenCheckoutPageActionGroup" stepKey="goToCheckout"/> + <waitForElementClickable selector="{{CheckoutShippingMethodsSection.smartPostShippingMethod}}" stepKey="waitForSelectFedexShippingMethod"/> + <click selector="{{CheckoutShippingMethodsSection.smartPostShippingMethod}}" stepKey="selectFedexShippingMethod"/> + <actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNext"/> + <actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyPayment"/> + <actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickPlaceOrder"/> + <!-- I see order successful Page --> + <actionGroup ref="AssertStorefrontCheckoutSuccessActionGroup" stepKey="assertOrderSuccess"/> + <grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="orderNumber"/> + <!--Open created order in admin--> + <actionGroup ref="FilterOrderGridByIdActionGroup" stepKey="filterOrderGridById"> + <argument name="orderId" value="$orderNumber"/> + </actionGroup> + <actionGroup ref="AdminOrderGridClickFirstRowActionGroup" stepKey="clickOrderRow"/> + <!--Create order invoice--> + <actionGroup ref="StartCreateInvoiceFromOrderPageActionGroup" stepKey="startInvoice"/> + <actionGroup ref="SubmitInvoiceActionGroup" stepKey="submitInvoice"/> + <!--Create shipping label--> + <actionGroup ref="GoToShipmentIntoOrderActionGroup" stepKey="goToShipmentIntoOrder"/> + <waitForElementVisible selector="{{AdminShipmentTotalSection.createShippingLabel}}" stepKey="waitForCreateShippingLabel"/> + <checkOption selector="{{AdminShipmentTotalSection.createShippingLabel}}" stepKey="checkCreateShippingLabel"/> + <waitForElementClickable selector="{{AdminShipmentMainActionsSection.submitShipment}}" stepKey="waitForSubmitShipment"/> + <click selector="{{AdminShipmentMainActionsSection.submitShipment}}" stepKey="clickSubmitShipment"/> + <actionGroup ref="AdminShipmentCreateShippingLabelActionGroup" stepKey="createPackage"> + <argument name="productName" value="$$createProduct.name$$"/> + </actionGroup> + <!-- Print shipping Label --> + <actionGroup ref="FilterShipmentGridByOrderIdActionGroup" stepKey="filterShipmentGridByOrderId"> + <argument name="orderId" value="$orderNumber"/> + </actionGroup> + <waitForElementClickable selector="{{AdminShipmentGridSection.firstRow}}" stepKey="waitForShipmentRow"/> + <click selector="{{AdminShipmentGridSection.firstRow}}" stepKey="openCreatedShipment"/> + <waitForPageLoad stepKey="waitForShipmentDetailsPageToLoad"/> + <waitForElementClickable selector="{{AdminShipmentMainActionsSection.printShippingLabelButton}}" stepKey="waitForPrintShippingButton"/> + <click selector="{{AdminShipmentMainActionsSection.printShippingLabelButton}}" stepKey="clickOnPrintShippingButton"/> + </test> +</tests> From f8d5e44fc100bab4db1153e126b6e247e58e3c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CPavan-bj=E2=80=9D?= <pavan@BLR1-LMC-N71481.local> Date: Wed, 8 Jan 2025 11:39:05 +0530 Subject: [PATCH 05/42] ACQE-7222|Admin Print Shipping Labels from Actions dropdown from the FedEx submitted shipment Resolved static error issue --- .../Test/Mftf/Section/AdminShipmentMainActionsSection.xml | 4 ++-- .../Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml b/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml index a52be148fb28e..fd7d4b847068c 100644 --- a/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml +++ b/app/code/Magento/Shipping/Test/Mftf/Section/AdminShipmentMainActionsSection.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> diff --git a/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml b/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml index 1376b9081315a..4030b7b068cbf 100644 --- a/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml +++ b/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> From 4b7bd15f4f371c55d3fd1a5d6bb8eea37a74738b Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Wed, 8 Jan 2025 13:20:23 +0530 Subject: [PATCH 06/42] [MFTF TESTS] AdminLoginWithRestrictPermissionTest added scroll to and waitfor clickable element --- .../AdminAddRestrictedRoleForGlobalSearchActionGroup.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml b/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml index e4f285038b9da..b84446ed1ca41 100644 --- a/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml +++ b/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml @@ -18,8 +18,11 @@ <remove keyForRemoval="waitForScopeSelection"/> <remove keyForRemoval="clickSaveRoleButton"/> <remove keyForRemoval="waitForPageLoad2"/> + <remove keyForRemoval="waitForTfaRole"/> <remove keyForRemoval="clickCheckbox"/> <scrollTo selector="{{AdminEditRoleInfoSection.blockName('restrictedRole')}}" x="0" y="-120" stepKey="scrollToResourceElement" after="selectResourceAccessCustom"/> - <click stepKey="clickTFACheckbox" selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" after="waitForTfaRole"/> + <scrollTo selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_User::acl_users')}}" stepKey="scrollToTwoFactor" after="clickContentBlockCheckbox"/> + <waitForElementClickable selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="waitForTwoFactorToBeClickable"/> + <click selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="checkTwoFactorCheckbox"/> </actionGroup> </actionGroups> From 955f60227431a6e2efdc7058452cce797a5b4277 Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Thu, 9 Jan 2025 15:07:25 +0530 Subject: [PATCH 07/42] [MFTF TESTS] EndToEndB2CLoggedInUserTest added scroll to wishlist in sidebard --- ...orefrontCustomerCheckProductInWishlistSidebarActionGroup.xml | 2 +- .../Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml b/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml index b491ae39fb4f2..7c33a20ab9928 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml @@ -16,7 +16,7 @@ <argument name="productVar"/> </arguments> <wait time="10" stepKey="waitForMessageToPopulate"/> - <scrollToTopOfPage stepKey="scrollToTopOfPage"/> + <scrollTo selector="{{StorefrontCustomerWishlistSidebarSection.WishlistBlock}}" stepKey="scrollToWishListBlock"/> <click selector="{{StorefrontCustomerWishlistSidebarSection.ProductPriceByName(productVar.name)}}" stepKey="clickProductPrize"/> <waitForElement selector="{{StorefrontCustomerWishlistSidebarSection.ProductTitleByName(productVar.name)}}" time="30" stepKey="assertWishlistSidebarProductName"/> <waitForText userInput="${{productVar.price}}.00" selector="{{StorefrontCustomerWishlistSidebarSection.ProductPriceByName(productVar.name)}}" stepKey="AssertWishlistSidebarProductPrice"/> diff --git a/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml b/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml index ba226837c5fe7..c9e1fad6007f0 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml @@ -9,6 +9,7 @@ <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd"> <section name="StorefrontCustomerWishlistSidebarSection"> + <element name="WishlistBlock" type="button" selector="//div[@class='block block-wishlist']//strong[contains(text(),'My Wish List')]"/> <element name="ProductTitleByName" type="button" selector="//main//ol[@id='wishlist-sidebar']//a[@class='product-item-link']/span[text()='{{var1}}']" parameterized="true"/> <element name="ProductPriceByName" type="text" selector="//main//ol[@id='wishlist-sidebar']//a[@class='product-item-link']/span[text()='{{var1}}']//ancestor::ol//span[@class='price']" parameterized="true"/> <element name="ProductImageByName" type="text" selector="//main//ol[@id='wishlist-sidebar']//a[@class='product-item-link']/span[text()='{{var1}}']//ancestor::ol//img[@class='product-image-photo']" parameterized="true"/> From c1f15220e7eeab707ac7f1115975182a5964c64c Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Thu, 9 Jan 2025 18:25:38 +0530 Subject: [PATCH 08/42] [MFTF TESTS] EndToEndB2CLoggedInUserTest updated copyright --- ...efrontCustomerCheckProductInWishlistSidebarActionGroup.xml | 4 ++-- .../Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml b/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml index 7c33a20ab9928..9a2273ee3a888 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> diff --git a/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml b/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml index c9e1fad6007f0..d9aed34415345 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSidebarSection.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> From 0a74c25bf8ae986d64c6727fb84617cd8daa7aaa Mon Sep 17 00:00:00 2001 From: Mohit Sharma <glo87054@adobe.com> Date: Fri, 10 Jan 2025 10:01:08 +0530 Subject: [PATCH 09/42] ACQE-7370: Expan other payment options --- .../AdminEnablePayPalExpressCheckoutPayLaterActionGroup.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminEnablePayPalExpressCheckoutPayLaterActionGroup.xml b/app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminEnablePayPalExpressCheckoutPayLaterActionGroup.xml index 761180bac32f5..4861179b8ca83 100644 --- a/app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminEnablePayPalExpressCheckoutPayLaterActionGroup.xml +++ b/app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminEnablePayPalExpressCheckoutPayLaterActionGroup.xml @@ -18,7 +18,7 @@ <amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/> <waitForPageLoad stepKey="waitForPageLoad1"/> <!-- Because of in-product messaging in Payment Services extension, Paypal config is within the Additional Payment Solutions we need to uncollapse --> - <conditionalClick selector="{{OtherPayPalPaymentsConfigSection.expandedTab(countryCode)}}" stepKey="clickPayPalTabConfigure" dependentSelector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" visible="false"/> + <conditionalClick selector="{{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey="clickPayPalTabConfigure" dependentSelector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" visible="false"/> <click selector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" stepKey="clickPayPalConfigureBtn"/> <selectOption selector="{{PayPalExpressCheckoutConfigSection.enablePayLater(countryCode)}}" userInput="Yes" stepKey="enablePayLater"/> <waitForText selector="{{PayPalExpressCheckoutConfigSection.verifyPaylaterText(countryCode)}}" userInput="Advertise PayPal Pay Later" stepKey="verifyAdvertisePayPalPayLaterText"/> From 5967c74e2334e4a29d5263785fcd2f266d961165 Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Fri, 10 Jan 2025 10:56:50 +0530 Subject: [PATCH 10/42] [MFTF TESTS] AdminLoginWithRestrictPermissionTest fixed semantic version checker --- .../AdminAddRestrictedRoleForGlobalSearchActionGroup.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml b/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml index b84446ed1ca41..69f6299f28fab 100644 --- a/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml +++ b/app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAddRestrictedRoleForGlobalSearchActionGroup.xml @@ -18,11 +18,10 @@ <remove keyForRemoval="waitForScopeSelection"/> <remove keyForRemoval="clickSaveRoleButton"/> <remove keyForRemoval="waitForPageLoad2"/> - <remove keyForRemoval="waitForTfaRole"/> <remove keyForRemoval="clickCheckbox"/> <scrollTo selector="{{AdminEditRoleInfoSection.blockName('restrictedRole')}}" x="0" y="-120" stepKey="scrollToResourceElement" after="selectResourceAccessCustom"/> <scrollTo selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_User::acl_users')}}" stepKey="scrollToTwoFactor" after="clickContentBlockCheckbox"/> - <waitForElementClickable selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="waitForTwoFactorToBeClickable"/> - <click selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="checkTwoFactorCheckbox"/> + <waitForElementClickable selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="waitForTwoFactorToBeClickable" after="waitForTfaRole"/> + <click selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="clickTFACheckbox"/> </actionGroup> </actionGroups> From cc031550794c6c50050d120764397a3370e1ff09 Mon Sep 17 00:00:00 2001 From: Keerthana SL <glo81187@adobe.com> Date: Mon, 13 Jan 2025 13:44:42 +0530 Subject: [PATCH 11/42] ACQE-7372: StorefrontPartialWordQuickSearchStemmingTest Changes in test fix data as per the functionality of search engine --- .../StorefrontPartialWordQuickSearchStemmingTest.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml index 4b7b7dc637841..91757e72dd4eb 100644 --- a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml +++ b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml @@ -75,12 +75,12 @@ </after> <!--Navigate to home page--> <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomePage"/> - <!--Search for word "5127S"--> + <!--Search for word "5127AB"--> <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="search1"> - <argument name="phrase" value="5127S"/> + <argument name="phrase" value="5127AB"/> </actionGroup> <!--Assert that product1 is present in the search result--> - <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct1"> + <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct1inAB"> <argument name="productName" value="$$product1.name$$"/> </actionGroup> <!--Assert that product2 is not present in the search result--> @@ -88,11 +88,11 @@ <argument name="productName" value="$$product2.name$$"/> </actionGroup> <!--Assert that product2 is not present in the search result--> - <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct3"> + <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct3inAB"> <argument name="productName" value="$$product3.name$$"/> </actionGroup> <!--Assert that product4 is present in the search result--> - <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct4"> + <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct4inAB"> <argument name="productName" value="$$product4.name$$"/> </actionGroup> <!--Assert that product5 is not present in the search result--> @@ -100,7 +100,7 @@ <argument name="productName" value="$$product5.name$$"/> </actionGroup> <!--Assert that product6 is not present in the search result--> - <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct6"> + <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct6inAB"> <argument name="productName" value="$$product6.name$$"/> </actionGroup> From 1cc9e174ce1810d87c40a28ec854d607b09f8c3a Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Mon, 13 Jan 2025 14:07:25 +0530 Subject: [PATCH 12/42] [MFTF TESTS] EndToEndB2CLoggedInUserTest added cache clean and reload page steps --- .../Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml index d5a5fccb30be3..9b59ff46b2153 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml @@ -31,6 +31,12 @@ <actionGroup ref="StorefrontCustomerAddProductToWishlistActionGroup" after="wishlistClickSimpleProduct2" stepKey="wishlistAddSimpleProduct2ToWishlist"> <argument name="productVar" value="$$createSimpleProduct2$$"/> </actionGroup> + <!-- clear cache --> + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> + <argument name="tags" value=""/> + </actionGroup> + <!-- reload wish list page --> + <actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/> <actionGroup ref="StorefrontCustomerCheckProductInWishlistActionGroup" after="wishlistAddSimpleProduct2ToWishlist" stepKey="wishlistCheckSimpleProduct2InWishlist"> <argument name="productVar" value="$$createSimpleProduct2$$"/> </actionGroup> From 47d31bbdaf56e9fcf12915789f7f91c930a6e8f0 Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Mon, 13 Jan 2025 15:48:48 +0530 Subject: [PATCH 13/42] [MFTF TESTS] EndToEndB2CLoggedInUserTest semantic and static issues fixed --- ...efrontCustomerCheckProductInWishlistSidebarActionGroup.xml | 2 +- .../Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml b/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml index 9a2273ee3a888..f40063f0ff7b1 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/ActionGroup/StorefrontCustomerCheckProductInWishlistSidebarActionGroup.xml @@ -16,7 +16,7 @@ <argument name="productVar"/> </arguments> <wait time="10" stepKey="waitForMessageToPopulate"/> - <scrollTo selector="{{StorefrontCustomerWishlistSidebarSection.WishlistBlock}}" stepKey="scrollToWishListBlock"/> + <scrollTo selector="{{StorefrontCustomerWishlistSidebarSection.WishlistBlock}}" stepKey="scrollToTopOfPage"/> <click selector="{{StorefrontCustomerWishlistSidebarSection.ProductPriceByName(productVar.name)}}" stepKey="clickProductPrize"/> <waitForElement selector="{{StorefrontCustomerWishlistSidebarSection.ProductTitleByName(productVar.name)}}" time="30" stepKey="assertWishlistSidebarProductName"/> <waitForText userInput="${{productVar.price}}.00" selector="{{StorefrontCustomerWishlistSidebarSection.ProductPriceByName(productVar.name)}}" stepKey="AssertWishlistSidebarProductPrice"/> diff --git a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml index 9b59ff46b2153..05112eab9c07d 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> From 77c7c06fc4fcbeb8447a86e7397e369a0159c032 Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Mon, 13 Jan 2025 16:30:43 +0530 Subject: [PATCH 14/42] [MFTF TESTS] EndToEndB2CLoggedInUserTest modified steps --- .../Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml index 05112eab9c07d..421c0e29037ea 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml @@ -32,11 +32,11 @@ <argument name="productVar" value="$$createSimpleProduct2$$"/> </actionGroup> <!-- clear cache --> - <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache"> + <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache" after="wishlistAddSimpleProduct2ToWishlist" > <argument name="tags" value=""/> </actionGroup> <!-- reload wish list page --> - <actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/> + <actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage" after="cleanCache"/> <actionGroup ref="StorefrontCustomerCheckProductInWishlistActionGroup" after="wishlistAddSimpleProduct2ToWishlist" stepKey="wishlistCheckSimpleProduct2InWishlist"> <argument name="productVar" value="$$createSimpleProduct2$$"/> </actionGroup> From 8d2f25f60d5dae9fa17fc5b5ad2c64c23b4fa2e2 Mon Sep 17 00:00:00 2001 From: chandrakalahanchinal <del66267@adobe.com> Date: Mon, 13 Jan 2025 17:50:43 +0530 Subject: [PATCH 15/42] [MFTF TESTS] EndToEndB2CLoggedInUserTest modified before steps --- .../Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml index 421c0e29037ea..a7e89a2f4102b 100644 --- a/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml +++ b/app/code/Magento/Wishlist/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml @@ -37,7 +37,7 @@ </actionGroup> <!-- reload wish list page --> <actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage" after="cleanCache"/> - <actionGroup ref="StorefrontCustomerCheckProductInWishlistActionGroup" after="wishlistAddSimpleProduct2ToWishlist" stepKey="wishlistCheckSimpleProduct2InWishlist"> + <actionGroup ref="StorefrontCustomerCheckProductInWishlistActionGroup" after="refreshPage" stepKey="wishlistCheckSimpleProduct2InWishlist"> <argument name="productVar" value="$$createSimpleProduct2$$"/> </actionGroup> <actionGroup ref="StorefrontCustomerCheckProductInWishlistSidebarActionGroup" after="wishlistCheckSimpleProduct2InWishlist" stepKey="wishlistCheckSimpleProduct2InWishlistSidebar"> From a881f44ee11820b814f11a88ead47441a80ed8f5 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Tue, 14 Jan 2025 09:39:15 +0530 Subject: [PATCH 16/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- ...tomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index a17ce096a95f9..ff14cb6ec894e 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -62,6 +62,9 @@ <!-- Fill the guest form --> <actionGroup ref="FillGuestCheckoutShippingAddressFormActionGroup" stepKey="fillGuestForm"/> + <click selector="{{CheckoutShippingMethodsSection.checkShippingMethodByName('Flat Rate')}}" + stepKey="selectFlatShippingMethod"/> + <waitForLoadingMaskToDisappear stepKey="waitForLoadingMask"/> <actionGroup ref="StorefrontCheckoutClickNextButtonActionGroup" stepKey="clickOnNextButton"/> <waitForElementVisible selector="{{CheckoutPaymentSection.bankTransfer}}" stepKey="waitForPlaceOrderButton"/> <checkOption selector="{{CheckoutPaymentSection.bankTransfer}}" stepKey="selectBankTransfer"/> From ecb2610dce4da6adbe1086937ce2393b851153d2 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:59:50 +0530 Subject: [PATCH 17/42] ACQE-7372 | [MFTF TESTS] StorefrontPartialWordQuickSearchStemmingTest --- ...StorefrontPartialWordQuickSearchStemmingTest.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml index 91757e72dd4eb..24cd46b2bbcf7 100644 --- a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml +++ b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml @@ -75,12 +75,12 @@ </after> <!--Navigate to home page--> <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomePage"/> - <!--Search for word "5127AB"--> + <!--Search for word "5127S"--> <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="search1"> - <argument name="phrase" value="5127AB"/> + <argument name="phrase" value="5127S"/> </actionGroup> <!--Assert that product1 is present in the search result--> - <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct1inAB"> + <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct1"> <argument name="productName" value="$$product1.name$$"/> </actionGroup> <!--Assert that product2 is not present in the search result--> @@ -88,11 +88,11 @@ <argument name="productName" value="$$product2.name$$"/> </actionGroup> <!--Assert that product2 is not present in the search result--> - <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct3inAB"> + <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct3"> <argument name="productName" value="$$product3.name$$"/> </actionGroup> <!--Assert that product4 is present in the search result--> - <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct4inAB"> + <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct4"> <argument name="productName" value="$$product4.name$$"/> </actionGroup> <!--Assert that product5 is not present in the search result--> @@ -100,7 +100,7 @@ <argument name="productName" value="$$product5.name$$"/> </actionGroup> <!--Assert that product6 is not present in the search result--> - <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct6inAB"> + <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct6"> <argument name="productName" value="$$product6.name$$"/> </actionGroup> @@ -163,4 +163,3 @@ </actionGroup> </test> </tests> - From 0f24d783052dbe6313f9fee90aa7345a05c323ae Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:03:37 +0530 Subject: [PATCH 18/42] ACQE-7381 | [MFTF TESTS] StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest --- ...tomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index ff14cb6ec894e..a17ce096a95f9 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -62,9 +62,6 @@ <!-- Fill the guest form --> <actionGroup ref="FillGuestCheckoutShippingAddressFormActionGroup" stepKey="fillGuestForm"/> - <click selector="{{CheckoutShippingMethodsSection.checkShippingMethodByName('Flat Rate')}}" - stepKey="selectFlatShippingMethod"/> - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMask"/> <actionGroup ref="StorefrontCheckoutClickNextButtonActionGroup" stepKey="clickOnNextButton"/> <waitForElementVisible selector="{{CheckoutPaymentSection.bankTransfer}}" stepKey="waitForPlaceOrderButton"/> <checkOption selector="{{CheckoutPaymentSection.bankTransfer}}" stepKey="selectBankTransfer"/> From 4d3df3c134929190aa22833a2a9a97e389e24f9d Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:47:49 +0530 Subject: [PATCH 19/42] [AC-2832]Print Shipping Labels from Actions dropdown from the FedEx submitted shipment, validate the file gets downloaded successfully. --- .../Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml b/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml index 4030b7b068cbf..893ebacc88b71 100644 --- a/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml +++ b/app/code/Magento/Shipping/Test/Mftf/Test/AdminPrintShippingLabelForFedexShipmentTest.xml @@ -15,7 +15,7 @@ <description value="Admin Print Shipping Labels from Actions dropdown from the FedEx submitted shipment"/> <severity value="MAJOR"/> <testCaseId value="AC-2832"/> -<!-- <group value="pr_exclude"/>--> + <group value="pr_exclude"/> <group value="3rd_party_integration"/> </annotations> <before> From 80e9a0c72cfdff86cdac7a0769312749f709a97c Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:31:12 +0530 Subject: [PATCH 20/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest From adc275aeb209d21bdf0c512c14a45137635b63cd Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:21:35 +0530 Subject: [PATCH 21/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest From cfd6ae067035638260de9abb266a2ac16b3fe82b Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:22:22 +0530 Subject: [PATCH 22/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- .../Test/StorefrontPartialWordQuickSearchStemmingTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml index 24cd46b2bbcf7..1d5b3456068d9 100644 --- a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml +++ b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> From 86078eb64252902b471273234246cf7716fe12c3 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:31:16 +0530 Subject: [PATCH 23/42] ACQE-7385 | [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- .../Test/StoreFrontAddOutOfStockProductToShoppingCartTest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/CatalogInventory/Test/Mftf/Test/StoreFrontAddOutOfStockProductToShoppingCartTest.xml b/app/code/Magento/CatalogInventory/Test/Mftf/Test/StoreFrontAddOutOfStockProductToShoppingCartTest.xml index fd74b054fe887..77d7d9bc8832a 100644 --- a/app/code/Magento/CatalogInventory/Test/Mftf/Test/StoreFrontAddOutOfStockProductToShoppingCartTest.xml +++ b/app/code/Magento/CatalogInventory/Test/Mftf/Test/StoreFrontAddOutOfStockProductToShoppingCartTest.xml @@ -30,7 +30,7 @@ <requiredEntity createDataKey="createCategory"/> </createData> <!-- Create SimpleProductwithPrice100 --> - <createData entity="SimpleProductQty100" stepKey="simpleProductOne"> + <createData entity="ApiSimpleProduct" stepKey="simpleProductOne"> <requiredEntity createDataKey="createSubcategory"/> </createData> <!-- Go To Subcategory Page--> From 8b5c27084a992a3eff3d23a34a5e6b4c688ef828 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:36:02 +0530 Subject: [PATCH 24/42] ACQE-7372 | [MFTF TESTS] StorefrontPartialWordQuickSearchStemmingTest --- ...refrontPartialWordQuickSearchStemmingTest.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml index 1d5b3456068d9..f0085355c7be5 100644 --- a/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml +++ b/app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontPartialWordQuickSearchStemmingTest.xml @@ -75,12 +75,13 @@ </after> <!--Navigate to home page--> <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomePage"/> - <!--Search for word "5127S"--> + <!--Search for word "5127AB"--> <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="search1"> - <argument name="phrase" value="5127S"/> + <argument name="phrase" value="5127AB"/> </actionGroup> <!--Assert that product1 is present in the search result--> - <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct1"> + <comment userInput="BIC workaround" stepKey="seeProduct1"/> + <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct1inAB"> <argument name="productName" value="$$product1.name$$"/> </actionGroup> <!--Assert that product2 is not present in the search result--> @@ -88,11 +89,13 @@ <argument name="productName" value="$$product2.name$$"/> </actionGroup> <!--Assert that product2 is not present in the search result--> - <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct3"> + <comment userInput="BIC workaround" stepKey="dontSeeProduct3"/> + <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct3inAB"> <argument name="productName" value="$$product3.name$$"/> </actionGroup> <!--Assert that product4 is present in the search result--> - <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct4"> + <comment userInput="BIC workaround" stepKey="seeProduct4"/> + <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct4inAB"> <argument name="productName" value="$$product4.name$$"/> </actionGroup> <!--Assert that product5 is not present in the search result--> @@ -100,7 +103,8 @@ <argument name="productName" value="$$product5.name$$"/> </actionGroup> <!--Assert that product6 is not present in the search result--> - <actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct6"> + <comment userInput="BIC workaround" stepKey="dontSeeProduct6"/> + <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct6inAB"> <argument name="productName" value="$$product6.name$$"/> </actionGroup> From b5b723654991b9642a105bccb38b4386a5baef8a Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:38:47 +0530 Subject: [PATCH 25/42] ACQE-7381 | [MFTF TESTS] StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest --- ...stomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index a17ce096a95f9..33a87e62dbc43 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -15,6 +15,8 @@ <severity value="CRITICAL"/> <testCaseId value="MC-14706"/> <group value="mtf_migrated"/> + <!-- Will be fixed in scope of ACQE-7381 --> + <group value="pr_exclude"/> </annotations> <before> From 1b0a64dc535d06828c24bd303ee617526523186d Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:40:02 +0530 Subject: [PATCH 26/42] ACQE-7381 | [MFTF TESTS] StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest --- ...omerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index 33a87e62dbc43..a58c71734cf79 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" From 66e1840b8159a649299207e562624f0ad9ee3918 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:32:40 +0530 Subject: [PATCH 27/42] ACQE-7464 | [MFTF TESTS] VerifyDisableDownloadableProductSamplesAreNotAccessibleTest --- ...ifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml index 1529750cbb293..2a8e92997a6c1 100644 --- a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml +++ b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml @@ -19,6 +19,8 @@ <useCaseId value="MC-14824"/> <group value="downloadable"/> <group value="catalog"/> + <!-- Will be fixed in the scope of ACQE-7464 --> + <group value="pr_exclude"/> </annotations> <before> <!-- Add downloadable domains --> From a83985079e489f5a9782bd791fc76512945e59ea Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:34:06 +0530 Subject: [PATCH 28/42] ACQE-6361 | [AC-3995] Customer is notified if address is invalid for PayPal through Checkout flow --- .../Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index cb7a586faed41..fef7b1ce9af1e 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -18,6 +18,8 @@ <testCaseId value="MC-14742"/> <group value="checkout"/> <group value="mtf_migrated"/> + <!--Will be fixed in the scope of ACQE-7434 --> + <group value="pr_exclude"/> </annotations> <before> <magentoCLI stepKey="addDownloadableDomain" command="downloadable:domains:add static.magento.com"/> From f62e369ec0c1c9281672f9ccda2e27d85b0a3d7c Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:43:46 +0530 Subject: [PATCH 29/42] ACQE-7381 | [MFTF TESTS] StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest Test Fix --- ...merCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index a58c71734cf79..5ea407b44c8db 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -15,13 +15,14 @@ <severity value="CRITICAL"/> <testCaseId value="MC-14706"/> <group value="mtf_migrated"/> - <!-- Will be fixed in scope of ACQE-7381 --> - <group value="pr_exclude"/> </annotations> <before> <magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/> <actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminPanel"/> + <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethod"> + <argument name="status" value="0"/> + </actionGroup> <magentoCLI command="config:set {{EnablePaymentBankTransferConfigData.path}} {{EnablePaymentBankTransferConfigData.value}}" stepKey="enableBankTransferPayment"/> <createData entity="SimpleProduct2" stepKey="simpleProduct"> <field key="price">50.00</field> From 6a17348129030f5096d68a503e0b5a14f8e39cd4 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:45:52 +0530 Subject: [PATCH 30/42] ACQE-7434 | [MFTF TESTS] OnePageCheckoutWithAllProductTypesTest --- .../Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index fef7b1ce9af1e..3bf6a85509c71 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -18,14 +18,12 @@ <testCaseId value="MC-14742"/> <group value="checkout"/> <group value="mtf_migrated"/> - <!--Will be fixed in the scope of ACQE-7434 --> - <group value="pr_exclude"/> </annotations> <before> <magentoCLI stepKey="addDownloadableDomain" command="downloadable:domains:add static.magento.com"/> <!-- Create category --> <createData entity="_defaultCategory" stepKey="createCategory"/> - + <!-- Create Configurable Product --> <createData entity="ApiConfigurableProduct" stepKey="createConfigProduct"> <requiredEntity createDataKey="createCategory"/> @@ -89,6 +87,9 @@ <!-- Create customer --> <createData entity="Simple_Customer_Without_Address" stepKey="createCustomer"/> + <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethod"> + <argument name="status" value="0"/> + </actionGroup> <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex"> <argument name="indices" value="cataloginventory_stock"/> From e016a937ed5804b7f8f8779fb5586c0fc2da9bcf Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:57:14 +0530 Subject: [PATCH 31/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- ...CheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index 5ea407b44c8db..fe194e10cc10a 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -20,8 +20,12 @@ <before> <magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/> <actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminPanel"/> - <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethod"> - <argument name="status" value="0"/> + <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/> + <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="switchDefaultWebsite"> + <argument name="website" value="_defaultWebsite"/> + </actionGroup> + <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> + <argument name="status" value="1"/> </actionGroup> <magentoCLI command="config:set {{EnablePaymentBankTransferConfigData.path}} {{EnablePaymentBankTransferConfigData.value}}" stepKey="enableBankTransferPayment"/> <createData entity="SimpleProduct2" stepKey="simpleProduct"> From 7dc6ba47292f4b0d81b3b9dc8214cbd57d0809bc Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:59:22 +0530 Subject: [PATCH 32/42] ACQE-7381 | [MFTF TESTS] StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest --- .../Test/OnePageCheckoutWithAllProductTypesTest.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index 3bf6a85509c71..027ebcda42b57 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -87,9 +87,6 @@ <!-- Create customer --> <createData entity="Simple_Customer_Without_Address" stepKey="createCustomer"/> - <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethod"> - <argument name="status" value="0"/> - </actionGroup> <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex"> <argument name="indices" value="cataloginventory_stock"/> @@ -123,6 +120,13 @@ <argument name="indices" value=""/> </actionGroup> </after> + <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/> + <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="switchDefaultWebsite"> + <argument name="website" value="_defaultWebsite"/> + </actionGroup> + <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> + <argument name="status" value="1"/> + </actionGroup> <!-- Add Simple Product to cart --> <amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.custom_attributes[url_key]$$)}}" stepKey="navigateToSimpleProductPage"/> From ca2689a027e19a95f9fedb460b23f56908205f7a Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:01:18 +0530 Subject: [PATCH 33/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- ...stomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index fe194e10cc10a..65cbba8b70429 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -25,7 +25,7 @@ <argument name="website" value="_defaultWebsite"/> </actionGroup> <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> - <argument name="status" value="1"/> + <argument name="status" value="0"/> </actionGroup> <magentoCLI command="config:set {{EnablePaymentBankTransferConfigData.path}} {{EnablePaymentBankTransferConfigData.value}}" stepKey="enableBankTransferPayment"/> <createData entity="SimpleProduct2" stepKey="simpleProduct"> From 203e6bcaf1a2ad1b747fd3b8c2dfff18b3daf0f5 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:01:48 +0530 Subject: [PATCH 34/42] ACQE-7386 | [MFTF TESTS] StorefrontAddProductToCartVerifyThatErrorMessageShouldNotDisappearTest --- .../Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index 027ebcda42b57..12868bb504707 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -125,7 +125,7 @@ <argument name="website" value="_defaultWebsite"/> </actionGroup> <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> - <argument name="status" value="1"/> + <argument name="status" value="0"/> </actionGroup> <!-- Add Simple Product to cart --> From 1a076216d4f071ad07f432056d1b860c9a9b5430 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:25:00 +0530 Subject: [PATCH 35/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- ...stomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml index 65cbba8b70429..0210088fcf886 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/StorefrontUSCustomerCheckoutWithCouponAndBankTransferPaymentMethodTest.xml @@ -27,6 +27,8 @@ <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> <argument name="status" value="0"/> </actionGroup> + <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfigs"/> + <magentoCLI command="config:set {{EnablePaymentBankTransferConfigData.path}} {{EnablePaymentBankTransferConfigData.value}}" stepKey="enableBankTransferPayment"/> <createData entity="SimpleProduct2" stepKey="simpleProduct"> <field key="price">50.00</field> From b2356b1d8b5b660dee87af8fe5ca6c1e6f89cff8 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:25:51 +0530 Subject: [PATCH 36/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- .../Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index 12868bb504707..543054e6db0bd 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -127,7 +127,7 @@ <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> <argument name="status" value="0"/> </actionGroup> - + <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfigs"/> <!-- Add Simple Product to cart --> <amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.custom_attributes[url_key]$$)}}" stepKey="navigateToSimpleProductPage"/> <waitForPageLoad stepKey="waitForSimpleProductPageLoad"/> From abe23e2cd69e2ce6150c6baf02436345bb9723b3 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 17:13:38 +0530 Subject: [PATCH 37/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- .../Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index 543054e6db0bd..53f3ec8af604b 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> From d37f0096abf05785864f3bdb51bfe2eb29dfe529 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 17:14:12 +0530 Subject: [PATCH 38/42] ACQE-7385 | [MFTF TESTS] [MFTF TESTS] StoreFrontAddOutOfStockProductToShoppingCartTest --- ...yDisableDownloadableProductSamplesAreNotAccessibleTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml index 2a8e92997a6c1..38fa36b72fb0a 100644 --- a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml +++ b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ --> From 878f9b7ced0ef13fcef233fe39d5e25d1ec618fc Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:47:50 +0530 Subject: [PATCH 39/42] ACQE-7434 | [MFTF TESTS] OnePageCheckoutWithAllProductTypesTest --- .../Test/AdminImportTableRatesWithSpecificAmountTest.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/code/Magento/OfflineShipping/Test/Mftf/Test/AdminImportTableRatesWithSpecificAmountTest.xml b/app/code/Magento/OfflineShipping/Test/Mftf/Test/AdminImportTableRatesWithSpecificAmountTest.xml index 6ba614423ab60..8a84a50dd3c1e 100644 --- a/app/code/Magento/OfflineShipping/Test/Mftf/Test/AdminImportTableRatesWithSpecificAmountTest.xml +++ b/app/code/Magento/OfflineShipping/Test/Mftf/Test/AdminImportTableRatesWithSpecificAmountTest.xml @@ -44,6 +44,12 @@ <!-- Check Use Default checkbox for Default Condition and Active --> <checkOption selector="{{AdminShippingMethodTableRatesSection.carriersTableRateConditionName}}" stepKey="enableUseDefaultCondition"/> <checkOption selector="{{AdminShippingMethodTableRatesSection.enabledUseSystemValue}}" stepKey="enableUseDefaultActive"/> + <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreView"> + <argument name="website" value="_defaultWebsite"/> + </actionGroup> + <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethod"> + <argument name="status" value="0"/> + </actionGroup> <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfigs"/> <!-- Log out --> <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> From 67ef958b5bd41e29c1997cd86de657425475e87c Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Wed, 15 Jan 2025 19:49:47 +0530 Subject: [PATCH 40/42] ACQE-7434 | [MFTF TESTS] OnePageCheckoutWithAllProductTypesTest --- .../Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml index 53f3ec8af604b..fd94ea275b90e 100644 --- a/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml +++ b/app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml @@ -120,14 +120,6 @@ <argument name="indices" value=""/> </actionGroup> </after> - <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/> - <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="switchDefaultWebsite"> - <argument name="website" value="_defaultWebsite"/> - </actionGroup> - <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethodForDefaultWebsite"> - <argument name="status" value="0"/> - </actionGroup> - <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfigs"/> <!-- Add Simple Product to cart --> <amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.custom_attributes[url_key]$$)}}" stepKey="navigateToSimpleProductPage"/> <waitForPageLoad stepKey="waitForSimpleProductPageLoad"/> From cff90e78f921a45f162543d73a9efbdba65b20df Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:50:32 +0530 Subject: [PATCH 41/42] ACQE-7465 | [MFTF TESTS] VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest --- ...ifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml index 337d4c7dd38b5..c94b925334d54 100644 --- a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml +++ b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml @@ -18,6 +18,8 @@ <testCaseId value="MC-35639"/> <group value="downloadable"/> <group value="catalog"/> + <!-- Will be fixed in the scope of ACQE-7465 --> + <group value="pr_exclude"/> </annotations> <before> <!-- Enable show out of stock product --> From 784c1dd0a4790227d73513c998fc43297a7d8066 Mon Sep 17 00:00:00 2001 From: manjusha729 <93243302+manjusha729@users.noreply.github.com> Date: Thu, 16 Jan 2025 10:30:04 +0530 Subject: [PATCH 42/42] ACQE-7386 | [MFTF TESTS] StorefrontAddProductToCartVerifyThatErrorMessageShouldNotDisappearTest --- ...yOutOfStockDownloadableProductSamplesAreAccessibleTest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml index c94b925334d54..9044a2f4521e3 100644 --- a/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml +++ b/app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- /** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * Copyright 2024 Adobe + * All Rights Reserved. */ -->