Commit 163712d5417 for woocommerce
commit 163712d5417d5a8728ec54254137bf73257466f7
Author: Luigi Teschio <gigitux@gmail.com>
Date: Fri Aug 7 12:47:36 2026 +0200
Fix product JS file count test for WordPress 7.1 (#67401)
* Fix JS file count test for WordPress 7.1
* Add changelog entry for WordPress 7.1 JS file count
diff --git a/plugins/woocommerce/changelog/fix-wp-71-product-js-file-count b/plugins/woocommerce/changelog/fix-wp-71-product-js-file-count
new file mode 100644
index 00000000000..e21cb6ec2b8
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-wp-71-product-js-file-count
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Update the JS file count test for WordPress 7.1.
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 17ef58a2a5a..2b95f67725c 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,7 @@ const pageGroups = [
{
name: 'Add new product',
url: 'wp-admin/post-new.php?post_type=product',
- expectedCount: 150,
+ expectedCount: 151,
},
{
name: 'Analytics page',