Files
Phantom/archive/run-playwright-tests.sh
NW 863a67db8e config: full APAW agent infrastructure + Phantom project files
- Added all agent definitions (.kile/agents/*.md)
- Added commands, rules, skills, shared modules
- Added src/, scripts/, tests/, docker/, agent-evolution/
- Extracted 3 archives: website/, workspace/, release/
- Created .env with Gitea creds for UniqueSoft/Phantom
- Created docs/ with project-specific guides
- Added .gitignore for node_modules
2026-05-18 17:53:59 +01:00

28 lines
635 B
Bash

#!/bin/bash
# Run Playwright MCP tests directly without docker-compose
echo "=== Starting Playwright MCP Server ==="
# Create directories
mkdir -p .test/screenshots/{baseline,current,diff} .test/reports
# Build and run container
echo "Building Docker image..."
docker build -t playwright-mcp -f Dockerfile.playwright . 2>&1 | tail -5
echo ""
echo "Running Playwright MCP (headed mode - browser will be visible)..."
echo ""
# Run with DISPLAY for headed mode
docker run --rm -it \
--ipc=host \
--shm-size=2g \
-v $(pwd):/app \
-e DISPLAY=$DISPLAY \
-p 8931:8931 \
playwright-mcp
echo ""
echo "Playwright MCP stopped."