Commit eb96879d602 for woocommerce

commit eb96879d6020d581d52ba654ee4a155ee1d9e402
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date:   Fri Jun 19 17:21:44 2026 +0200

    e2e-tests: right-size create-order spec — drop redundant tax-amount assertions (#65870)

    tests(e2e): remove redundant tax-amount assertions from create-order spec

    The hardcoded tax-amount loop (`taxTotals = ['10.00','20.00','240.00']`)
    asserted calculation logic already covered by API tests
    (order-complex.test.ts) and PHPUnit (class-wc-abstract-order-test.php).

    The Recalculate click and tax-name assertions are kept — they exercise
    the browser-only AJAX → re-render seam that no lower tier covers.

    Fixes TESTOPS-183

diff --git a/plugins/woocommerce/changelog/testops-183-right-size-create-order-spec b/plugins/woocommerce/changelog/testops-183-right-size-create-order-spec
new file mode 100644
index 00000000000..e8891ca4740
--- /dev/null
+++ b/plugins/woocommerce/changelog/testops-183-right-size-create-order-spec
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Remove redundant tax-amount assertions from create-order E2E spec; tax calculation logic is already covered by API and PHPUnit tests.
diff --git a/plugins/woocommerce/tests/e2e-pw/tests/order/create-order.spec.ts b/plugins/woocommerce/tests/e2e-pw/tests/order/create-order.spec.ts
index 89085b9d5c2..6ba22898d4d 100644
--- a/plugins/woocommerce/tests/e2e-pw/tests/order/create-order.spec.ts
+++ b/plugins/woocommerce/tests/e2e-pw/tests/order/create-order.spec.ts
@@ -42,8 +42,6 @@ const taxRates = [
 		class: 'tax-class-external',
 	},
 ];
-const taxTotals = [ '10.00', '20.00', '240.00' ];
-
 async function getOrderIdFromPage( page: Page ) {
 	// get order ID from the page
 	const orderText = await page
@@ -580,15 +578,6 @@ test.describe(
 				).toHaveText( taxRate.name );
 				i++;
 			}
-
-			// verify tax amounts
-			i = 1; // subtotal line is 0 here
-			for ( const taxAmount of taxTotals ) {
-				await expect(
-					page.locator( `.wc-order-totals td.total >> nth=${ i }` )
-				).toContainText( taxAmount );
-				i++;
-			}
 		} );
 	}
 );