Commit 13acc6234f8 for woocommerce
commit 13acc6234f8c0cbd30bfd7bbef3e2d0eb3cac130
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date: Wed Jun 17 21:43:39 2026 +0200
Remove redundant basic E2E smoke test (#65810)
diff --git a/plugins/woocommerce/changelog/remove-redundant-basic-e2e-spec b/plugins/woocommerce/changelog/remove-redundant-basic-e2e-spec
new file mode 100644
index 00000000000..58366b35c35
--- /dev/null
+++ b/plugins/woocommerce/changelog/remove-redundant-basic-e2e-spec
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Remove redundant basic E2E smoke test; its checks are implicitly covered by other specs.
diff --git a/plugins/woocommerce/tests/e2e-pw/README.md b/plugins/woocommerce/tests/e2e-pw/README.md
index de162843f91..c7e0c6f77cd 100644
--- a/plugins/woocommerce/tests/e2e-pw/README.md
+++ b/plugins/woocommerce/tests/e2e-pw/README.md
@@ -52,7 +52,7 @@ Other ways of running tests (make sure you are in the `plugins/woocommerce` fold
- `pnpm test:e2e` (usual, headless run)
- `pnpm test:e2e --headed` (headed -- displaying browser window and test interactions)
- `pnpm test:e2e --debug` (runs tests in debug mode)
-- `pnpm test:e2e basic.spec.js` (runs a single test file - `basic.spec.js` in this case)
+- `pnpm test:e2e page-loads.spec.ts` (runs a single test file - `page-loads.spec.ts` in this case)
- `pnpm test:e2e ./tests/e2e-pw/tests/merchant` (runs all tests that are found in the `merchant` folder)
- `pnpm test:e2e --ui` (open tests in [Playwright UI mode](https://playwright.dev/docs/test-ui-mode)).
diff --git a/plugins/woocommerce/tests/e2e-pw/tests/basic/basic.spec.ts b/plugins/woocommerce/tests/e2e-pw/tests/basic/basic.spec.ts
deleted file mode 100644
index 08337ca5c7c..00000000000
--- a/plugins/woocommerce/tests/e2e-pw/tests/basic/basic.spec.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * External dependencies
- */
-import { test, expect } from '@playwright/test';
-
-/**
- * Internal dependencies
- */
-import { logIn } from '../../utils/login';
-import { admin, customer } from '../../test-data/data';
-
-test( 'Load the home page', async ( { page } ) => {
- await page.goto( './' );
- await expect(
- await page
- .getByRole( 'link', { name: 'WooCommerce Core E2E Test' } )
- .count()
- ).toBeGreaterThan( 0 );
- await expect( page.getByText( /powered by WordPress/i ) ).toBeVisible();
- expect( await page.title() ).toBe( 'WooCommerce Core E2E Test Suite' );
- await expect(
- page.getByRole( 'link', { name: 'WordPress' } )
- ).toBeVisible();
-} );
-
-test( 'Load wp-admin as admin', async ( { page } ) => {
- await page.context().clearCookies();
- await page.goto( './wp-admin' );
- await logIn( page, admin.username, admin.password );
- await expect(
- page.getByRole( 'heading', { name: 'Dashboard' } )
- ).toBeVisible();
-} );
-
-test( 'Load my account page as customer', async ( { page } ) => {
- await page.context().clearCookies();
- await page.goto( './my-account' );
- await logIn( page, customer.username, customer.password, false );
- await expect(
- page.getByRole( 'heading', { name: 'My Account' } )
- ).toBeVisible();
-} );