Skip to content

Commit ae6a2a8

Browse files
committed
#33094 Renamed confusing store select labels - Login As Customer
1 parent 4c26dfa commit ae6a2a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/LoginAsCustomer/Test/Mftf/Section/AdminCustomerConfigSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
<element name="loginAsCustomerSettingsHead" type="text" selector="#login_as_customer_general-head" timeout="30"/>
1414
<element name="enableExtensionLabel" type="text" selector="//span[contains(text(),'Enable Extension') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
1515
<element name="disablePageCacheLabel" type="text" selector="//span[contains(text(),'Disable Page Cache For Admin User') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
16-
<element name="storeViewToLoginToLabel" type="text" selector="//span[contains(text(),'Store View To Login To') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
16+
<element name="storeViewToLoginToLabel" type="text" selector="//span[contains(text(),'Store To Login To') and contains(@data-config-scope,'[GLOBAL]')]" timeout="30"/>
1717
</section>
1818
</sections>

app/code/Magento/LoginAsCustomerAdminUi/Controller/Adminhtml/Login/Login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function execute(): ResultInterface
200200
if ($this->config->isStoreManualChoiceEnabled()) {
201201
$storeId = (int)$this->_request->getParam('store_id');
202202
if (empty($storeId)) {
203-
$messages[] = __('Please select a Store View to login in.');
203+
$messages[] = __('Please select a Store to login in.');
204204
return $this->prepareJsonResult($messages);
205205
}
206206
} elseif ($this->share->isGlobalScope()) {

0 commit comments

Comments
 (0)