From 9837e80fac0dd03b901071d67d76d40dd998c609 Mon Sep 17 00:00:00 2001 From: fengsilin Date: Thu, 18 Jun 2026 11:20:27 +0800 Subject: [PATCH] test: add e2e scripts --- web/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/package.json b/web/package.json index 28694fb..a6f3210 100644 --- a/web/package.json +++ b/web/package.json @@ -50,6 +50,10 @@ "lint:fix": "prettier . --write", "eslint": "bunx eslint \"**/*.{js,jsx}\" --cache", "eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --cache", + "e2e": "playwright test", + "e2e:ui": "playwright test --ui", + "e2e:headed": "playwright test --headed", + "e2e:install": "playwright install chromium", "preview": "vite preview", "i18n:extract": "bunx i18next-cli extract", "i18n:status": "bunx i18next-cli status",