-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔃 [Magento Community Engineering] Community Contributions - 2.4-devel…
…op latest changes Accepted Community Pull Requests: - #29829: [MFTF] add new AdminOpenWebConfigurationPageActionGroup (by @Usik2203) - #29821: [MFTF] use AdminOpenCreateNewCMSPageActionGroup for navigation to create new cms page (by @Usik2203) - #29832: [MFTF] use ActionGroup for navigation to checkout page (by @Usik2203) - #29830: [MFTF] add new AdminOpenAdminThreeDSecurePageActionGroup (by @Usik2203) - #29828: [MFTF] add new AdminOpenGeneralConfigurationPageActionGroup (by @Usik2203) - #29820: [MFTF] Added new ActionGroup for clicking AddToCart button (by @Usik2203) - #25244: #25192 fixed (by @vishalverma279) - #28343: Added missing aclResource attribute to Backend Header AdminNotification Toolbar Block (by @denysbabenko) - #27129: Improve performance of "in" condition on some version of MySQl (by @kandy) - #27269: #26288 Throw an exception when a customer does not exist requests password reset (by @Bal2018) Fixed GitHub Issues: - #29846: [Issue] [MFTF] add new AdminOpenWebConfigurationPageActionGroup (reported by @m2-assistant[bot]) has been fixed in #29829 by @Usik2203 in 2.4-develop branch Related commits: 1. 66184fd 2. 81ef092 3. d76e664 - #29824: [Issue] [MFTF] use AdminOpenCreateNewCMSPageActionGroup for navigation to create new cms page (reported by @m2-assistant[bot]) has been fixed in #29821 by @Usik2203 in 2.4-develop branch Related commits: 1. 6e7914f 2. e23ab45 3. 7aa7f6e - #29843: [Issue] [MFTF] use ActionGroup for navigation to checkout page (reported by @m2-assistant[bot]) has been fixed in #29832 by @Usik2203 in 2.4-develop branch Related commits: 1. 45f834c 2. ce4caae 3. 9ae704d - #29845: [Issue] [MFTF] add new AdminOpenAdminThreeDSecurePageActionGroup (reported by @m2-assistant[bot]) has been fixed in #29830 by @Usik2203 in 2.4-develop branch Related commits: 1. 3cfa6aa 2. c0241d4 - #29847: [Issue] [MFTF] add new AdminOpenGeneralConfigurationPageActionGroup (reported by @m2-assistant[bot]) has been fixed in #29828 by @Usik2203 in 2.4-develop branch Related commits: 1. ef7b93b 2. a77b364 - #29823: [Issue] [MFTF] Added new ActionGroup for clicking AddToCart button (reported by @m2-assistant[bot]) has been fixed in #29820 by @Usik2203 in 2.4-develop branch Related commits: 1. 8e6cb13 2. 0eff627 - #25192: DHL Shipping (reported by @insaurabh) has been fixed in #25244 by @vishalverma279 in 2.4-develop branch Related commits: 1. 4ac223b 2. a220df1 3. ab97e97 4. cef3fe7 - #29067: [Issue] Added missing aclResource attribute to Backend Header AdminNotification Toolbar Block (reported by @m2-assistant[bot]) has been fixed in #28343 by @denysbabenko in 2.4-develop branch Related commits: 1. 7ad6cdf 2. cff0e98 3. 9694e2a 4. 3d3c5c4 5. 407fb74 6. e495a51 7. 274103d 8. 44963c2 9. 205c088 10. 0bbc990 11. 0649a6f 12. 8ad66e1 - #25199: Catalog Category Indexing takes very long on MariaDB 10.3 with many products (reported by @amenk) has been fixed in #27129 by @kandy in 2.4-develop branch Related commits: 1. f70f1d2 2. 27e1c6e 3. 4a22091 4. a36c9a9 5. 1515252 6. f2bba37 7. e099ad1 8. 00f1377 9. 6587c57 10. fd21e1f 11. e17a4b6 12. 9e1b438 13. 503f0bd 14. 912cfd8 15. 05e0e15 16. 18f7d85 17. 12d3ebf 18. 88f10c5 19. b7722a1 20. d7fdd07 - #26288: missing Throw in copy pasted code (reported by @angelomaragna) has been fixed in #27269 by @Bal2018 in 2.4-develop branch Related commits: 1. de530f7 2. f44add2 3. 1bd7d1e 4. 5d11fdc 5. 4595009 6. d30e5e2 7. 000c822 8. 239037a 9. baf892e 10. c3855c8 11. bcc29ed
- Loading branch information
Showing
91 changed files
with
884 additions
and
410 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
app/code/Magento/AdminNotification/Test/Mftf/Section/AdminNotificationToolbarSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
*/ | ||
--> | ||
|
||
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd"> | ||
<section name="AdminNotificationToolbarSection"> | ||
<element name="notification" type="block" selector=".notifications-wrapper.admin__action-dropdown-wrap"/> | ||
<element name="notificationCounter" type="block" selector=".notifications-action.admin__action-dropdown .notifications-counter"/> | ||
</section> | ||
</sections> |
64 changes: 64 additions & 0 deletions
64
...e/Magento/AdminNotification/Test/Mftf/Test/AdminSystemNotificationToolbarBlockAclTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="AdminSystemNotificationToolbarBlockAclTest"> | ||
<annotations> | ||
<features value="AdminNotification"/> | ||
<stories value="Acl notification toolbar"/> | ||
<title value="Admin system notification toolbar block acl test"/> | ||
<description value="Admin should not see system notification toolbar block if acl not restricted"/> | ||
<severity value="MAJOR"/> | ||
<testCaseId value="MC-36011"/> | ||
<group value="menu"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="LoginAsAdmin"/> | ||
|
||
<actionGroup ref="AdminFillUserRoleRequiredDataActionGroup" stepKey="fillUserRoleRequiredData"> | ||
<argument name="User" value="adminRole"/> | ||
<argument name="restrictedRole" value="Stores"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminUserClickRoleResourceTabActionGroup" stepKey="goToRoleResourcesTab" /> | ||
<actionGroup ref="AdminAddRestrictedRoleActionGroup" stepKey="addRestrictedRoleStores"> | ||
<argument name="User" value="adminRole"/> | ||
<argument name="restrictedRole" value="Products"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminUserSaveRoleActionGroup" stepKey="saveUserRole" /> | ||
|
||
<actionGroup ref="AdminCreateUserActionGroup" stepKey="createAdminUser"> | ||
<argument name="role" value="adminRole"/> | ||
<argument name="User" value="admin2"/> | ||
</actionGroup> | ||
|
||
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutOfAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutAsSaleRoleUser"/> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> | ||
<!--Delete created data--> | ||
<actionGroup ref="AdminUserOpenAdminRolesPageActionGroup" stepKey="navigateToUserRoleGrid"/> | ||
<actionGroup ref="AdminDeleteRoleActionGroup" stepKey="deleteUserRole"> | ||
<argument name="role" value="adminRole"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminOpenAdminUsersPageActionGroup" stepKey="goToAllUsersPage"/> | ||
<actionGroup ref="AdminDeleteNewUserActionGroup" stepKey="deleteUser"> | ||
<argument name="userName" value="{{admin2.username}}"/> | ||
</actionGroup> | ||
</after> | ||
|
||
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsNewUser"> | ||
<argument name="username" value="{{admin2.username}}"/> | ||
<argument name="password" value="{{admin2.password}}"/> | ||
</actionGroup> | ||
|
||
<waitForPageLoad stepKey="waitBeforePageLoad"/> | ||
<dontSeeElement selector="{{AdminNotificationToolbarSection.notification}}" stepKey="doNotSeeNotificationBellIcon"/> | ||
</test> | ||
</tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...de/Magento/Backend/Test/Mftf/ActionGroup/AdminOpenGeneralConfigurationPageActionGroup.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="AdminOpenGeneralConfigurationPageActionGroup"> | ||
<annotations> | ||
<description>Open general configuration page.</description> | ||
</annotations> | ||
|
||
<amOnPage url="{{GeneralConfigurationPage.url}}" stepKey="openGeneralConfigurationPage"/> | ||
<waitForPageLoad stepKey="waitForPageLoad"/> | ||
</actionGroup> | ||
</actionGroups> |
19 changes: 19 additions & 0 deletions
19
app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminOpenWebConfigurationPageActionGroup.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="AdminOpenWebConfigurationPageActionGroup"> | ||
<annotations> | ||
<description>Open web configuration page.</description> | ||
</annotations> | ||
|
||
<amOnPage url="{{WebConfigurationPage.url}}" stepKey="openWebConfigurationPage"/> | ||
<waitForPageLoad stepKey="waitPageToLoad"/> | ||
</actionGroup> | ||
</actionGroups> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ento/CardinalCommerce/Test/Mftf/ActionGroup/AdminOpenAdminThreeDSecurePageActionGroup.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="AdminOpenAdminThreeDSecurePageActionGroup"> | ||
<annotations> | ||
<description>Open ThreeDSecure page.</description> | ||
</annotations> | ||
|
||
<amOnPage url="{{AdminThreeDSecurePage.url}}" stepKey="openAdminThreeDSecurePage"/> | ||
<waitForPageLoad stepKey="waitThreeDSecurePageToLoad"/> | ||
</actionGroup> | ||
</actionGroups> |
Oops, something went wrong.