-
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.
Merge branch '2.4-develop' into cache-config-builder
- Loading branch information
Showing
4,810 changed files
with
119,951 additions
and
22,359 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
35 changes: 35 additions & 0 deletions
35
app/code/Magento/AdminAnalytics/Test/Mftf/Test/AdminCheckAnalyticsTrackingTest.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,35 @@ | ||
<?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="AdminCheckAnalyticsTrackingTest"> | ||
<annotations> | ||
<stories value="AdminAnalytics Check Tracking."/> | ||
<title value="AdminAnalytics Check Tracking."/> | ||
<description value="AdminAnalytics Check Tracking."/> | ||
<severity value="MINOR"/> | ||
<testCaseId value="MC-36869"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="LoginAsAdmin"/> | ||
<magentoCLI command="config:set admin/usage/enabled 1" stepKey="enableAdminUsageTracking"/> | ||
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches"> | ||
<argument name="tags" value="config full_page"/> | ||
</actionGroup> | ||
<reloadPage stepKey="pageReload"/> | ||
</before> | ||
<after> | ||
<magentoCLI command="config:set admin/usage/enabled 0" stepKey="disableAdminUsageTracking"/> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> | ||
</after> | ||
|
||
<waitForPageLoad stepKey="waitForPageReloaded"/> | ||
<seeInPageSource html="var adminAnalyticsMetadata =" stepKey="seeInPageSource"/> | ||
</test> | ||
</tests> |
26 changes: 0 additions & 26 deletions
26
app/code/Magento/AdminAnalytics/Test/Mftf/Test/TrackingScriptTest.xml
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd"> | ||
<policies> | ||
<policy id="script-src"> | ||
<values> | ||
<value id="adobedtm" type="host">assets.adobedtm.com</value> | ||
</values> | ||
</policy> | ||
<policy id="img-src"> | ||
<values> | ||
<value id="adobedtm" type="host">assets.adobedtm.com</value> | ||
<value id="omtrdc" type="host">amcglobal.sc.omtrdc.net</value> | ||
<value id="dpmdemdex" type="host">dpm.demdex.net</value> | ||
<value id="everesttech" type="host">cm.everesttech.net</value> | ||
</values> | ||
</policy> | ||
<policy id="connect-src"> | ||
<values> | ||
<value id="dpmdemdex" type="host">dpm.demdex.net</value> | ||
<value id="omtrdc" type="host">amcglobal.sc.omtrdc.net</value> | ||
</values> | ||
</policy> | ||
<policy id="frame-src"> | ||
<values> | ||
<value id="amcdemdex" type="host">fast.amc.demdex.net</value> | ||
</values> | ||
</policy> | ||
</policies> | ||
</csp_whitelist> |
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
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
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
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. | ||
*/ | ||
--> | ||
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd"> | ||
<policies> | ||
<policy id="img-src"> | ||
<values> | ||
<value id="commerce_widgets" type="host">widgets.magentocommerce.com</value> | ||
</values> | ||
</policy> | ||
</policies> | ||
</csp_whitelist> | ||
|
Oops, something went wrong.