mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 17:04:49 +01:00
init e2e ui tests base skeleton
This commit is contained in:
parent
83c7321c8f
commit
c84629cc4e
16 changed files with 1219 additions and 0 deletions
20
test-automation/web-ui/Dockerfile
Normal file
20
test-automation/web-ui/Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM mcr.microsoft.com/playwright:v1.51.0-noble
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# pnpm installieren
|
||||
RUN npm install -g pnpm@9
|
||||
|
||||
# Workspace-Root und e2e-Package-Manifest kopieren
|
||||
COPY frontend/package.json frontend/pnpm-workspace.yaml ./
|
||||
COPY test-automation/web-ui/package.json ./test-automation/web-ui/
|
||||
|
||||
# pnpm Install (nur Prod + Dev-Deps des e2e-Pakets)
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
# Test-Code und Konfiguration kopieren
|
||||
COPY test-automation/web-ui/ ./test-automation/web-ui/
|
||||
|
||||
WORKDIR /app/test-automation/web-ui
|
||||
|
||||
ENTRYPOINT ["pnpm", "exec", "playwright", "test"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue