|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 11 | + <test name="AdminPrivacyPolicyTest"> |
| 12 | + <annotations> |
| 13 | + <features value="Backend"/> |
| 14 | + <stories value="Checks to see if privacy policy url is in the admin page and every sub page"/> |
| 15 | + <title value="There should be a privacy policy url in the admin page and every sub page"/> |
| 16 | + <description value="There should be a privacy policy url in the admin page and every sub page"/> |
| 17 | + <severity value="CRITICAL"/> |
| 18 | + <testCaseId value="MC-17787"/> |
| 19 | + <group value="backend"/> |
| 20 | + <group value="login"/> |
| 21 | + </annotations> |
| 22 | + |
| 23 | + <!-- Logging in Magento admin and checking for Privacy policy footer in dashboard --> |
| 24 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 25 | + <closeAdminNotification stepKey="closeAdminNotification"/> |
| 26 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkDashboard"/> |
| 27 | + |
| 28 | + <!-- Checking for Privacy policy footer in salesOrderPage --> |
| 29 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToSalesOrder"> |
| 30 | + <argument name="menuUiId" value="magento-sales-sales"/> |
| 31 | + <argument name="submenuUiId" value="magento-sales-sales-order"/> |
| 32 | + </actionGroup> |
| 33 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkSalesOrder"/> |
| 34 | + |
| 35 | + <!-- Checking for Privacy policy footer in catalogProductsPage --> |
| 36 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToCatalogProducts"> |
| 37 | + <argument name="menuUiId" value="magento-catalog-catalog"/> |
| 38 | + <argument name="submenuUiId" value="magento-catalog-catalog-products"/> |
| 39 | + </actionGroup> |
| 40 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkCatalogProducts"/> |
| 41 | + |
| 42 | + <!-- Checking for Privacy policy footer in customersAllCustomersPage --> |
| 43 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToCustomersAllCustomers"> |
| 44 | + <argument name="menuUiId" value="magento-customer-customer"/> |
| 45 | + <argument name="submenuUiId" value="magento-customer-customer-manage"/> |
| 46 | + </actionGroup> |
| 47 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkCustomersAllCustomers"/> |
| 48 | + |
| 49 | + <!-- Checking for Privacy policy footer in marketingCatalogPriceRulePage --> |
| 50 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToMarketingCatalogPriceRule"> |
| 51 | + <argument name="menuUiId" value="magento-backend-marketing"/> |
| 52 | + <argument name="submenuUiId" value="magento-catalogrule-promo-catalog"/> |
| 53 | + </actionGroup> |
| 54 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkMarketingCatalogPriceRule"/> |
| 55 | + |
| 56 | + <!-- Checking for Privacy policy footer in contentBlocksPage --> |
| 57 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToContentBlocks"> |
| 58 | + <argument name="menuUiId" value="magento-backend-content"/> |
| 59 | + <argument name="submenuUiId" value="magento-cms-cms-block"/> |
| 60 | + </actionGroup> |
| 61 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkContentBlocks"/> |
| 62 | + |
| 63 | + <!-- Checking for Privacy policy footer in reportSearcbTermsPage --> |
| 64 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToReportsSearchTerms"> |
| 65 | + <argument name="menuUiId" value="magento-reports-report"/> |
| 66 | + <argument name="submenuUiId" value="magento-search-report-search-term"/> |
| 67 | + </actionGroup> |
| 68 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkReportsSearchTerms"/> |
| 69 | + |
| 70 | + <!-- Checking for Privacy policy footer in storesAllStoresPage --> |
| 71 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToStoresAllStores"> |
| 72 | + <argument name="menuUiId" value="magento-backend-stores"/> |
| 73 | + <argument name="submenuUiId" value="magento-backend-system-store"/> |
| 74 | + </actionGroup> |
| 75 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkStoresAllStores"/> |
| 76 | + |
| 77 | + <!-- Checking for Privacy policy footer in systemImportPage --> |
| 78 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToSystemImport"> |
| 79 | + <argument name="menuUiId" value="magento-backend-system"/> |
| 80 | + <argument name="submenuUiId" value="magento-importexport-system-convert-import"/> |
| 81 | + </actionGroup> |
| 82 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkSystemImport"/> |
| 83 | + |
| 84 | + <!-- Checking for Privacy policy footer in findPartnersAndExtensionsPage --> |
| 85 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToFindPartnersAndExtensions"> |
| 86 | + <argument name="menuUiId" value="magento-marketplace-partners"/> |
| 87 | + <argument name="submenuUiId" value="magento-marketplace-partners"/> |
| 88 | + </actionGroup> |
| 89 | + <seeLink userInput="Privacy Policy" url="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" stepKey="seePrivacyPolicyLinkFindPartnersAndExtensions"/> |
| 90 | + </test> |
| 91 | +</tests> |
| 92 | + |
| 93 | + |
0 commit comments