From 2bdf3a65362d99a77933f08c7463ecc02b281052 Mon Sep 17 00:00:00 2001 From: Hardik Date: Wed, 24 Jun 2026 05:06:44 +0530 Subject: [PATCH] chore: rename e2e folder to catalogue + drop /inventory redirects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tests/e2e/inventory → tests/e2e/catalogue (folder name only; playwright globs ./tests/e2e so nothing else changes). - remove the next.config redirects from /inventory/{items,vendors}: the old routes are intentionally left free for a future feature. Co-Authored-By: Claude Opus 4.8 (1M context) --- App/next.config.ts | 8 -------- App/tests/e2e/{inventory => catalogue}/cart-icon.spec.ts | 0 App/tests/e2e/{inventory => catalogue}/items-tags.spec.ts | 0 3 files changed, 8 deletions(-) rename App/tests/e2e/{inventory => catalogue}/cart-icon.spec.ts (100%) rename App/tests/e2e/{inventory => catalogue}/items-tags.spec.ts (100%) diff --git a/App/next.config.ts b/App/next.config.ts index 706e2d7..0643b86 100644 --- a/App/next.config.ts +++ b/App/next.config.ts @@ -19,14 +19,6 @@ const nextConfig: NextConfig = { : []), ], }, - // The product catalogue moved from /inventory/{items,vendors} to - // /catalogue/{items,vendors}; keep old links (bookmarks, emails) working. - async redirects() { - return [ - { source: "/inventory/items/:path*", destination: "/catalogue/items/:path*", permanent: true }, - { source: "/inventory/vendors/:path*", destination: "/catalogue/vendors/:path*", permanent: true }, - ]; - }, }; export default nextConfig; diff --git a/App/tests/e2e/inventory/cart-icon.spec.ts b/App/tests/e2e/catalogue/cart-icon.spec.ts similarity index 100% rename from App/tests/e2e/inventory/cart-icon.spec.ts rename to App/tests/e2e/catalogue/cart-icon.spec.ts diff --git a/App/tests/e2e/inventory/items-tags.spec.ts b/App/tests/e2e/catalogue/items-tags.spec.ts similarity index 100% rename from App/tests/e2e/inventory/items-tags.spec.ts rename to App/tests/e2e/catalogue/items-tags.spec.ts