webui: Add aria snapshot testing
diff --git a/webui/package.json b/webui/package.json
index a126955..462e44d 100644
--- a/webui/package.json
+++ b/webui/package.json
@@ -17,7 +17,9 @@
"gentypes": "go run ../../cmd/go2ts -o src/types.ts",
"build": "go run ../../cmd/go2ts -o src/types.ts && tsc",
"watch": "tsc --watch",
- "test": "tsc && playwright test -c playwright-ct.config.ts"
+ "test": "tsc && npm run test:playwright",
+ "test:playwright": "playwright test -c playwright-ct.config.ts",
+ "update-snapshots": "npm run test:playwright -- --update-snapshots"
},
"dependencies": {
"@xterm/addon-fit": "^0.10.0",