Enable Playwright e2e tests in dev container and CI pipeline
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/deploy unknown status

This commit is contained in:
2026-02-01 13:51:20 -03:00
parent 4bcce26a74
commit 81abdf4539
5 changed files with 100 additions and 73 deletions

View File

@@ -3,9 +3,22 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm
# Install system deps if needed (none required for static site)
# Install system deps for static site tooling + Playwright (e2e tests)
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
# Playwright browser dependencies (so e2e tests run inside devcontainer)
libnspr4 \
libnss3 \
libatk1.0-0 \
libdbus-1-3 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libasound2 \
&& rm -rf /var/lib/apt/lists/*
# Ensure workspace dir exists (mount point)