mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-04-27 11:21:44 +00:00
robot: Add cypress tests for web UI (#1269)
This commit is contained in:
parent
ef1b632b40
commit
7abcd26431
@ -785,6 +785,15 @@ webui-deps:
|
||||
RUN npm install
|
||||
SAVE ARTIFACT node_modules /node_modules AS LOCAL internal/webui/public/node_modules
|
||||
|
||||
webui-tests:
|
||||
FROM ubuntu:22.10
|
||||
RUN apt-get update && apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb golang nodejs npm
|
||||
COPY +build-kairos-agent/kairos-agent /usr/bin/kairos-agent
|
||||
COPY . src/
|
||||
WORKDIR src/
|
||||
RUN .github/cypress_tests.sh
|
||||
SAVE ARTIFACT /src/internal/webui/public/cypress/videos videos
|
||||
|
||||
docs:
|
||||
FROM node:19-bullseye
|
||||
ARG TARGETARCH
|
||||
|
Loading…
Reference in New Issue
Block a user