Skip to content

Commit 0ba2720

Browse files
committed
Merge remote-tracking branch 'origin/2.3-develop' into MAGETWO-83820
2 parents 8db32a7 + c804fc0 commit 0ba2720

File tree

8 files changed

+21
-14
lines changed

8 files changed

+21
-14
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimatorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ protected function setUp()
3838

3939
public function testEstimateRowSize()
4040
{
41-
$this->markTestSkipped('Unskip after MAGETWO-89738');
42-
$expectedValue = 2400000;
41+
$expectedValue = 4000000;
4342

4443
$this->websiteManagementMock->expects($this->once())->method('getCount')->willReturn(100);
4544
$collectionMock = $this->createMock(\Magento\Customer\Model\ResourceModel\Group\Collection::class);

app/code/Magento/ReleaseNotification/Ui/DataProvider/Modifier/Notifications.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ private function hideNotification(array $meta)
192192
*/
193193
private function getNotificationContent()
194194
{
195-
$version = $this->getTargetVersion();
196-
$edition = $this->productMetadata->getEdition();
197-
$locale = $this->session->getUser()->getInterfaceLocale();
195+
$version = strtolower($this->getTargetVersion());
196+
$edition = strtolower($this->productMetadata->getEdition());
197+
$locale = strtolower($this->session->getUser()->getInterfaceLocale());
198198

199199
$cacheKey = self::$cachePrefix . $version . "-" . $edition . "-" . $locale;
200200
$modalContent = $this->cacheStorage->load($cacheKey);

app/code/Magento/ReleaseNotification/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<default>
1010
<system>
1111
<release_notification>
12-
<content_url>raw.githubusercontent.com/magento-arcticfoxes/release-notification/master</content_url>
12+
<content_url>magento.com/release_notifications</content_url>
1313
<use_https>1</use_https>
1414
</release_notification>
1515
</system>

app/code/Magento/Ui/view/base/web/js/form/element/url-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ define([
133133
createChildUrlInputComponent: function (value) {
134134
var elementConfig;
135135

136-
if (_.isUndefined(this.linkedElementInstances[value])) {
136+
if (!_.isEmpty(value) && _.isUndefined(this.linkedElementInstances[value])) {
137137
elementConfig = this.urlTypes[value];
138138
layout([elementConfig]);
139139
this.linkedElementInstances[value] = this.requestModule(elementConfig.name);

app/code/Magento/Ui/view/base/web/js/lib/key-codes.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ define([], function () {
2020
39: 'pageRightKey',
2121
17: 'ctrlKey',
2222
18: 'altKey',
23-
16: 'shiftKey'
23+
16: 'shiftKey',
24+
66: 'bKey',
25+
73: 'iKey',
26+
85: 'uKey'
2427
};
2528
});

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Test/AdminSwitchWYSIWYGOptionsCest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
<title value="Admin are able to switch between versions of TinyMCE."/>
1717
<description value="Admin are able to switch between versions of TinyMCE."/>
1818
<severity value="CRITICAL"/>
19-
<group value="skip"/>
20-
<!-- Skipped; see MAGETWO-89417 -->
2119
<testCaseId value="MAGETWO-82936"/>
2220
<!--Skip because of issue MAGETWO-89417-->
2321
<group value="skip"/>
@@ -27,6 +25,7 @@
2725
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
2826
</before>
2927
<amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage1"/>
28+
<waitForPageLoad stepKey="wait1"/>
3029
<conditionalClick stepKey="expandWYSIWYGOptions1" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
3130
<waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox1" />
3231
<uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue1"/>
@@ -35,7 +34,7 @@
3534
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions1" />
3635
<click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig1" />
3736
<amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToPage1"/>
38-
<waitForPageLoad stepKey="wait1"/>
37+
<waitForPageLoad stepKey="wait2"/>
3938
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle1"/>
4039
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab1" />
4140
<waitForElementVisible selector="{{TinyMCESection.TinyMCE4}}" stepKey="waitForTinyMCE4"/>
@@ -54,6 +53,7 @@
5453
<!--see widget on Storefront-->
5554
<see userInput="Hello TinyMCE4!" stepKey="seeContent1"/>
5655
<amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage2"/>
56+
<waitForPageLoad stepKey="wait4"/>
5757
<conditionalClick stepKey="expandWYSIWYGOptions" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
5858
<waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox2" />
5959
<uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue2"/>
@@ -62,7 +62,7 @@
6262
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions2" />
6363
<click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig2" />
6464
<amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToPage2"/>
65-
<waitForPageLoad stepKey="wait2"/>
65+
<waitForPageLoad stepKey="wait5"/>
6666
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle2"/>
6767
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab2" />
6868
<waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3"/>
@@ -77,7 +77,7 @@
7777
<click selector="{{CmsNewPagePageActionsSection.savePage}}" stepKey="clickSavePage2"/>
7878
<!-- Go to storefront cms page, assert cms content -->
7979
<amOnPage url="{{simpleCmsPage.identifier}}" stepKey="amOnPageTestPage2"/>
80-
<waitForPageLoad stepKey="wait4" />
80+
<waitForPageLoad stepKey="wait6" />
8181
<!--see widget on Storefront-->
8282
<see userInput="Hello TinyMCE3!" stepKey="seeContent2"/>
8383
<actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Customer/Test/AdminCreateCustomerTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testCaseId value="MAGETWO-72095"/>
1919
<group value="customer"/>
2020
<group value="create"/>
21+
<group value="skip"/>
2122
</annotations>
2223
<after>
2324
<amOnPage url="admin/admin/auth/logout/" stepKey="amOnLogoutPage"/>

lib/web/jquery/jstree/jquery.hotkeys.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@
4848

4949
handleObj.handler = function( event ) {
5050
// Don't fire in text-accepting inputs that we didn't directly bind to
51+
/**
52+
* Modified by Magento to ensure it doesn't fire on any content editable areas. This library is no
53+
* longer maintained by its author however we require content editable to behave as expected.
54+
*/
5155
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
52-
event.target.type === "text") ) {
56+
event.target.type === "text" || jQuery(event.target).attr('contenteditable')) ) {
5357
return;
5458
}
5559

0 commit comments

Comments
 (0)