feat: add app playwright

This commit is contained in:
arch3rPro
2025-08-30 19:32:42 +08:00
parent 9e637555ab
commit bd09592e0b
11 changed files with 960 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
echo "🎭 Setting up Playwright Test Environment..."
# 确保目录存在
mkdir -p tests test-results
# 安装依赖
echo "📦 Installing dependencies..."
npm install
# 安装 Playwright 浏览器
echo "🌐 Installing Playwright browsers..."
npx playwright install
# 启动服务器
echo "🚀 Starting Playwright server..."
node server.js