mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
16 lines
466 B
Bash
Executable file
16 lines
466 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Run a thin Playwright smoke suite in CI (backend + Vite dev server).
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
export CI=1
|
|
export MESHCHAT_SKIP_STORAGE_LOCK=1
|
|
export E2E_BACKEND_PORT="${E2E_BACKEND_PORT:-18079}"
|
|
export E2E_VITE_HOST="${E2E_VITE_HOST:-127.0.0.1}"
|
|
export E2E_VITE_PORT="${E2E_VITE_PORT:-5173}"
|
|
|
|
pnpm exec playwright install chromium --with-deps
|
|
|
|
pnpm exec playwright test tests/e2e/smoke.spec.js
|