Skip to content

Commit

Permalink
🔃 [Magento Community Engineering] Community Contributions - 2.4-devel…
Browse files Browse the repository at this point in the history
…op latest changes

Accepted Community Pull Requests:
 - #28635: MFTF: Storefront Disabled Customer Wishlist Functionality Test (by @DmitryTsymbal)
 - #28632: MFTF: Admin Deletes Customer's Wishlist Item Test (by @DmitryTsymbal)
 - #28457: MFTF: Refactoring admin url rewrite multiple storeviews product import with config turned off test (by @kate-kyzyma)
 - #28641: MFTF: Sharing Wishlist with more than allowed emails qty test (by @DmitryTsymbal)


Fixed GitHub Issues:
 - #28744: [Issue] MFTF: Storefront Disabled Customer Wishlist Functionality Test (reported by @m2-assistant[bot]) has been fixed in #28635 by @DmitryTsymbal in 2.4-develop branch
   Related commits:
     1. a26e761
     2. 0b7656f
     3. dd156bc
     4. 505dd60

 - #28721: [Issue] MFTF: Admin Deletes Customer's Wishlist Item Test (reported by @m2-assistant[bot]) has been fixed in #28632 by @DmitryTsymbal in 2.4-develop branch
   Related commits:
     1. 6f824a9
     2. de3b17b
     3. 92ffe64
     4. a430ddc

 - #28720: [Issue] MFTF: Sharing Wishlist with more than allowed emails qty test (reported by @m2-assistant[bot]) has been fixed in #28641 by @DmitryTsymbal in 2.4-develop branch
   Related commits:
     1. 7096d82
     2. 98384ce
     3. 33dec49
  • Loading branch information
magento-engcom-team authored Jun 19, 2020
2 parents 0bcb278 + 66b65d2 commit a94aa00
Show file tree
Hide file tree
Showing 12 changed files with 402 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="StorefrontAssertProductPageAddToWishlistButtonIsNotPresentActionGroup">
<dontSee userInput="Add to Wish List" selector="{{StorefrontProductPageSection.addToWishlist}}" stepKey="dontSeeElement"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminCustomerDeleteWishlistItemActionGroup">
<click selector="{{AdminCustomerWishlistSection.deleteButton}}" stepKey="clickDeleteButton"/>
<waitForPageLoad stepKey="waitForResultsLoading"/>
<click selector="{{AdminCustomerWishlistSection.deleteConfirm}}" stepKey="confirmDeleting"/>
<waitForPageLoad stepKey="waitForPageLoading"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminCustomerFindWishlistItemActionGroup">
<arguments>
<argument name="productName" type="string"/>
</arguments>
<fillField userInput="{{productName}}" selector="{{AdminCustomerWishlistSection.productName}}" stepKey="fillProductNameField"/>
<click selector="{{AdminCustomerWishlistSection.searchButton}}" stepKey="clickSearchButton"/>
<waitForPageLoad stepKey="waitForGridLoading"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminNavigateCustomerWishlistTabActionGroup">
<click selector="{{AdminCustomerInformationSection.wishList}}" stepKey="clickWishlistButton"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AssertAdminCustomerNoItemsInWishlistActionGroup">
<see userInput="No Items Found" selector="{{AdminCustomerWishlistSection.gridTable}}" stepKey="assertNoItems"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="StorefrontAssertCustomerSidebarItemIsNotPresentActionGroup">
<arguments>
<argument name="itemName" type="string"/>
</arguments>
<dontSee userInput="{{itemName}}" selector="{{StorefrontCustomerSidebarSection.sidebarTab(itemName)}}" stepKey="dontSeeElement"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
<section name="AdminCustomerWishlistSection">
<element name="productName" type="input" selector="#wishlistGrid_filter_product_name"/>
<element name="searchButton" type="button" selector="#wishlistGrid button[data-action='grid-filter-apply']"/>
<element name="deleteButton" type="text" selector="//*[@id='wishlistGrid_table']//*[@data-column='action']//*[text()='Delete']"/>
<element name="deleteConfirm" type="button" selector=".modal-popup.confirm .action-primary.action-accept"/>
<element name="gridTable" type="text" selector="#wishlistGrid_table"/>
</section>
</sections>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AssertAdminTargetPathIsNotFoundInUrlRewriteGrigActionGroup">
<annotations>
<description>Assert the target path is not shown in the URL Rewrite grid.</description>
</annotations>
<arguments>
<argument name="targetPath" type="string"/>
</arguments>

<dontSeeElement selector="{{AdminUrlRewriteIndexSection.gridCellByColumnValue('Request Path', targetPath)}}"
stepKey="valueIsNotShownInGrid"/>
</actionGroup>
</actionGroups>
Loading

0 comments on commit a94aa00

Please sign in to comment.