Skip to content

Integration tests/ fix failed tests#61

Merged
Vinai merged 28 commits intomage-os:2.4-developfrom
vpodorozh:integration-tests/fix-tests
Jan 25, 2024
Merged

Integration tests/ fix failed tests#61
Vinai merged 28 commits intomage-os:2.4-developfrom
vpodorozh:integration-tests/fix-tests

Conversation

@vpodorozh
Copy link
Contributor

@vpodorozh vpodorozh commented Dec 2, 2023

Description (*)

Pull Request must contain fixes and changes to failed/error integration tests and/or functionality they cover.

Related Pull Requests

Current state:

tests total: 13311
failing: 37 ( https://github.com/vpodorozh/mageos-magento2/actions/runs/7476706132 )
tests in unclear status: ~0

Integration Tests Execution results on various Magento versions:

https://docs.google.com/spreadsheets/d/1bGJZ1PBY6HS4hyhJyWVX0SnEOcbESnew40Myo2Bkmn4/edit?usp=sharing

Issues to be Solved/Fixed:

Contribution

  1. Pick up point that is not solved yet and you wanna work on
  2. Solve it and create PR into vpodorozh:integration-tests/fix-tests (this PR branch)
  3. Ping me in Mage-OS Discord and I'll review your PR asap. my discord vladyslavpodorozhnyi

…tStockTest::testProductStockStatusShouldBeUpdatedOnSchedule

          Zend_Db_Exception: Table "catalog_category_product_index_store0_replica" does not exist

Partially reverting fix from Vinai:
`Create category-product index table for store 0 (#47)

 This fixes a regression introduced by pull request
 https://github.com/mage-os/mageos-magento2/pull/25`
…de/Magento/CatalogInventory/Model/StockManagement.php:110

Test: dev/tests/integration/testsuite/Magento/Downloadable/Block/Sales/Order/Email/Items/Order/DownloadableTest.php
Failed due to visibility filter in whishlist collection. Products were not added to root category and not reindexed. So visibility filter ued to exclude them from wishlist items collection: app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection.php:390
@vpodorozh vpodorozh requested a review from a team as a code owner December 2, 2023 14:33
@vpodorozh vpodorozh marked this pull request as draft December 2, 2023 14:34
Include and use changed workflow to have more unitary tests executions
…zend-db#1

Error that was fixed:
Unable to revert fixture: Magento/Framework/Backup/_files/trigger.php
#0 /var/www/html/dev/tests/integration/testsuite/Magento/Framework/Backup/DbTest.php(42): Magento\Framework\Backup\DbTest->testBackupAndRollbackIncludesCustomTriggers()
...
Magento\Framework\Image\Adapter\InterfaceTest::testRotate with data set #4 ('/var/www/html/dev/tests/integ...st.png', 45, array(157, 35), 'IMAGEMAGICK')
ImagickException: unrecognized color `srgb255,255,255' @ warning/color.c/GetColorCompliance/1064
Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
ImagickException: unable to read font `' @ error/annotate.c/RenderFreetype/1636
Magento\Dhl\Model\CarrierTest::testRequestToShip with data set #0 ('GB', 'EU', 'US')
Failed asserting that two DOM documents are equal.

-      <SoftwareName>Magento</SoftwareName>
+      <SoftwareName>Mage-OS</SoftwareName>
@vpodorozh vpodorozh marked this pull request as ready for review December 8, 2023 22:41
@vpodorozh vpodorozh marked this pull request as draft December 8, 2023 22:42
vpodorozh and others added 9 commits December 9, 2023 00:13
Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
PHPUnit\Framework\Exception: Deprecated: Implicit conversion from float 11.34375 to int loses precision in /var/www/html/lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php:505.
Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
PHPUnit\Framework\Exception: Deprecated: Implicit conversion from float 11.34375 to int loses precision in /var/www/html/lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php:505.
Magento\Framework\Image\Adapter\InterfaceTest::testRotate with data set #4 ('/var/www/html/dev/tests/integ...st.png', 45, array(157, 35), 'IMAGEMAGICK')
ImagickException: unrecognized color `srgb255,255,255' @ warning/color.c/GetColorCompliance/1064
…nput-over-test-directory

Add optional param to run tests over specific directory only.
ihor-sviziev and others added 6 commits January 10, 2024 10:45
… resolving):

error msg:
1) Magento\Catalog\Block\Adminhtml\Category\Checkboxes\TreeTest::testGetTreeJson
Error: Call to a member function getConnectionName() on null

/var/www/html/lib/internal/Magento/Framework/App/ResourceConnection.php:110
/var/www/html/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php:570
...

ref: https://github.com/vpodorozh/mageos-magento2/actions/runs/7472531139/job/20334972566#step:6:39
Fix failed integration tests in \Magento\Customer
Fix failed tests: \Magento\Version\Controller\Index\IndexTest
@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Jan 15, 2024

just checked TestModuleOverrideConfig failure https://github.com/vpodorozh/mageos-magento2/actions/runs/7476706132/job/20347768985#step:6:60

It looks like it was added in eceb5d9, and it depends on some overrides.xml file, that isn't triggered when running tests from specific folder. Do anyone know what is the overrides.xml file designed for and how to integrate it properly?

Might be related extdn/github-actions-m2#56, @damienwebdev maybe you know something about it?

@ihor-sviziev
Copy link
Contributor

Hi @vpodorozh,
Could you pls try re-running tests on the latest version? I noticed that some failures aren't reproducing on the 2.4-develop branch, e.g. I suggest reverting some of my changes https://github.com/vpodorozh/mageos-magento2/pull/9.

@vpodorozh
Copy link
Contributor Author

vpodorozh commented Jan 21, 2024

Hi @vpodorozh, Could you pls try re-running tests on the latest version? I noticed that some failures aren't reproducing on the 2.4-develop branch, e.g. I suggest reverting some of my changes vpodorozh#9.

Actually only one thing was fixed in latest 2.4-develop - related to spaces in page generation.
Just merged your revert.

And Magento have added a one more new bug - https://github.com/vpodorozh/mageos-magento2/actions/runs/7596143665/job/20689518571#step:6:34

For detailed test results on various Magento versions (Mage-OS, Magento + latest updated) - lookup here: https://docs.google.com/spreadsheets/d/1bGJZ1PBY6HS4hyhJyWVX0SnEOcbESnew40Myo2Bkmn4/edit?usp=sharing

@vpodorozh vpodorozh marked this pull request as ready for review January 24, 2024 09:28
Copy link
Contributor

@Vinai Vinai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please change those two small things I commented on?

UPDATE: both comments resolved

@vpodorozh
Copy link
Contributor Author

Could you please change those two small things I commented on?

UPDATE: both comments resolved

Great @Vinai . I;ve also double-checked the fix from zend-db - works fine.
So we can merge this PR.

@Vinai Vinai merged commit fb84973 into mage-os:2.4-develop Jan 25, 2024
mage-os-ci added a commit that referenced this pull request Nov 30, 2025
* Integration tests/ fix failed tests (#61)

* Fix \Magento\Paypal\Model\Express\CheckoutTest - dbIsolation missing

* Fix tests Magento\CatalogImportExport\Model\Import\ProductTest\ProductStockTest::testProductStockStatusShouldBeUpdatedOnSchedule
          Zend_Db_Exception: Table "catalog_category_product_index_store0_replica" does not exist

Partially reverting fix from Vinai:
`Create category-product index table for store 0 (#47)

 This fixes a regression introduced by pull request
 https://github.com/mage-os/mageos-magento2/pull/25`

* Fix failing tests with error `undefined key 'product_id`' from app/code/Magento/CatalogInventory/Model/StockManagement.php:110

Test: dev/tests/integration/testsuite/Magento/Downloadable/Block/Sales/Order/Email/Items/Order/DownloadableTest.php

* Fix failed tests: \Magento\Wishlist\Controller\Index\AddTest

Failed due to visibility filter in whishlist collection. Products were not added to root category and not reindexed. So visibility filter ued to exclude them from wishlist items collection: app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection.php:390

* Decrease test-cases - use php 8.2 only for testing purposes
Include and use changed workflow to have more unitary tests executions

* Mark tests as incomplete as actual fix is in: mage-os/mageos-magento-zend-db#1

Error that was fixed:
Unable to revert fixture: Magento/Framework/Backup/_files/trigger.php
#0 /var/www/html/dev/tests/integration/testsuite/Magento/Framework/Backup/DbTest.php(42): Magento\Framework\Backup\DbTest->testBackupAndRollbackIncludesCustomTriggers()
...

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testRotate with data set #4 ('/var/www/html/dev/tests/integ...st.png', 45, array(157, 35), 'IMAGEMAGICK')
ImagickException: unrecognized color `srgb255,255,255' @ warning/color.c/GetColorCompliance/1064

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
ImagickException: unable to read font `' @ error/annotate.c/RenderFreetype/1636

* Fix integration tests error:

Magento\Dhl\Model\CarrierTest::testRequestToShip with data set #0 ('GB', 'EU', 'US')
Failed asserting that two DOM documents are equal.

-      <SoftwareName>Magento</SoftwareName>
+      <SoftwareName>Mage-OS</SoftwareName>

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
PHPUnit\Framework\Exception: Deprecated: Implicit conversion from float 11.34375 to int loses precision in /var/www/html/lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php:505.

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
PHPUnit\Framework\Exception: Deprecated: Implicit conversion from float 11.34375 to int loses precision in /var/www/html/lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php:505.

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testRotate with data set #4 ('/var/www/html/dev/tests/integ...st.png', 45, array(157, 35), 'IMAGEMAGICK')
ImagickException: unrecognized color `srgb255,255,255' @ warning/color.c/GetColorCompliance/1064

* Revert "feat(catalog): faster category product count (#25)"

This reverts commit f01535b.

* Revert "Create category-product index table for store 0 (#47)"

This reverts commit 7be2613.

* Add optional param to run tests over specific directory only.

* Fix failed tests: \Magento\Version\Controller\Index\IndexTest

Update package name to mage-os

* Fix integration tests (most likely caused by incorrect merge conflict resolving):

error msg:
1) Magento\Catalog\Block\Adminhtml\Category\Checkboxes\TreeTest::testGetTreeJson
Error: Call to a member function getConnectionName() on null

/var/www/html/lib/internal/Magento/Framework/App/ResourceConnection.php:110
/var/www/html/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php:570
...

ref: https://github.com/vpodorozh/mageos-magento2/actions/runs/7472531139/job/20334972566#step:6:39

* Fix failed integration tests in \Magento\Customer

* Revert "Fix failed integration tests in \Magento\Customer"

* Update full-integration-tests.yaml

---------

Co-authored-by: Maksym Novik <m.novik@vconnect.dk>
Co-authored-by: Maksym Novik <novik.kor@gmail.com>
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>

* #81 - update dataset for `testProductListOutOfStockSortOrderWithElasticsearch`. Based on tickets ACP2E-322 and ACP2E-748 - moving down in catalog results out-of-stock configurable items was removed, so data-set needs to be updated accordingly. (#89)

* GraphQl mutation state check | PlaceOrder and Customer actions - skip list adjustments (#90)

* #82 - exclude Ealsticsearch classes from mutation state check, as they are going to be used for product reindexation need once indexer state is set OnDemand.

* #82 - exclude Redis client and logger classes for customer create&update operations. Session start with redis is tightly coupled yet with any customer related activity - even in GraphQl. I assume that is in TODO list to resolve by Adobe engeneers.

* #82 - exclude Redis client and logger classes for customer create&update operations. Session start with redis is tightly coupled yet with any customer related activity - even in GraphQl. I assume that is in TODO list to resolve by Adobe engeneers.

* Skip some of the Bundle tests as the underlying problems are too big … (#92)

* Skip some of the Bundle tests as the underlying problems are too big to solve them out now.

* Ignore testAutoChangingIsInStockForNewConfigurable test as underlying problem is bigger then we can handle now. Hopefuly Magento wil lfix this bug in future releases.

* #83 - fix expireDate formating for user expiration integration test. (#91)

* #79 - add shutdown functions wrapper to make sure TestModules will be… (#93)

* #79 - add shutdown functions wrapper to make sure TestModules will be removed ONLY after all other shut down fucntions be executed.

* #79 - add shutdown functions wrapper to make sure TestModules will be removed ONLY after all other shut down fucntions be executed.

* Fix failed testes after the upstream update - db&app isolation were missed. (#94)

* Fix invalid data-sets for unit tests (#95)

* Fix invalid data-sets for catalog unit tests

* Fix invalid data-sets for ImportExport unit tests

* Fix invalid data-sets for Framework\MessageQueue unit tests

* Fix static tests.

* Fix invalid data-sets for Sales unit test

* Fix invalid data-sets for Integration unit test

* Fix invalid data-sets for Email unit test

* Fix data providers for unit tests - Config and Directory

* Remove totally unnessesary PHP version ifcondition. I tested it on 8.1 8.2 8.3 - all worked good.

* Run test workflows on all branch PRs

* Fixed branches constraint syntax

* Upstream Merge Conflict (2.4-develop) (#103)

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Added an element and updated test file

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* LYNX-523: GraphQL: Provide available order actions

* ACP2E-3149: Double slashes in customer segment URL

* ACQE-6897 | Mainline Deployment Test Fix

* ACQE-6897 | Mainline Deployment Test Annotation fix

* ACQE-6897 | Mainline PR Deployment | mftf update

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACQE-6915 | Several Terms and Conditions with different types are shown on PayPal express checkout review page

* ACQE-6915 | Several Terms and Conditions with different types are shown on PayPal express checkout review page
Added fix for the PR

* ACQE-6915 | Several Terms and Conditions with different types are shown on PayPal express checkout review page
Added fix for the PR

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Created AGs and updated those in test file

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Updated test file

* ACQE-6897 | Mainline Deployment

* LYNX-524 - Add customer information to CustomerOrder type

* ACQE-6897 | Mainline Deployment

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACP2E-3172: Import button missing

* ACP2E-3273: avoid using toggle / fadeIn / fadeOut as it will generate a display none and this in turn impacts the styling for recaptcha

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Removed extra space in AG and added valuable name parameter for a locator

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.0

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* LYNX-505 - Allow guest to cancel order via GraphQL

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.0

* ACP2E-3273: fix static errors

* ACP2E-3273: update short description

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACQE-6842 | AC-3857: Verify that customer matches to a segment with conditions "Order Address"

Resolved static check error by updating the name

* ACQE-6842 | AC-3857: Verify that customer matches to a segment with conditions "Order Address"

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.0

* AC-3921: Create Text Swatch from Stores ->Attributes section: Product

* ACQE-6915 | StorefrontAssertSeveralTermsAndConditionsOnPayPalExpressCheckoutReviewPageTest

* ACQE-6842 | AC-3857: Verify that customer matches to a segment with conditions "Order Address"

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-12823: Unit Test fixes

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12823: Unit Test fixes

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library

* AC-12715::fixed the static test

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* ACP2E-3273: added jasmine unit test

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12092: Deprecations related to not static functionality removal in PHPUnit 10

* ACP2E-3273: emulate 'display:none' better avoiding extra white space

* ACP2E-3172: Import button missing

* ACQE-6897 | Mainline Deployment 

Test Fix

* ACQE-6897 | Mainline Deployment

Test Fix

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

Removed extra spaces

* ACQE-6897 | Mainline Deployment

Space fix

* ACQE-6897 | Mainline PR  Deployment

Alignment Fix

* ACQE-6897 | Mainline Deployment

Removed space

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.

* ACQE-6966 | [MFTF PR TESTS] StorefrontCashOnDeliveryPaymentForSpecificCountryTestCest

Added pr_exclude . Will be fixed in the scope of ACQE-6966

* ACQE-6795 | Mainline PR deployment

Added pr_exclude .Will be fixed in the scope of ACQE-6795

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* ACP2E-3172: Import button missing

* ACP2E-3172: Import button missing

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* ACP2E-3131: [Cloud] Anchor/Non-Anchor Categories Reversed in Content Widget

- Fix for default category

* AC-12092 Magento Framework PHPUnit10 Fixes

* LYNX-512: original_item_price is not including discounts

* LYNX-519 : Error codes for order cancellation

* Check impact of paste and noeditable plugin removal

* Acqe 7010 mftf thirdparty test pr exclude (#1744)

* ACQE-7010: [MFTF Tests] Add payment related third party test in pr exclude

* AC-12715::Update the magento-coding-standard version

* Check impact of paste and noeditable plugin removal

* AC-12951::Remove from files from tinymce 7

* AC-12092_PHPUnit10: PHPUnit10 Fixes for Magento Framework Modules

* ACP2E-3131: [Cloud] Anchor/Non-Anchor Categories Reversed in Content Widget

- Fix for default category

* ACP2E-3131: [Cloud] Anchor/Non-Anchor Categories Reversed in Content Widget

- Fix for default category

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.

* AC-12092_PHPUnit10: PHPUnit10.5 Deprecation Fixes Framework App, Cache, Code, Validator Modules

* AC-12092_PHPUnit10: PHP Unit 10 Deprecation Fixes For Framework DB, Data, Encryption, Profiler, Validator Modules

* LYNX-536:orders/date_of_first_order always returning null

* LYNX-544: Customer must not be able to cancel a partially shipped order

* ACP2E-3248: update en_US.csv with missing translatable lines

* AC-12092_PHPUnit10: PHP Unit10 Deprecation Fixes for Framework Code, Jwt and Test Modules

* AC-12092_PHPUnit10: phpcs issue fix

* AC-12092_PHPUnit10: PHPUnit Error fix

* AC-12092_PHPUnit10: Not Static Deprecation Fixes forWidget Module

* AC-12092_PHPUnit10: Fixed Risky testcase issues

* AC-12092_PHPUnit10: PHPUnit Deprecation Error Fixes

* AC-12092_PHPUnit10: Failure Fix for CatalogInventory Module

* Revert "AC-12092_PHPUnit10: Fixed Risky testcase issues"

This reverts commit c3b7947.

* AC-12092_PHPUnit10: PHPUnit Failure fix

---------

Co-authored-by: Shanthi Rajendran <glo25731@adobe.com>
Co-authored-by: Banvari Lal <glo60612@adobe.com>
Co-authored-by: jayrangnani-gl <142883278+jayrangnani-gl@users.noreply.github.com>
Co-authored-by: magento-devops-queue-mgr-svc <139211740+magento-devops-queue-mgr-svc@users.noreply.github.com>
Co-authored-by: Abhishek Pathak <107833467+wip44850@users.noreply.github.com>
Co-authored-by: Sergio Vera <svera@adobe.com>
Co-authored-by: lakshmana49 <glo28218@adobe.com>
Co-authored-by: Dnyaneshwar Jambhulkar <pru34625@adobe.com>
Co-authored-by: Arularasan <glo02433@adobe.com>
Co-authored-by: Manjusha S <glo24116@adobe.com>
Co-authored-by: manjusha729 <93243302+manjusha729@users.noreply.github.com>
Co-authored-by: Rajesh Kumar <glo71317@adobe.com>
Co-authored-by: “Pavan-bj”  <pavan@BLR1-LMC-N71897.local>
Co-authored-by: Indrani <51680850+engcom-Charlie@users.noreply.github.com>
Co-authored-by: Shantanu Dasgupta <108055538+cod40403@users.noreply.github.com>
Co-authored-by: Chhandak.Barua <chhandak.barua@BLR1-LMC-N73490.local>
Co-authored-by: Alexandra Zota <zota@adobe.com>
Co-authored-by: manishranjan-adobe <del55204@adobe.com>
Co-authored-by: Saurabh Kumar <glo17680@adobe.com>
Co-authored-by: Mircea Rosmeteniuc <mircea.rosm@gmail.com>
Co-authored-by: flowers <flowers@adobe.com>
Co-authored-by: Pavan-bj <140481523+Pavan-bj@users.noreply.github.com>
Co-authored-by: Manish Ranjan <105285471+manishranjan-adobe@users.noreply.github.com>
Co-authored-by: Nishant Rana <glo04412@adobe.com>
Co-authored-by: Raj Mohan <cod43156@Rajs-MacBook-Pro.local>
Co-authored-by: Nishant Rana <89177947+nishant04412@users.noreply.github.com>
Co-authored-by: internal-magento-queue-manager[bot] <70415199+internal-magento-queue-manager[bot]@users.noreply.github.com>
Co-authored-by: arnsaha <arnsaha@adobe.com>
Co-authored-by: Dmytro Voskoboinikov <voskoboi@adobe.com>
Co-authored-by: Sumesh P <142383015+sumesh-GL@users.noreply.github.com>
Co-authored-by: mohit-adobe <84013331+mohit-adobe@users.noreply.github.com>
Co-authored-by: Stanislav Idolov <sidolov@adobe.com>
Co-authored-by: Rafal Janicki <rjanicki@adobe.com>
Co-authored-by: Dmytro Horytskyi <5802616+dhorytskyi@users.noreply.github.com>
Co-authored-by: chittima <chittima@adobe.com>
Co-authored-by: cod43156 <cod43156@adobe.com>
Co-authored-by: Sarmistha <glo23503@adobe.com>
Co-authored-by: Ryan Hoerr <rhoerr@users.noreply.github.com>

* Bugfix: autocomplete suggests nonsearchable terms (#102)

* added additional check to ensure autocomplete suggests only searchable terms

---------

Co-authored-by: Ryan Sun <ryansun@isnweb.com>

* Bugfix: workflow not waiting for called workflow to complete (#74)

* Fixed missed closing newline

* Update unit test for autocomplete suggests fix (#104)

* added additional check to ensure autocomplete suggests only searchable terms

* updated unitest for search suggest fix

* added type casting for isSuggestible

* reverted suggestible flag and fixed getSuggestFields method

* updated suggest contructor params to avoid bic

* updated unit test with new dependency productAttributeCollectionFactory for Suggestions

* add fieldProvider back to Suggestions constructor

---------

Co-authored-by: Ryan Sun <ryansun@isnweb.com>

* Add Sansec eComscan workflow

* Add Sansec eComscan workflow

* Solve bug #116 - Setting number of address line lower than existing entry breaks all checkouts for existing address data

* adjust doc blocks for addressHelper and mock in tests

* Add addressHelper object into child classes

* Add Sansec eComscan workflow

* Improved menu/toolbar settings for TinyMCE 6 (#109)

* Split Magento and Mage-OS versions in ProductMetadata for compatibility (#115)

* feat: run setup:di:compile on push (#33)

* Update supported-services.json for Magento 2.4.8

* Update supported-services.json

* Any composer 2 version

* Update supported-services.json for Warden available packages

* Try build with Valkey

* fix rabbitmq version to 4.0

* Change redis version to 7.4

* feat!: prevent catalog and sales rules from being disclosed publicly by default

* feat!: prevent disclosure of customer groups by default (#136)

* Fix integration tests for Magento_Backend and Magento_Bundle (#134)

* Fix  Magento/Beckend/Block/Page/Footer integration test

* Fix Magento/Bundle/Model/Product/IsSaleableTest

* Fix all other bundle test

* Integrate code review changes

* Fix CatalogInventory test

* Fix stockitem criteria

* Fix test on price indexing because of confiurable out of stock

* Fix ButtonLock dependency

* Fix tests for Magento_Customer

* Fix CustomerImportExport module test

* Fix Mage-OS Product Name

* Fix Magento_Downloadable integration tests

* Backward compatibility

* Fix customer adresses with empty line

* Code review

* PHPCS

---------

Co-authored-by: s.humeau <humeau@antadis.com>
Co-authored-by: simsComputing <simsComputing>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>

* Fix PHP 8.4 Deprecation: Explicitly Mark Nullable Parameter (#157)

* fix product export of configurable_variations for configurable products with multiple super attributes (#142)

* Managed by Terraform

* Add Sansec eComscan workflow

* Managed by Terraform

---------

Co-authored-by: Mage-OS <info@mage-os.org>
Co-authored-by: Vladyslav Podorozhnyi <vpodorozh@gmail.com>
Co-authored-by: Maksym Novik <m.novik@vconnect.dk>
Co-authored-by: Maksym Novik <novik.kor@gmail.com>
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
Co-authored-by: Vinai Kopp <vinai@netzarbeiter.com>
Co-authored-by: Mage-OS <100189073+mage-os-ci@users.noreply.github.com>
Co-authored-by: Shanthi Rajendran <glo25731@adobe.com>
Co-authored-by: Banvari Lal <glo60612@adobe.com>
Co-authored-by: jayrangnani-gl <142883278+jayrangnani-gl@users.noreply.github.com>
Co-authored-by: magento-devops-queue-mgr-svc <139211740+magento-devops-queue-mgr-svc@users.noreply.github.com>
Co-authored-by: Abhishek Pathak <107833467+wip44850@users.noreply.github.com>
Co-authored-by: Sergio Vera <svera@adobe.com>
Co-authored-by: lakshmana49 <glo28218@adobe.com>
Co-authored-by: Dnyaneshwar Jambhulkar <pru34625@adobe.com>
Co-authored-by: Arularasan <glo02433@adobe.com>
Co-authored-by: Manjusha S <glo24116@adobe.com>
Co-authored-by: manjusha729 <93243302+manjusha729@users.noreply.github.com>
Co-authored-by: Rajesh Kumar <glo71317@adobe.com>
Co-authored-by: “Pavan-bj”  <pavan@BLR1-LMC-N71897.local>
Co-authored-by: Indrani <51680850+engcom-Charlie@users.noreply.github.com>
Co-authored-by: Shantanu Dasgupta <108055538+cod40403@users.noreply.github.com>
Co-authored-by: Chhandak.Barua <chhandak.barua@BLR1-LMC-N73490.local>
Co-authored-by: Alexandra Zota <zota@adobe.com>
Co-authored-by: manishranjan-adobe <del55204@adobe.com>
Co-authored-by: Saurabh Kumar <glo17680@adobe.com>
Co-authored-by: Mircea Rosmeteniuc <mircea.rosm@gmail.com>
Co-authored-by: flowers <flowers@adobe.com>
Co-authored-by: Pavan-bj <140481523+Pavan-bj@users.noreply.github.com>
Co-authored-by: Manish Ranjan <105285471+manishranjan-adobe@users.noreply.github.com>
Co-authored-by: Nishant Rana <glo04412@adobe.com>
Co-authored-by: Raj Mohan <cod43156@Rajs-MacBook-Pro.local>
Co-authored-by: Nishant Rana <89177947+nishant04412@users.noreply.github.com>
Co-authored-by: internal-magento-queue-manager[bot] <70415199+internal-magento-queue-manager[bot]@users.noreply.github.com>
Co-authored-by: arnsaha <arnsaha@adobe.com>
Co-authored-by: Dmytro Voskoboinikov <voskoboi@adobe.com>
Co-authored-by: Sumesh P <142383015+sumesh-GL@users.noreply.github.com>
Co-authored-by: mohit-adobe <84013331+mohit-adobe@users.noreply.github.com>
Co-authored-by: Stanislav Idolov <sidolov@adobe.com>
Co-authored-by: Rafal Janicki <rjanicki@adobe.com>
Co-authored-by: Dmytro Horytskyi <5802616+dhorytskyi@users.noreply.github.com>
Co-authored-by: chittima <chittima@adobe.com>
Co-authored-by: cod43156 <cod43156@adobe.com>
Co-authored-by: Sarmistha <glo23503@adobe.com>
Co-authored-by: Ryan Sun <ryansun81@gmail.com>
Co-authored-by: Ryan Sun <ryansun@isnweb.com>
Co-authored-by: Adam <adam.crossland@zero1.co.uk>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Lucas van Staden <sales@proxiblue.com.au>
Co-authored-by: Tjitse <Tjitse@vendic.nl>
Co-authored-by: Damien Retzinger <damienwebdev@gmail.com>
Co-authored-by: simsComputing <simon.jm.humeau@hotmail.fr>
Co-authored-by: s.humeau <humeau@antadis.com>
Co-authored-by: Abdellatif EL MIZEB <aelmizeb@gmail.com>
Co-authored-by: mage-os-terraform[bot] <104196000+mage-os-terraform[bot]@users.noreply.github.com>
mage-os-ci added a commit that referenced this pull request Nov 30, 2025
* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* ACP2E-4019: CE copyright updates for 2.4.9-beta1

* Chore: Resolve merge of 2.4 develop upstream (#182)

* Integration tests/ fix failed tests (#61)

* Fix \Magento\Paypal\Model\Express\CheckoutTest - dbIsolation missing

* Fix tests Magento\CatalogImportExport\Model\Import\ProductTest\ProductStockTest::testProductStockStatusShouldBeUpdatedOnSchedule
          Zend_Db_Exception: Table "catalog_category_product_index_store0_replica" does not exist

Partially reverting fix from Vinai:
`Create category-product index table for store 0 (#47)

 This fixes a regression introduced by pull request
 https://github.com/mage-os/mageos-magento2/pull/25`

* Fix failing tests with error `undefined key 'product_id`' from app/code/Magento/CatalogInventory/Model/StockManagement.php:110

Test: dev/tests/integration/testsuite/Magento/Downloadable/Block/Sales/Order/Email/Items/Order/DownloadableTest.php

* Fix failed tests: \Magento\Wishlist\Controller\Index\AddTest

Failed due to visibility filter in whishlist collection. Products were not added to root category and not reindexed. So visibility filter ued to exclude them from wishlist items collection: app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection.php:390

* Decrease test-cases - use php 8.2 only for testing purposes
Include and use changed workflow to have more unitary tests executions

* Mark tests as incomplete as actual fix is in: mage-os/mageos-magento-zend-db#1

Error that was fixed:
Unable to revert fixture: Magento/Framework/Backup/_files/trigger.php
#0 /var/www/html/dev/tests/integration/testsuite/Magento/Framework/Backup/DbTest.php(42): Magento\Framework\Backup\DbTest->testBackupAndRollbackIncludesCustomTriggers()
...

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testRotate with data set #4 ('/var/www/html/dev/tests/integ...st.png', 45, array(157, 35), 'IMAGEMAGICK')
ImagickException: unrecognized color `srgb255,255,255' @ warning/color.c/GetColorCompliance/1064

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
ImagickException: unable to read font `' @ error/annotate.c/RenderFreetype/1636

* Fix integration tests error:

Magento\Dhl\Model\CarrierTest::testRequestToShip with data set #0 ('GB', 'EU', 'US')
Failed asserting that two DOM documents are equal.

-      <SoftwareName>Magento</SoftwareName>
+      <SoftwareName>Mage-OS</SoftwareName>

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
PHPUnit\Framework\Exception: Deprecated: Implicit conversion from float 11.34375 to int loses precision in /var/www/html/lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php:505.

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString with data set #1 (array(5, 12), array(0, 0, 0), array(0, 20), array(255, 255, 255), 'IMAGEMAGICK')
PHPUnit\Framework\Exception: Deprecated: Implicit conversion from float 11.34375 to int loses precision in /var/www/html/lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php:505.

* Fix integration tests error:

Magento\Framework\Image\Adapter\InterfaceTest::testRotate with data set #4 ('/var/www/html/dev/tests/integ...st.png', 45, array(157, 35), 'IMAGEMAGICK')
ImagickException: unrecognized color `srgb255,255,255' @ warning/color.c/GetColorCompliance/1064

* Revert "feat(catalog): faster category product count (#25)"

This reverts commit f01535b.

* Revert "Create category-product index table for store 0 (#47)"

This reverts commit 7be2613.

* Add optional param to run tests over specific directory only.

* Fix failed tests: \Magento\Version\Controller\Index\IndexTest

Update package name to mage-os

* Fix integration tests (most likely caused by incorrect merge conflict resolving):

error msg:
1) Magento\Catalog\Block\Adminhtml\Category\Checkboxes\TreeTest::testGetTreeJson
Error: Call to a member function getConnectionName() on null

/var/www/html/lib/internal/Magento/Framework/App/ResourceConnection.php:110
/var/www/html/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php:570
...

ref: https://github.com/vpodorozh/mageos-magento2/actions/runs/7472531139/job/20334972566#step:6:39

* Fix failed integration tests in \Magento\Customer

* Revert "Fix failed integration tests in \Magento\Customer"

* Update full-integration-tests.yaml

---------

Co-authored-by: Maksym Novik <m.novik@vconnect.dk>
Co-authored-by: Maksym Novik <novik.kor@gmail.com>
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>

* #81 - update dataset for `testProductListOutOfStockSortOrderWithElasticsearch`. Based on tickets ACP2E-322 and ACP2E-748 - moving down in catalog results out-of-stock configurable items was removed, so data-set needs to be updated accordingly. (#89)

* GraphQl mutation state check | PlaceOrder and Customer actions - skip list adjustments (#90)

* #82 - exclude Ealsticsearch classes from mutation state check, as they are going to be used for product reindexation need once indexer state is set OnDemand.

* #82 - exclude Redis client and logger classes for customer create&update operations. Session start with redis is tightly coupled yet with any customer related activity - even in GraphQl. I assume that is in TODO list to resolve by Adobe engeneers.

* #82 - exclude Redis client and logger classes for customer create&update operations. Session start with redis is tightly coupled yet with any customer related activity - even in GraphQl. I assume that is in TODO list to resolve by Adobe engeneers.

* Skip some of the Bundle tests as the underlying problems are too big … (#92)

* Skip some of the Bundle tests as the underlying problems are too big to solve them out now.

* Ignore testAutoChangingIsInStockForNewConfigurable test as underlying problem is bigger then we can handle now. Hopefuly Magento wil lfix this bug in future releases.

* #83 - fix expireDate formating for user expiration integration test. (#91)

* #79 - add shutdown functions wrapper to make sure TestModules will be… (#93)

* #79 - add shutdown functions wrapper to make sure TestModules will be removed ONLY after all other shut down fucntions be executed.

* #79 - add shutdown functions wrapper to make sure TestModules will be removed ONLY after all other shut down fucntions be executed.

* Fix failed testes after the upstream update - db&app isolation were missed. (#94)

* Fix invalid data-sets for unit tests (#95)

* Fix invalid data-sets for catalog unit tests

* Fix invalid data-sets for ImportExport unit tests

* Fix invalid data-sets for Framework\MessageQueue unit tests

* Fix static tests.

* Fix invalid data-sets for Sales unit test

* Fix invalid data-sets for Integration unit test

* Fix invalid data-sets for Email unit test

* Fix data providers for unit tests - Config and Directory

* Remove totally unnessesary PHP version ifcondition. I tested it on 8.1 8.2 8.3 - all worked good.

* Run test workflows on all branch PRs

* Fixed branches constraint syntax

* Upstream Merge Conflict (2.4-develop) (#103)

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Added an element and updated test file

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* LYNX-523: GraphQL: Provide available order actions

* ACP2E-3149: Double slashes in customer segment URL

* ACQE-6897 | Mainline Deployment Test Fix

* ACQE-6897 | Mainline Deployment Test Annotation fix

* ACQE-6897 | Mainline PR Deployment | mftf update

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACQE-6915 | Several Terms and Conditions with different types are shown on PayPal express checkout review page

* ACQE-6915 | Several Terms and Conditions with different types are shown on PayPal express checkout review page
Added fix for the PR

* ACQE-6915 | Several Terms and Conditions with different types are shown on PayPal express checkout review page
Added fix for the PR

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Created AGs and updated those in test file

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Updated test file

* ACQE-6897 | Mainline Deployment

* LYNX-524 - Add customer information to CustomerOrder type

* ACQE-6897 | Mainline Deployment

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACP2E-3172: Import button missing

* ACP2E-3273: avoid using toggle / fadeIn / fadeOut as it will generate a display none and this in turn impacts the styling for recaptcha

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* ACQE-6901: Create Text Swatch from Stores ->Attributes section: Product

Removed extra space in AG and added valuable name parameter for a locator

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.0

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* LYNX-505 - Allow guest to cancel order via GraphQL

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.0

* ACP2E-3273: fix static errors

* ACP2E-3273: update short description

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* ACQE-6842 | AC-3857: Verify that customer matches to a segment with conditions "Order Address"

Resolved static check error by updating the name

* ACQE-6842 | AC-3857: Verify that customer matches to a segment with conditions "Order Address"

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.0

* AC-3921: Create Text Swatch from Stores ->Attributes section: Product

* ACQE-6915 | StorefrontAssertSeveralTermsAndConditionsOnPayPalExpressCheckoutReviewPageTest

* ACQE-6842 | AC-3857: Verify that customer matches to a segment with conditions "Order Address"

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-12823: Unit Test fixes

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12823: Unit Test fixes

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library

* AC-12715::fixed the static test

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* AC-12823:Investigate the unit test failure due to phpunit patch update during component upgrade-Fix unit tests

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11

* AC-12715::Investigate the laminas composer dependencies upgrading to latest version

* ACP2E-3273: added jasmine unit test

* AC-12901: Require.js upgrade to the latest version 2.3.7 (security vulnerability CVE-2024-38999)

* AC-12092: Deprecations related to not static functionality removal in PHPUnit 10

* ACP2E-3273: emulate 'display:none' better avoiding extra white space

* ACP2E-3172: Import button missing

* ACQE-6897 | Mainline Deployment 

Test Fix

* ACQE-6897 | Mainline Deployment

Test Fix

* ACQE-6897 | Mainline Deployment

* ACQE-6897 | Mainline Deployment

Removed extra spaces

* ACQE-6897 | Mainline Deployment

Space fix

* ACQE-6897 | Mainline PR  Deployment

Alignment Fix

* ACQE-6897 | Mainline Deployment

Removed space

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.

* ACQE-6966 | [MFTF PR TESTS] StorefrontCashOnDeliveryPaymentForSpecificCountryTestCest

Added pr_exclude . Will be fixed in the scope of ACQE-6966

* ACQE-6795 | Mainline PR deployment

Added pr_exclude .Will be fixed in the scope of ACQE-6795

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* ACP2E-3172: Import button missing

* ACP2E-3172: Import button missing

* AC-9712::Difference in less compilation between php & nodejs library (grunt) with complicated calc expressions

* ACP2E-3131: [Cloud] Anchor/Non-Anchor Categories Reversed in Content Widget

- Fix for default category

* AC-12092 Magento Framework PHPUnit10 Fixes

* LYNX-512: original_item_price is not including discounts

* LYNX-519 : Error codes for order cancellation

* Check impact of paste and noeditable plugin removal

* Acqe 7010 mftf thirdparty test pr exclude (#1744)

* ACQE-7010: [MFTF Tests] Add payment related third party test in pr exclude

* AC-12715::Update the magento-coding-standard version

* Check impact of paste and noeditable plugin removal

* AC-12951::Remove from files from tinymce 7

* AC-12092_PHPUnit10: PHPUnit10 Fixes for Magento Framework Modules

* ACP2E-3131: [Cloud] Anchor/Non-Anchor Categories Reversed in Content Widget

- Fix for default category

* ACP2E-3131: [Cloud] Anchor/Non-Anchor Categories Reversed in Content Widget

- Fix for default category

* AC-12092_PHPUnit10: Providing invalid named argument is deprecated and will not be supported in PHPUnit 11.

* AC-12092_PHPUnit10: PHPUnit10.5 Deprecation Fixes Framework App, Cache, Code, Validator Modules

* AC-12092_PHPUnit10: PHP Unit 10 Deprecation Fixes For Framework DB, Data, Encryption, Profiler, Validator Modules

* LYNX-536:orders/date_of_first_order always returning null

* LYNX-544: Customer must not be able to cancel a partially shipped order

* ACP2E-3248: update en_US.csv with missing translatable lines

* AC-12092_PHPUnit10: PHP Unit10 Deprecation Fixes for Framework Code, Jwt and Test Modules

* AC-12092_PHPUnit10: phpcs issue fix

* AC-12092_PHPUnit10: PHPUnit Error fix

* AC-12092_PHPUnit10: Not Static Deprecation Fixes forWidget Module

* AC-12092_PHPUnit10: Fixed Risky testcase issues

* AC-12092_PHPUnit10: PHPUnit Deprecation Error Fixes

* AC-12092_PHPUnit10: Failure Fix for CatalogInventory Module

* Revert "AC-12092_PHPUnit10: Fixed Risky testcase issues"

This reverts commit c3b7947.

* AC-12092_PHPUnit10: PHPUnit Failure fix

---------

Co-authored-by: Shanthi Rajendran <glo25731@adobe.com>
Co-authored-by: Banvari Lal <glo60612@adobe.com>
Co-authored-by: jayrangnani-gl <142883278+jayrangnani-gl@users.noreply.github.com>
Co-authored-by: magento-devops-queue-mgr-svc <139211740+magento-devops-queue-mgr-svc@users.noreply.github.com>
Co-authored-by: Abhishek Pathak <107833467+wip44850@users.noreply.github.com>
Co-authored-by: Sergio Vera <svera@adobe.com>
Co-authored-by: lakshmana49 <glo28218@adobe.com>
Co-authored-by: Dnyaneshwar Jambhulkar <pru34625@adobe.com>
Co-authored-by: Arularasan <glo02433@adobe.com>
Co-authored-by: Manjusha S <glo24116@adobe.com>
Co-authored-by: manjusha729 <93243302+manjusha729@users.noreply.github.com>
Co-authored-by: Rajesh Kumar <glo71317@adobe.com>
Co-authored-by: “Pavan-bj”  <pavan@BLR1-LMC-N71897.local>
Co-authored-by: Indrani <51680850+engcom-Charlie@users.noreply.github.com>
Co-authored-by: Shantanu Dasgupta <108055538+cod40403@users.noreply.github.com>
Co-authored-by: Chhandak.Barua <chhandak.barua@BLR1-LMC-N73490.local>
Co-authored-by: Alexandra Zota <zota@adobe.com>
Co-authored-by: manishranjan-adobe <del55204@adobe.com>
Co-authored-by: Saurabh Kumar <glo17680@adobe.com>
Co-authored-by: Mircea Rosmeteniuc <mircea.rosm@gmail.com>
Co-authored-by: flowers <flowers@adobe.com>
Co-authored-by: Pavan-bj <140481523+Pavan-bj@users.noreply.github.com>
Co-authored-by: Manish Ranjan <105285471+manishranjan-adobe@users.noreply.github.com>
Co-authored-by: Nishant Rana <glo04412@adobe.com>
Co-authored-by: Raj Mohan <cod43156@Rajs-MacBook-Pro.local>
Co-authored-by: Nishant Rana <89177947+nishant04412@users.noreply.github.com>
Co-authored-by: internal-magento-queue-manager[bot] <70415199+internal-magento-queue-manager[bot]@users.noreply.github.com>
Co-authored-by: arnsaha <arnsaha@adobe.com>
Co-authored-by: Dmytro Voskoboinikov <voskoboi@adobe.com>
Co-authored-by: Sumesh P <142383015+sumesh-GL@users.noreply.github.com>
Co-authored-by: mohit-adobe <84013331+mohit-adobe@users.noreply.github.com>
Co-authored-by: Stanislav Idolov <sidolov@adobe.com>
Co-authored-by: Rafal Janicki <rjanicki@adobe.com>
Co-authored-by: Dmytro Horytskyi <5802616+dhorytskyi@users.noreply.github.com>
Co-authored-by: chittima <chittima@adobe.com>
Co-authored-by: cod43156 <cod43156@adobe.com>
Co-authored-by: Sarmistha <glo23503@adobe.com>
Co-authored-by: Ryan Hoerr <rhoerr@users.noreply.github.com>

* Bugfix: autocomplete suggests nonsearchable terms (#102)

* added additional check to ensure autocomplete suggests only searchable terms

---------

Co-authored-by: Ryan Sun <ryansun@isnweb.com>

* Bugfix: workflow not waiting for called workflow to complete (#74)

* Fixed missed closing newline

* Update unit test for autocomplete suggests fix (#104)

* added additional check to ensure autocomplete suggests only searchable terms

* updated unitest for search suggest fix

* added type casting for isSuggestible

* reverted suggestible flag and fixed getSuggestFields method

* updated suggest contructor params to avoid bic

* updated unit test with new dependency productAttributeCollectionFactory for Suggestions

* add fieldProvider back to Suggestions constructor

---------

Co-authored-by: Ryan Sun <ryansun@isnweb.com>

* Add Sansec eComscan workflow

* Add Sansec eComscan workflow

* Solve bug #116 - Setting number of address line lower than existing entry breaks all checkouts for existing address data

* adjust doc blocks for addressHelper and mock in tests

* Add addressHelper object into child classes

* Add Sansec eComscan workflow

* Improved menu/toolbar settings for TinyMCE 6 (#109)

* Split Magento and Mage-OS versions in ProductMetadata for compatibility (#115)

* feat: run setup:di:compile on push (#33)

* Update supported-services.json for Magento 2.4.8

* Update supported-services.json

* Any composer 2 version

* Update supported-services.json for Warden available packages

* Try build with Valkey

* fix rabbitmq version to 4.0

* Change redis version to 7.4

* feat!: prevent catalog and sales rules from being disclosed publicly by default

* feat!: prevent disclosure of customer groups by default (#136)

* Fix integration tests for Magento_Backend and Magento_Bundle (#134)

* Fix  Magento/Beckend/Block/Page/Footer integration test

* Fix Magento/Bundle/Model/Product/IsSaleableTest

* Fix all other bundle test

* Integrate code review changes

* Fix CatalogInventory test

* Fix stockitem criteria

* Fix test on price indexing because of confiurable out of stock

* Fix ButtonLock dependency

* Fix tests for Magento_Customer

* Fix CustomerImportExport module test

* Fix Mage-OS Product Name

* Fix Magento_Downloadable integration tests

* Backward compatibility

* Fix customer adresses with empty line

* Code review

* PHPCS

---------

Co-authored-by: s.humeau <humeau@antadis.com>
Co-authored-by: simsComputing <simsComputing>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>

* Fix PHP 8.4 Deprecation: Explicitly Mark Nullable Parameter (#157)

* fix product export of configurable_variations for configurable products with multiple super attributes (#142)

* Managed by Terraform

* Add Sansec eComscan workflow

* Managed by Terraform

---------

Co-authored-by: Mage-OS <info@mage-os.org>
Co-authored-by: Vladyslav Podorozhnyi <vpodorozh@gmail.com>
Co-authored-by: Maksym Novik <m.novik@vconnect.dk>
Co-authored-by: Maksym Novik <novik.kor@gmail.com>
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
Co-authored-by: Vinai Kopp <vinai@netzarbeiter.com>
Co-authored-by: Mage-OS <100189073+mage-os-ci@users.noreply.github.com>
Co-authored-by: Shanthi Rajendran <glo25731@adobe.com>
Co-authored-by: Banvari Lal <glo60612@adobe.com>
Co-authored-by: jayrangnani-gl <142883278+jayrangnani-gl@users.noreply.github.com>
Co-authored-by: magento-devops-queue-mgr-svc <139211740+magento-devops-queue-mgr-svc@users.noreply.github.com>
Co-authored-by: Abhishek Pathak <107833467+wip44850@users.noreply.github.com>
Co-authored-by: Sergio Vera <svera@adobe.com>
Co-authored-by: lakshmana49 <glo28218@adobe.com>
Co-authored-by: Dnyaneshwar Jambhulkar <pru34625@adobe.com>
Co-authored-by: Arularasan <glo02433@adobe.com>
Co-authored-by: Manjusha S <glo24116@adobe.com>
Co-authored-by: manjusha729 <93243302+manjusha729@users.noreply.github.com>
Co-authored-by: Rajesh Kumar <glo71317@adobe.com>
Co-authored-by: “Pavan-bj”  <pavan@BLR1-LMC-N71897.local>
Co-authored-by: Indrani <51680850+engcom-Charlie@users.noreply.github.com>
Co-authored-by: Shantanu Dasgupta <108055538+cod40403@users.noreply.github.com>
Co-authored-by: Chhandak.Barua <chhandak.barua@BLR1-LMC-N73490.local>
Co-authored-by: Alexandra Zota <zota@adobe.com>
Co-authored-by: manishranjan-adobe <del55204@adobe.com>
Co-authored-by: Saurabh Kumar <glo17680@adobe.com>
Co-authored-by: Mircea Rosmeteniuc <mircea.rosm@gmail.com>
Co-authored-by: flowers <flowers@adobe.com>
Co-authored-by: Pavan-bj <140481523+Pavan-bj@users.noreply.github.com>
Co-authored-by: Manish Ranjan <105285471+manishranjan-adobe@users.noreply.github.com>
Co-authored-by: Nishant Rana <glo04412@adobe.com>
Co-authored-by: Raj Mohan <cod43156@Rajs-MacBook-Pro.local>
Co-authored-by: Nishant Rana <89177947+nishant04412@users.noreply.github.com>
Co-authored-by: internal-magento-queue-manager[bot] <70415199+internal-magento-queue-manager[bot]@users.noreply.github.com>
Co-authored-by: arnsaha <arnsaha@adobe.com>
Co-authored-by: Dmytro Voskoboinikov <voskoboi@adobe.com>
Co-authored-by: Sumesh P <142383015+sumesh-GL@users.noreply.github.com>
Co-authored-by: mohit-adobe <84013331+mohit-adobe@users.noreply.github.com>
Co-authored-by: Stanislav Idolov <sidolov@adobe.com>
Co-authored-by: Rafal Janicki <rjanicki@adobe.com>
Co-authored-by: Dmytro Horytskyi <5802616+dhorytskyi@users.noreply.github.com>
Co-authored-by: chittima <chittima@adobe.com>
Co-authored-by: cod43156 <cod43156@adobe.com>
Co-authored-by: Sarmistha <glo23503@adobe.com>
Co-authored-by: Ryan Sun <ryansun81@gmail.com>
Co-authored-by: Ryan Sun <ryansun@isnweb.com>
Co-authored-by: Adam <adam.crossland@zero1.co.uk>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Lucas van Staden <sales@proxiblue.com.au>
Co-authored-by: Tjitse <Tjitse@vendic.nl>
Co-authored-by: Damien Retzinger <damienwebdev@gmail.com>
Co-authored-by: simsComputing <simon.jm.humeau@hotmail.fr>
Co-authored-by: s.humeau <humeau@antadis.com>
Co-authored-by: Abdellatif EL MIZEB <aelmizeb@gmail.com>
Co-authored-by: mage-os-terraform[bot] <104196000+mage-os-terraform[bot]@users.noreply.github.com>

---------

Co-authored-by: Alexandra Zota <zota@adobe.com>
Co-authored-by: magento-devops-queue-mgr-svc <139211740+magento-devops-queue-mgr-svc@users.noreply.github.com>
Co-authored-by: alzota <97607802+alzota@users.noreply.github.com>
Co-authored-by: Ryan Hoerr <rhoerr@users.noreply.github.com>
Co-authored-by: Vladyslav Podorozhnyi <vpodorozh@gmail.com>
Co-authored-by: Maksym Novik <m.novik@vconnect.dk>
Co-authored-by: Maksym Novik <novik.kor@gmail.com>
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
Co-authored-by: Vinai Kopp <vinai@netzarbeiter.com>
Co-authored-by: Shanthi Rajendran <glo25731@adobe.com>
Co-authored-by: Banvari Lal <glo60612@adobe.com>
Co-authored-by: jayrangnani-gl <142883278+jayrangnani-gl@users.noreply.github.com>
Co-authored-by: Abhishek Pathak <107833467+wip44850@users.noreply.github.com>
Co-authored-by: Sergio Vera <svera@adobe.com>
Co-authored-by: lakshmana49 <glo28218@adobe.com>
Co-authored-by: Dnyaneshwar Jambhulkar <pru34625@adobe.com>
Co-authored-by: Arularasan <glo02433@adobe.com>
Co-authored-by: Manjusha S <glo24116@adobe.com>
Co-authored-by: manjusha729 <93243302+manjusha729@users.noreply.github.com>
Co-authored-by: Rajesh Kumar <glo71317@adobe.com>
Co-authored-by: “Pavan-bj”  <pavan@BLR1-LMC-N71897.local>
Co-authored-by: Indrani <51680850+engcom-Charlie@users.noreply.github.com>
Co-authored-by: Shantanu Dasgupta <108055538+cod40403@users.noreply.github.com>
Co-authored-by: Chhandak.Barua <chhandak.barua@BLR1-LMC-N73490.local>
Co-authored-by: manishranjan-adobe <del55204@adobe.com>
Co-authored-by: Saurabh Kumar <glo17680@adobe.com>
Co-authored-by: Mircea Rosmeteniuc <mircea.rosm@gmail.com>
Co-authored-by: flowers <flowers@adobe.com>
Co-authored-by: Pavan-bj <140481523+Pavan-bj@users.noreply.github.com>
Co-authored-by: Manish Ranjan <105285471+manishranjan-adobe@users.noreply.github.com>
Co-authored-by: Nishant Rana <glo04412@adobe.com>
Co-authored-by: Raj Mohan <cod43156@Rajs-MacBook-Pro.local>
Co-authored-by: Nishant Rana <89177947+nishant04412@users.noreply.github.com>
Co-authored-by: internal-magento-queue-manager[bot] <70415199+internal-magento-queue-manager[bot]@users.noreply.github.com>
Co-authored-by: arnsaha <arnsaha@adobe.com>
Co-authored-by: Dmytro Voskoboinikov <voskoboi@adobe.com>
Co-authored-by: Sumesh P <142383015+sumesh-GL@users.noreply.github.com>
Co-authored-by: mohit-adobe <84013331+mohit-adobe@users.noreply.github.com>
Co-authored-by: Stanislav Idolov <sidolov@adobe.com>
Co-authored-by: Rafal Janicki <rjanicki@adobe.com>
Co-authored-by: Dmytro Horytskyi <5802616+dhorytskyi@users.noreply.github.com>
Co-authored-by: chittima <chittima@adobe.com>
Co-authored-by: cod43156 <cod43156@adobe.com>
Co-authored-by: Sarmistha <glo23503@adobe.com>
Co-authored-by: Ryan Sun <ryansun81@gmail.com>
Co-authored-by: Ryan Sun <ryansun@isnweb.com>
Co-authored-by: Adam <adam.crossland@zero1.co.uk>
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Co-authored-by: Lucas van Staden <sales@proxiblue.com.au>
Co-authored-by: Tjitse <Tjitse@vendic.nl>
Co-authored-by: Damien Retzinger <damienwebdev@gmail.com>
Co-authored-by: simsComputing <simon.jm.humeau@hotmail.fr>
Co-authored-by: s.humeau <humeau@antadis.com>
Co-authored-by: Abdellatif EL MIZEB <aelmizeb@gmail.com>
Co-authored-by: mage-os-terraform[bot] <104196000+mage-os-terraform[bot]@users.noreply.github.com>
mage-os-ci pushed a commit that referenced this pull request Feb 6, 2026
…bstractBlock tests

Fixed 21 test failures by using proper PHPUnit 12 pattern for abstract classes.

Files fixed:
1. AbstractBlockTest.php - 18 tests
   - Changed deprecated createMock(AbstractBlock, ['param' => value])
   - To: getMockBuilder()->setConstructorArgs()->onlyMethods([])->getMock()

2. AdapterAbstractTest.php - 3 tests
   - Changed createMock(AbstractAdapter) to allow real methods
   - Used: getMockBuilder()->onlyMethods([])->getMock()

3. ValidatorAbstractTest.php - 2 tests
   - Changed createMock(AbstractValidator) to allow real methods
   - Used: getMockBuilder()->onlyMethods([])->getMock()

Pattern: For abstract classes where tests need real method implementations:
  $mock = $this->getMockBuilder(AbstractClass::class)
      ->setConstructorArgs([$args])  // If constructor needs args
      ->onlyMethods([])                // Don't override any methods
      ->getMock();

The onlyMethods([]) tells PHPUnit to create a partial mock that allows
all real method implementations to work while still mocking the abstract
class instantiation.

Commit #61 - Fixed 21+ abstract class test failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants