Skip to content

Commit 316d0e7

Browse files
committed
MC:20074: Fix Skipped MFTF Tests From MC-17140: MC-14104, MC-14502, MC-14532
- Added the changes to the JS test
1 parent f71f123 commit 316d0e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
</annotations>
2222
<before>
2323
<magentoCLI command="config:set {{MinifyJavaScriptFilesEnableConfigData.path}} {{MinifyJavaScriptFilesEnableConfigData.value}}" stepKey="enableJsMinification"/>
24-
<actionGroup ref="LoginActionGroup" stepKey="loginAsAdmin"/>
24+
<amOnPage url="{{_ENV.MAGENTO_BACKEND_NAME}}" stepKey="navigateToAdminPage"/>
25+
<fillField userInput="{{_ENV.MAGENTO_ADMIN_USERNAME}}" selector="{{AdminLoginFormSection.username}}" stepKey="fillUsernameOnLoginPage"/>
26+
<fillField userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}" selector="{{AdminLoginFormSection.password}}" stepKey="fillPasswordOnPage"/>
27+
<click selector="{{AdminLoginFormSection.signIn}}" stepKey="clickAdminLogin"/>
2528
<see userInput="Dashboard" selector="{{AdminHeaderSection.pageTitle}}" stepKey="seeDashboardTitle"/>
2629
</before>
2730
<after>

0 commit comments

Comments
 (0)