|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright 2024 Adobe |
| 5 | + * All Rights Reserved. |
| 6 | + */ |
| 7 | +--> |
| 8 | +<tests |
| 9 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 11 | + <test name="AdminLoginAsCustomerOptInCheckboxNotTranslatableTest"> |
| 12 | + <annotations> |
| 13 | + <title value="Admin Login as Customer opt-in checkbox not translatable"/> |
| 14 | + <description value="Verify Admin Login as Customer opt-in checkbox not translatable"/> |
| 15 | + <features value="Login as Customer"/> |
| 16 | + <severity value="AVERAGE"/> |
| 17 | + <testCaseId value="AC-13001"/> |
| 18 | + <stories value="Login as Customer opt-in checkbox not translatable"/> |
| 19 | + <group value="login_as_customer"/> |
| 20 | + </annotations> |
| 21 | + <before> |
| 22 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
| 23 | + </before> |
| 24 | + <after> |
| 25 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
| 26 | + </after> |
| 27 | + <amOnPage url="{{AdminLoginAsCustomerConfigPage.url}}" stepKey="navigateToLoginAsCustomerConfigSection"/> |
| 28 | + <!--Look for fields "Title for Login as Customer opt-in checkbox" and "Login as Customer checkbox tooltip"--> |
| 29 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.TitleForLoginAsCustomer('Title for Login as Customer opt-in checkbox')}}" stepKey="TitleForLoginAsCustomerOptInCheckbox"/> |
| 30 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.LoginAsCustomerOptInCheckboxTextField}}" stepKey="LoginAsCustomerOptInCheckboxTextField"/> |
| 31 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.TitleForLoginAsCustomer('Login as Customer checkbox tooltip')}}" stepKey="TitleForLoginAsCustomerCheckboxToolTip"/> |
| 32 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.LoginAsCustomerCheckboxToolTipTextField}}" stepKey="LoginAsCustomerCheckboxToolTipTextField"/> |
| 33 | + <!--Switch to Default Store view--> |
| 34 | + <actionGroup ref="SwitchToTheNewStoreViewActionGroup" stepKey="selectDefaultStoreView"> |
| 35 | + <argument name="storeViewName" value="Default Store View"/> |
| 36 | + </actionGroup> |
| 37 | + <!--Look for fields "Title for Login as Customer opt-in checkbox" and "Login as Customer checkbox tooltip"--> |
| 38 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.TitleForLoginAsCustomer('Title for Login as Customer opt-in checkbox')}}" stepKey="TitleForLoginAsCustomerOptInCheckboxInDefaultStoreView"/> |
| 39 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.LoginAsCustomerOptInCheckboxTextField}}" stepKey="LoginAsCustomerOptInCheckboxTextFieldInDefaultStoreView"/> |
| 40 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.TitleForLoginAsCustomer('Login as Customer checkbox tooltip')}}" stepKey="TitleForLoginAsCustomerCheckboxToolTipInDefaultStoreView"/> |
| 41 | + <waitForElementVisible selector="{{AdminCustomerConfigSection.LoginAsCustomerCheckboxToolTipTextField}}" stepKey="LoginAsCustomerCheckboxToolTipTextFieldInDefaultStoreView"/> |
| 42 | + </test> |
| 43 | +</tests> |
0 commit comments