Skip to content

Commit fb38d86

Browse files
committed
MC-40240: Product grid date filters does not work for en_GB locale
1 parent 0ca8cc8 commit fb38d86

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminProductGridFilteringByDateWithCustomLocaleTest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@
2727

2828
<!-- Create new User -->
2929
<actionGroup ref="AdminLoginActionGroup" stepKey="adminLogin"/>
30-
<actionGroup ref="AdminCreateUserWithRoleAndLocaleActionGroup" stepKey="createAdminUser">
30+
<actionGroup ref="AdminCreateUserWithRoleActionGroup" stepKey="createAdminUser">
3131
<argument name="user" value="activeAdmin"/>
3232
<argument name="role" value="roleDefaultAdministrator"/>
33-
<argument name="interfaceLocale" value="en_GB"/>
3433
</actionGroup>
3534
</before>
3635
<after>
@@ -87,6 +86,11 @@
8786
<argument name="password" value="{{activeAdmin.password}}"/>
8887
</actionGroup>
8988

89+
<!--Set Admin "Interface Locale" to "English (United Kingdom)"-->
90+
<actionGroup ref="SetAdminAccountActionGroup" stepKey="setAdminInterfaceLocaleToFrance">
91+
<argument name="InterfaceLocaleByValue" value="en_GB"/>
92+
</actionGroup>
93+
9094
<!-- Open Product Index Page and filter the product -->
9195
<actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndex2"/>
9296
<actionGroup ref="FilterProductGridByCustomDateRangeActionGroup" stepKey="filterProductGridByCustomDateRange">

app/code/Magento/User/Test/Mftf/ActionGroup/AdminCreateUserWithRoleAndSetLocaleActionGroup.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)