Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/devsandbox-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ WORKDIR /app
# Increase shared memory for browsers (recommended for Playwright)
RUN mkdir -p /dev/shm && chmod 1777 /dev/shm

COPY . .

# Install Firefox required dependencies
RUN yum install -y \
libxcb \
Expand All @@ -76,4 +74,6 @@ RUN yum install -y \
libX11-xcb && \
yum clean all

COPY . .

CMD ["/bin/bash"]
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,5 @@ require (
go 1.24.4

toolchain go1.24.11

tool github.com/playwright-community/playwright-go/cmd/playwright
5 changes: 1 addition & 4 deletions make/devsandbox-dashboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ endif
e2e-run-devsandbox-dashboard: HOST_NS=$(shell oc get projects -l app=host-operator --output=name -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | sort | tail -n 1)
e2e-run-devsandbox-dashboard: RHDH=https://rhdh-${DEVSANDBOX_DASHBOARD_NS}.$(shell oc get ingress.config.openshift.io/cluster -o jsonpath='{.spec.domain}')
e2e-run-devsandbox-dashboard:
$(eval PWGO_VER := $(shell grep -oE "playwright-go v\S+" go.mod | sed 's/playwright-go //g'))
@echo "Installing Playwright CLI version: $(PWGO_VER)"
go install github.com/playwright-community/playwright-go/cmd/playwright@$(PWGO_VER)
@echo "Installing Firefox browser for Playwright..."
$(GOPATH)/bin/playwright install firefox
go tool playwright install firefox

@echo "Running Developer Sandbox Dashboard setup e2e tests..."
DEVSANDBOX_DASHBOARD_NS=${DEVSANDBOX_DASHBOARD_NS} go test "./test/e2e/devsandbox-dashboard/setup" -v -timeout=10m -failfast
Expand Down
Loading