Skip to content

Commit 4cd8bf7

Browse files
committed
[ACQE-7378]Login as customer opt-in checkbox not translatable
Updated section name
1 parent 8c4ef43 commit 4cd8bf7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

app/code/Magento/Config/Test/Mftf/Section/AdminStoresLoginAsCustomerSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<sections
99
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
10-
<section name="AdminStoresCustomerConfigurationSection">
10+
<section name="AdminStoresLoginAsCustomerSection">
1111
<element name="TitleForLoginAsCustomerOptInCheckbox" type="text" selector="//span[normalize-space()='Title for Login as Customer opt-in checkbox']"/>
1212
<element name="LoginAsCustomerOptInCheckboxTextField" type="text" selector="//tr[@id='row_login_as_customer_general_shopping_assistance_checkbox_title']//td[@class='value']"/>
1313
<element name="TitleForLoginAsCustomerCheckboxToolTip" type="text" selector="//span[normalize-space()='Login as Customer checkbox tooltip']"/>

app/code/Magento/Config/Test/Mftf/Test/AdminLoginAsCustomerOptInCheckboxNotTranslatableTest.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@
2626
</after>
2727
<amOnPage url="{{AdminLoginAsCustomerConfigPage.url}}" stepKey="navigateToLoginAsCustomerConfigSection"/>
2828
<!--Look for fields "Title for Login as Customer opt-in checkbox" and "Login as Customer checkbox tooltip"-->
29-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.TitleForLoginAsCustomerOptInCheckbox}}" stepKey="TitleForLoginAsCustomerOptInCheckbox"/>
30-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.LoginAsCustomerOptInCheckboxTextField}}" stepKey="LoginAsCustomerOptInCheckboxTextField"/>
31-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.TitleForLoginAsCustomerCheckboxToolTip}}" stepKey="TitleForLoginAsCustomerCheckboxToolTip"/>
32-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.LoginAsCustomerCheckboxToolTipTextField}}" stepKey="LoginAsCustomerCheckboxToolTipTextField"/>
29+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.TitleForLoginAsCustomerOptInCheckbox}}" stepKey="TitleForLoginAsCustomerOptInCheckbox"/>
30+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.LoginAsCustomerOptInCheckboxTextField}}" stepKey="LoginAsCustomerOptInCheckboxTextField"/>
31+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.TitleForLoginAsCustomerCheckboxToolTip}}" stepKey="TitleForLoginAsCustomerCheckboxToolTip"/>
32+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.LoginAsCustomerCheckboxToolTipTextField}}" stepKey="LoginAsCustomerCheckboxToolTipTextField"/>
3333
<!--Switch to Default Store view-->
3434
<actionGroup ref="SwitchToTheNewStoreViewActionGroup" stepKey="selectDefaultStoreView">
3535
<argument name="storeViewName" value="Default Store View"/>
3636
</actionGroup>
3737
<!--Look for fields "Title for Login as Customer opt-in checkbox" and "Login as Customer checkbox tooltip"-->
38-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.TitleForLoginAsCustomerOptInCheckbox}}" stepKey="TitleForLoginAsCustomerOptInCheckboxInDefaultStoreView"/>
39-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.LoginAsCustomerOptInCheckboxTextField}}" stepKey="LoginAsCustomerOptInCheckboxTextFieldInDefaultStoreView"/>
40-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.TitleForLoginAsCustomerCheckboxToolTip}}" stepKey="TitleForLoginAsCustomerCheckboxToolTipInDefaultStoreView"/>
41-
<waitForElementVisible selector="{{AdminStoresCustomerConfigurationSection.LoginAsCustomerCheckboxToolTipTextField}}" stepKey="LoginAsCustomerCheckboxToolTipTextFieldInDefaultStoreView"/>
38+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.TitleForLoginAsCustomerOptInCheckbox}}" stepKey="TitleForLoginAsCustomerOptInCheckboxInDefaultStoreView"/>
39+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.LoginAsCustomerOptInCheckboxTextField}}" stepKey="LoginAsCustomerOptInCheckboxTextFieldInDefaultStoreView"/>
40+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.TitleForLoginAsCustomerCheckboxToolTip}}" stepKey="TitleForLoginAsCustomerCheckboxToolTipInDefaultStoreView"/>
41+
<waitForElementVisible selector="{{AdminStoresLoginAsCustomerSection.LoginAsCustomerCheckboxToolTipTextField}}" stepKey="LoginAsCustomerCheckboxToolTipTextFieldInDefaultStoreView"/>
4242
</test>
4343
</tests>

0 commit comments

Comments
 (0)