Skip to content

Commit bcd925a

Browse files
committed
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, MC-14532
- Added the changes to the JS with CLI new commands
1 parent e249408 commit bcd925a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
<group value="mtf_migrated"/>
2121
</annotations>
2222
<before>
23-
<magentoCLI command="config:set {{MinifyJavaScriptFilesEnableConfigData.path}} {{MinifyJavaScriptFilesEnableConfigData.value}}" stepKey="enableJsMinification" timeout="30"/>
24-
<actionGroup ref="LoginActionGroup" stepKey="loginAsAdmin"/>
23+
<magentoCLI command="config:set {{MinifyJavaScriptFilesEnableConfigData.path}} {{MinifyJavaScriptFilesEnableConfigData.value}}" stepKey="enableJsMinification"/>
24+
<magentoCLI command="cache:clean config" stepKey="cleanCache"/>
2525
</before>
2626
<after>
2727
<magentoCLI command="config:set {{MinifyJavaScriptFilesDisableConfigData.path}} {{MinifyJavaScriptFilesDisableConfigData.value}}" stepKey="disableJsMinification"/>
2828
<actionGroup ref="logout" stepKey="logout"/>
2929
</after>
30-
30+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
31+
<see userInput="Dashboard" selector="{{AdminHeaderSection.pageTitle}}" stepKey="seeDashboardTitle"/>
3132
<actionGroup ref="AssertAdminSuccessLoginActionGroup" stepKey="loggedInSuccessfully"/>
3233
<actionGroup ref="AssertAdminPageIsNot404ActionGroup" stepKey="dontSee404Page"/>
3334
</test>

0 commit comments

Comments
 (0)