Commit f811c1f9150 for woocommerce

commit f811c1f9150801b5ee75e7f7049e8466e5097c76
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date:   Sat Oct 10 17:40:37 2026 +0300

    e2e tests: fix strict mode violation in product export test (#69685)

diff --git a/plugins/woocommerce/tests/e2e/tests/product/product-export.spec.ts b/plugins/woocommerce/tests/e2e/tests/product/product-export.spec.ts
index fb6d6942b3c..26f71a16138 100644
--- a/plugins/woocommerce/tests/e2e/tests/product/product-export.spec.ts
+++ b/plugins/woocommerce/tests/e2e/tests/product/product-export.spec.ts
@@ -129,10 +129,11 @@ test.describe( 'Product > Export Selected Products', () => {
 				page.locator( 'label[for="woocommerce-exporter-category"]' )
 			).toBeHidden();
 			await expect(
-				page.locator( '.woocommerce-exporter header p' )
-			).toHaveText(
-				'This tool allows you to generate and download a CSV file containing the selected products.'
-			);
+				page.getByText(
+					'This tool allows you to generate and download a CSV file containing the selected products.',
+					{ exact: true }
+				)
+			).toBeVisible();
 		} );

 		await test.step( 'Clear the selected products', async () => {
@@ -156,10 +157,11 @@ test.describe( 'Product > Export Selected Products', () => {
 				page.locator( 'label[for="woocommerce-exporter-category"]' )
 			).toBeVisible();
 			await expect(
-				page.locator( '.woocommerce-exporter header p' )
-			).toHaveText(
-				'This tool allows you to generate and download a CSV file containing a list of all products.'
-			);
+				page.getByText(
+					'This tool allows you to generate and download a CSV file containing a list of all products.',
+					{ exact: true }
+				)
+			).toBeVisible();
 		} );
 	} );
 } );