Skip to content

Commit 762d075

Browse files
authored
Merge branch 'magento-commerce:2.4-develop' into ACP2E-782
2 parents 3c5e6af + edfdfa1 commit 762d075

File tree

20 files changed

+1416
-218
lines changed

20 files changed

+1416
-218
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<description value="Admin can EnableManage Stock During Product Creation"/>
1717
<severity value="AVERAGE"/>
1818
<testCaseId value="MC-27457"/>
19+
<group value="catalog"/>
1920
</annotations>
2021
<before>
2122
<!-- Set ManageStock to No-->
@@ -24,6 +25,8 @@
2425
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2526
</before>
2627
<after>
28+
<!-- Set ManageStock to Yes-->
29+
<magentoCLI command="config:set {{CatalogInventoryManageStockDisable.path}} 1" stepKey="manageStockEnable"/>
2730
<!--Logout From Admin Panel -->
2831
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutAsAdmin"/>
2932
</after>

app/code/Magento/Customer/Test/Mftf/Section/AdminCreateUserSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<element name="passwordTextField" type="input" selector="#user_password"/>
2020
<element name="pwConfirmationTextField" type="input" selector="#user_confirmation"/>
2121
<element name="currentPasswordField" type="input" selector="#user_current_password"/>
22+
<element name="expireAtField" type="input" selector="#user_expires_at"/>
2223
<element name="createdRoleInUserPage" type="text" selector="//tr//td[contains(text(), '{{arg}}')]" parameterized="true"/>
2324
<element name="userRoleTab" type="button" selector="#page_tabs_roles_section"/>
2425
<element name="saveButton" type="button" selector="#save"/>

app/code/Magento/Security/etc/db_schema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<table name="admin_user_expiration" resource="default" engine="innodb" comment="Admin User expiration dates table">
6060
<column xsi:type="int" name="user_id" unsigned="true" nullable="false" identity="false"
6161
comment="User ID"/>
62-
<column xsi:type="timestamp" name="expires_at" nullable="false" default="0" comment="User Expiration Date"/>
62+
<column xsi:type="datetime" name="expires_at" nullable="false" default="0" comment="User Expiration Date"/>
6363
<constraint xsi:type="primary" referenceId="PRIMARY">
6464
<column name="user_id"/>
6565
</constraint>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<fillField selector="{{AdminCreateUserSection.passwordTextField}}" userInput="{{user.password}}" stepKey="enterPassword"/>
2727
<fillField selector="{{AdminCreateUserSection.pwConfirmationTextField}}" userInput="{{user.password}}" stepKey="confirmPassword"/>
2828
<fillField selector="{{AdminCreateUserSection.currentPasswordField}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}" stepKey="enterCurrentPassword"/>
29+
<!-- Generate default value -->
30+
<generateDate date="+75 year" format="m/j/Y g:i A" stepKey="generateExpireDate"/>
31+
<fillField selector="{{AdminCreateUserSection.expireAtField}}" userInput="{$generateExpireDate}" stepKey="enterExpireAtField"/>
2932
<scrollToTopOfPage stepKey="scrollToTopOfPage"/>
3033
<click stepKey="clickUserRole" selector="{{AdminCreateUserSection.userRoleTab}}"/>
3134
<click stepKey="chooseRole" selector="{{AdminStoreSection.createdRoleInUserPage(role.name)}}"/>

app/etc/di.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,4 +1973,5 @@
19731973
<argument name="defaultPageSize" xsi:type="number">20</argument>
19741974
</arguments>
19751975
</type>
1976+
<preference for="Magento\Framework\Filter\Input\PurifierInterface" type="Magento\Framework\Filter\Input\Purifier"/>
19761977
</config>

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"composer/composer": "^1.9 || ^2.0",
4242
"elasticsearch/elasticsearch": "~7.17.0",
4343
"guzzlehttp/guzzle": "^7.4.2",
44+
"ezyang/htmlpurifier": "^4.14",
4445
"laminas/laminas-captcha": "^2.12",
4546
"laminas/laminas-code": "~4.5.0",
4647
"laminas/laminas-db": "^2.15.0",

composer.lock

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)