Skip to content

Commit 09401d4

Browse files
Sahil.kumarSahil.kumar
authored andcommitted
Added reset code
1 parent 59e8b00 commit 09401d4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

app/code/Magento/Backend/Test/Mftf/Test/AdminVerifyStateProvinceRequiredOnAddingNewAddressPageTest.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,19 @@
2626
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2727
</before>
2828
<after>
29+
<!-- Set locale options to en_US-->
30+
<magentoCLI stepKey="localeUS" command="config:set general/locale/code en_US"/>
31+
<!-- Change Admin locale to default -->
32+
<actionGroup ref="SetAdminAccountActionGroup" stepKey="setAdminAccountToFrance">
33+
<argument name="InterfaceLocaleByValue" value="en_US" />
34+
</actionGroup>
2935
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
36+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
37+
<argument name="indices" value=""/>
38+
</actionGroup>
39+
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
40+
<argument name="tags" value=""/>
41+
</actionGroup>
3042
</after>
3143

3244
<!-- Open Admin Store Configuration Page -->
@@ -62,5 +74,3 @@
6274

6375
</test>
6476
</tests>
65-
66-

0 commit comments

Comments
 (0)