File tree Expand file tree Collapse file tree
build/devsandbox-dashboard Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ WORKDIR /app
5151# Increase shared memory for browsers (recommended for Playwright)
5252RUN mkdir -p /dev/shm && chmod 1777 /dev/shm
5353
54- COPY . .
55-
5654# Install Firefox required dependencies
5755RUN yum install -y \
5856 libxcb \
@@ -76,4 +74,6 @@ RUN yum install -y \
7674 libX11-xcb && \
7775 yum clean all
7876
77+ COPY . .
78+
7979CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change @@ -145,3 +145,5 @@ require (
145145go 1.24.4
146146
147147toolchain go1.24.11
148+
149+ tool github.com/playwright-community/playwright-go/cmd/playwright
Original file line number Diff line number Diff line change 3232e2e-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)
3333e2e-run-devsandbox-dashboard : RHDH=https://rhdh-${DEVSANDBOX_DASHBOARD_NS}.$(shell oc get ingress.config.openshift.io/cluster -o jsonpath='{.spec.domain}')
3434e2e-run-devsandbox-dashboard :
35- $(eval PWGO_VER := $(shell grep -oE "playwright-go v\S+" go.mod | sed 's/playwright-go //g') )
36- @echo " Installing Playwright CLI version: $( PWGO_VER) "
37- go install github.com/playwright-community/playwright-go/cmd/playwright@$(PWGO_VER )
3835 @echo " Installing Firefox browser for Playwright..."
39- $( GOPATH ) /bin/ playwright install firefox
36+ go tool playwright install firefox
4037
4138 @echo "Running Developer Sandbox Dashboard setup e2e tests..."
4239 DEVSANDBOX_DASHBOARD_NS=${DEVSANDBOX_DASHBOARD_NS} go test "./test/e2e/devsandbox-dashboard/setup" -v -timeout=10m -failfast
You can’t perform that action at this time.
0 commit comments