forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
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.3-develop' into feature/271-Customer-Attributes-Valid…
…ation
- Loading branch information
Showing
327 changed files
with
48,386 additions
and
12,022 deletions.
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
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
23 changes: 23 additions & 0 deletions
23
app/code/Magento/Backend/Test/Mftf/Data/CookieConfigData.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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd"> | ||
<entity name="ChangedCookieDomainForMainWebsiteConfigData"> | ||
<data key="path">web/cookie/cookie_domain</data> | ||
<data key="scope">website</data> | ||
<data key="scope_code">base</data> | ||
<data key="value">testDomain.com</data> | ||
</entity> | ||
<entity name="EmptyCookieDomainForMainWebsiteConfigData"> | ||
<data key="path">web/cookie/cookie_domain</data> | ||
<data key="scope">website</data> | ||
<data key="scope_code">base</data> | ||
<data key="value">''</data> | ||
</entity> | ||
</entities> |
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
34 changes: 34 additions & 0 deletions
34
app/code/Magento/Backend/Test/Mftf/Test/AdminLoginAfterChangeCookieDomainTest.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,34 @@ | ||
<?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="AdminLoginAfterChangeCookieDomainTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Login on the Admin Backend"/> | ||
<title value="Admin user can login after changing cookie domain on main website scope without changing cookie domain on default scope"/> | ||
<description value="Admin user can login after changing cookie domain on main website scope without changing cookie domain on default scope"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-17847"/> | ||
<useCaseId value="MC-17275"/> | ||
<group value="backend"/> | ||
</annotations> | ||
<before> | ||
<magentoCLI command="config:set {{ChangedCookieDomainForMainWebsiteConfigData.path}} --scope={{ChangedCookieDomainForMainWebsiteConfigData.scope}} --scope-code={{ChangedCookieDomainForMainWebsiteConfigData.scope_code}} {{ChangedCookieDomainForMainWebsiteConfigData.value}}" stepKey="changeDomainForMainWebsiteBeforeTestRun"/> | ||
<magentoCLI command="cache:flush config" stepKey="flushCacheBeforeTestRun"/> | ||
</before> | ||
<after> | ||
<magentoCLI command="config:set {{EmptyCookieDomainForMainWebsiteConfigData.path}} --scope={{EmptyCookieDomainForMainWebsiteConfigData.scope}} --scope-code={{EmptyCookieDomainForMainWebsiteConfigData.scope_code}} {{EmptyCookieDomainForMainWebsiteConfigData.value}}" stepKey="changeDomainForMainWebsiteAfterTestComplete"/> | ||
<magentoCLI command="cache:flush config" stepKey="flushCacheAfterTestComplete"/> | ||
</after> | ||
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> | ||
<actionGroup ref="AssertAdminDashboardPageIsVisibleActionGroup" stepKey="seeDashboardPage"/> | ||
<actionGroup ref="logout" stepKey="logoutFromAdmin"/> | ||
</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
93 changes: 93 additions & 0 deletions
93
app/code/Magento/Backend/Test/Mftf/Test/AdminPrivacyPolicyTest.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,93 @@ | ||
<?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="AdminPrivacyPolicyTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Checks to see if privacy policy url is in the admin page and every sub page"/> | ||
<title value="There should be a privacy policy url in the admin page and every sub page"/> | ||
<description value="There should be a privacy policy url in the admin page and every sub page"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-17787"/> | ||
<group value="backend"/> | ||
<group value="login"/> | ||
</annotations> | ||
|
||
<!-- Logging in Magento admin and checking for Privacy policy footer in dashboard --> | ||
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> | ||
<closeAdminNotification stepKey="closeAdminNotification"/> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkDashboard"/> | ||
|
||
<!-- Checking for Privacy policy footer in salesOrderPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToSalesOrder"> | ||
<argument name="menuUiId" value="magento-sales-sales"/> | ||
<argument name="submenuUiId" value="magento-sales-sales-order"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkSalesOrder"/> | ||
|
||
<!-- Checking for Privacy policy footer in catalogProductsPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToCatalogProducts"> | ||
<argument name="menuUiId" value="magento-catalog-catalog"/> | ||
<argument name="submenuUiId" value="magento-catalog-catalog-products"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkCatalogProducts"/> | ||
|
||
<!-- Checking for Privacy policy footer in customersAllCustomersPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToCustomersAllCustomers"> | ||
<argument name="menuUiId" value="magento-customer-customer"/> | ||
<argument name="submenuUiId" value="magento-customer-customer-manage"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkCustomersAllCustomers"/> | ||
|
||
<!-- Checking for Privacy policy footer in marketingCatalogPriceRulePage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToMarketingCatalogPriceRule"> | ||
<argument name="menuUiId" value="magento-backend-marketing"/> | ||
<argument name="submenuUiId" value="magento-catalogrule-promo-catalog"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkMarketingCatalogPriceRule"/> | ||
|
||
<!-- Checking for Privacy policy footer in contentBlocksPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToContentBlocks"> | ||
<argument name="menuUiId" value="magento-backend-content"/> | ||
<argument name="submenuUiId" value="magento-cms-cms-block"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkContentBlocks"/> | ||
|
||
<!-- Checking for Privacy policy footer in reportSearcbTermsPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToReportsSearchTerms"> | ||
<argument name="menuUiId" value="magento-reports-report"/> | ||
<argument name="submenuUiId" value="magento-search-report-search-term"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkReportsSearchTerms"/> | ||
|
||
<!-- Checking for Privacy policy footer in storesAllStoresPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToStoresAllStores"> | ||
<argument name="menuUiId" value="magento-backend-stores"/> | ||
<argument name="submenuUiId" value="magento-backend-system-store"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkStoresAllStores"/> | ||
|
||
<!-- Checking for Privacy policy footer in systemImportPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToSystemImport"> | ||
<argument name="menuUiId" value="magento-backend-system"/> | ||
<argument name="submenuUiId" value="magento-importexport-system-convert-import"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkSystemImport"/> | ||
|
||
<!-- Checking for Privacy policy footer in findPartnersAndExtensionsPage --> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToFindPartnersAndExtensions"> | ||
<argument name="menuUiId" value="magento-marketplace-partners"/> | ||
<argument name="submenuUiId" value="magento-marketplace-partners"/> | ||
</actionGroup> | ||
<seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkFindPartnersAndExtensions"/> | ||
</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
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
11 changes: 11 additions & 0 deletions
11
app/code/Magento/Backend/view/adminhtml/templates/page/privacyPolicy.phtml
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,11 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
?> | ||
|
||
<a class="link-report" href="<?= $block->escapeUrl($block->getPrivacypolicyUrl()) ?>" id="footer_privacy" target="_blank"> | ||
<?= $block->escapeHtml(__('Privacy Policy')) ?> | ||
</a> | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
namespace Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Attributes; | ||
|
||
/** | ||
* Bundle Extended Attribures Block. | ||
* Bundle Extended Attributes Block. | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
|
Oops, something went wrong.