Skip to content

Commit 66206e6

Browse files
committed
Merge branch 'MC-42750' of https://github.com/magento-l3/magento2ce into L3-PR-20211001
2 parents c1828e9 + e801ea0 commit 66206e6

File tree

6 files changed

+37
-3
lines changed

6 files changed

+37
-3
lines changed

app/code/Magento/Customer/Test/Mftf/Test/AdminCreateCustomerWithCustomGroupTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
</annotations>
2020

2121
<before>
22+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
23+
<argument name="indices" value="customer_grid"/>
24+
</actionGroup>
2225
<createData entity="CustomCustomerGroup" stepKey="customerGroup" />
2326
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2427
</before>

app/code/Magento/Customer/Test/Mftf/Test/AdminCreateCustomerWithoutAddressTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
</annotations>
2020

2121
<before>
22+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAfterTest">
23+
<argument name="indices" value="customer_grid"/>
24+
</actionGroup>
2225
<actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminPanel"/>
2326
</before>
2427
<after>

app/code/Magento/Customer/Test/Mftf/Test/AdminSearchCustomerAddressByKeywordTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020

2121
<before>
2222
<createData entity="Simple_US_Customer_Multiple_Addresses" stepKey="createCustomer"/>
23-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
23+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
24+
<argument name="indices" value="customer_grid"/>
25+
</actionGroup>
2426
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2527
</before>
2628
<after>

app/code/Magento/Customer/Test/Mftf/Test/AdminUpdateCustomerTest/AdminUpdateCustomerInfoFromDefaultToNonDefaultTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
</annotations>
2121
<before>
2222
<createData stepKey="customer" entity="Simple_Customer_Without_Address"/>
23-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
23+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
24+
<argument name="indices" value="customer_grid"/>
25+
</actionGroup>
2426
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2527
</before>
2628
<after>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10+
<actionGroup name="AdminGridColumnHideActionGroup">
11+
<annotations>
12+
<description>
13+
Hides a column on Admin Grid page.
14+
</description>
15+
</annotations>
16+
<arguments>
17+
<argument name="columnLabel" type="string"/>
18+
</arguments>
19+
<click selector="{{AdminDataGridHeaderSection.columnsToggle}}" stepKey="openColumnsTab"/>
20+
<uncheckOption selector="{{AdminDataGridHeaderSection.columnCheckbox(columnLabel)}}" stepKey="hideColumn"/>
21+
<click selector="{{AdminDataGridHeaderSection.columnsToggle}}" stepKey="closeColumnsTab"/>
22+
<dontSeeElement selector="{{AdminDataGridTableSection.columnHeader(columnLabel)}}" stepKey="dontSeeColumnInGrid"/>
23+
</actionGroup>
24+
</actionGroups>

app/code/Magento/Ui/view/base/web/js/grid/columns/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define([
4848

4949
date = moment.utc(this._super());
5050

51-
if (!_.isUndefined(this.timezone)) {
51+
if (!_.isUndefined(this.timezone) && moment.tz.zone(this.timezone) !== null) {
5252
date = date.tz(this.timezone);
5353
}
5454

0 commit comments

Comments
 (0)