Commit 3f671b5981 for woocommerce

commit 3f671b5981890941875817365ffddb128e016a91
Author: Luigi Teschio <gigitux@gmail.com>
Date:   Fri Jun 20 09:52:42 2025 +0200

    Fix database error (#58983)

    * Fix database error

    * fix command

diff --git a/plugins/woocommerce/client/blocks/tests/e2e/global-setup.ts b/plugins/woocommerce/client/blocks/tests/e2e/global-setup.ts
index 58d24ebaf2..b469d6f381 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/global-setup.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/global-setup.ts
@@ -68,7 +68,6 @@ async function globalSetup() {

 	try {
 		await wpCLI( `db import ${ DB_EXPORT_FILE }` );
-		await wpCLI( `db repair` );
 		console.log( '├ Database snapshot imported, running basic setup…' );
 		databaseImported = true;
 	} catch ( error ) {
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/utils/test.ts b/plugins/woocommerce/client/blocks/tests/e2e/utils/test.ts
index 1b8722752b..7b7ad1718d 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/utils/test.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/utils/test.ts
@@ -137,9 +137,9 @@ const test = base.extend<
 		// Dispose the current APIRequestContext to free up resources.
 		await page.request.dispose();

+		await wpCLI( `db reset --yes` );
 		// Reset the database to the initial state via snapshot import.
 		await wpCLI( `db import ${ DB_EXPORT_FILE }` );
-		await wpCLI( `db repair` );
 	},
 	pageUtils: async ( { page }, use ) => {
 		await use( new PageUtils( { page } ) );