Files
Arch1Panel/apps/playwright/1.60.0-noble/config/start.sh
T
2026-05-26 03:38:50 +08:00

18 lines
359 B
Bash
Executable File

#!/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