mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-09 02:38:06 +08:00
feat: add app playwright
This commit is contained in:
Executable
+18
@@ -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
|
||||
Reference in New Issue
Block a user