Skip to content

Commit fd4a70e

Browse files
authored
Merge pull request #8073 from magento-gl/Arrows_regression_issues_2_4_develop_13jan22
AC-7467::Functional AdminUpdateUserRoleTest Failure on 2.4-develop
2 parents 519809e + 7941545 commit fd4a70e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

app/code/Magento/CheckoutAgreements/Test/Mftf/Test/AdminCreateActiveHtmlTermEntityTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
</annotations>
2222
<before>
2323
<magentoCLI command="config:set checkout/options/enable_agreements 1" stepKey="setEnableTermsOnCheckout"/>
24-
24+
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
2525
<createData entity="SimpleTwo" stepKey="createProduct"/>
2626
<magentoCron stepKey="runCronIndex" groups="index"/>
2727

2828
<actionGroup ref="AdminLoginActionGroup" stepKey="adminLogin"/>
2929
</before>
3030
<after>
3131
<magentoCLI command="config:set checkout/options/enable_agreements 0" stepKey="setDisableTermsOnCheckout"/>
32+
<magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey="disableFlatRate"/>
3233
<deleteData createDataKey="createProduct" stepKey="deletedProduct"/>
3334

3435
<actionGroup ref="AdminTermsConditionsOpenGridActionGroup" stepKey="openTermsGridToDelete"/>

app/code/Magento/MediaGalleryUi/Test/Mftf/Test/UserDeletesFolderFromMediaGalleryTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323

2424
<!-- Step2 Disabled Old Media Gallery and Page Builder -->
2525
<magentoCLI command="config:set {{MediaGalleryConfigDataEnabled.path}} {{MediaGalleryConfigDataEnabled.value}}" stepKey="disabledOldMediaGallery"/>
26-
<magentoCLI command="config:set cms/pagebuilder/enabled 0" stepKey="disablePageBuilder"/>
26+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="disablePageBuilder"/>
2727
<magentoCLI command="cache:clean config" stepKey="flushCache"/>
2828
</before>
2929
<after>
3030
<magentoCLI command="config:set {{MediaGalleryConfigDataDisabled.path}} {{MediaGalleryConfigDataDisabled.value}}" stepKey="enableOldMediaGallery"/>
31-
<magentoCLI command="config:set cms/pagebuilder/enabled 1" stepKey="enablePageBuilder"/>
31+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="enablePageBuilder"/>
3232
<magentoCLI command="cache:clean config" stepKey="flushCache"/>
3333
</after>
3434

app/code/Magento/Sales/Test/Mftf/Test/AdminMassOrdersHoldOnCompleteTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<createData entity="defaultSimpleProduct" stepKey="createProduct">
2727
<requiredEntity createDataKey="createCategory"/>
2828
</createData>
29+
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
2930
</before>
3031
<after>
3132
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>

app/code/Magento/User/Test/Mftf/Test/AdminUpdateUserRoleTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
<testCaseId value="MC-27895"/>
1919
<group value="user"/>
2020
<group value="mtf_migrated"/>
21-
<skip>
22-
<issueId value="AC-7467"/>
23-
</skip>
2421
</annotations>
2522
<before>
2623
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
@@ -31,6 +28,7 @@
3128
<!--Create New Role-->
3229
<actionGroup ref="AdminStartCreateUserRoleActionGroup" stepKey="startCreateUserRole">
3330
<argument name="roleName" value="{{roleSales.name}}"/>
31+
<argument name="userPassword" value="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
3432
</actionGroup>
3533
<actionGroup ref="AdminSaveUserRoleActionGroup" stepKey="saveNewRole"/>
3634
</before>

0 commit comments

Comments
 (0)