Commit 4d2b7bb1b68 for woocommerce

commit 4d2b7bb1b684f9cefcf911d48a78d31788ab8932
Author: Luigi Teschio <gigitux@gmail.com>
Date:   Wed Oct 21 16:23:48 2026 +0200

    Fix product script-count E2E test for WordPress 7.2 (#70085)

    * Fix product script-count E2E test for WordPress 7.2

    * Add changelog entry for WordPress 7.2 script-count test

diff --git a/plugins/woocommerce/changelog/dev-wordpress-72-product-script-count b/plugins/woocommerce/changelog/dev-wordpress-72-product-script-count
new file mode 100644
index 00000000000..7988ddba885
--- /dev/null
+++ b/plugins/woocommerce/changelog/dev-wordpress-72-product-script-count
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Update the product editor script-count E2E limit for WordPress 7.2; no production change.
diff --git a/plugins/woocommerce/tests/e2e/tests/js-file-monitor/monitor-js-file-number.spec.ts b/plugins/woocommerce/tests/e2e/tests/js-file-monitor/monitor-js-file-number.spec.ts
index f4b670e7d03..2f6a2149fe4 100644
--- a/plugins/woocommerce/tests/e2e/tests/js-file-monitor/monitor-js-file-number.spec.ts
+++ b/plugins/woocommerce/tests/e2e/tests/js-file-monitor/monitor-js-file-number.spec.ts
@@ -49,7 +49,9 @@ const pageGroups = [
 			{
 				name: 'Add new product',
 				url: 'wp-admin/post-new.php?post_type=product',
-				expectedCount: 151,
+				// WP 7.2 disables admin script concatenation by default.
+				// https://github.com/WordPress/wordpress-develop/pull/13090
+				expectedCount: 154,
 			},
 			{
 				name: 'Analytics page',