Skip to content

Commit 80293d1

Browse files
LiZhang19817claude
andcommitted
Pin Node.js to v20.x in quay-test-console image
Fix Cypress test failures caused by Node.js v22 compatibility issues. The latest LTS Node.js (v22.x) is incompatible with Cypress 12.6.0, causing "ERR_FAILED (-2) loading 'about:blank#blocked'" errors. Pinning to Node.js 20.x resolves the issue while maintaining LTS support. Error details: - The new-window event is deprecated in Electron 106 (bundled with Cypress 12.6.0) - Node.js v22 has stricter security policies that block Electron initialization - This affects all tests using the quay-test-console image including the quay-e2e-tests-quay316-api-testing job 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4062823 commit 80293d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci-operator/config/quay/quay-tests/quay-quay-tests-master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build_root:
1111
images:
1212
- dockerfile_literal: |
1313
FROM src
14-
RUN curl --silent --location https://rpm.nodesource.com/setup_lts.x | bash - && \
14+
RUN curl --silent --location https://rpm.nodesource.com/setup_20.x | bash - && \
1515
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo && \
1616
PACKAGES="openssh-clients httpd-tools nodejs yarn xorg-x11-server-Xvfb gtk2-devel gtk3-devel libnotify-devel GConf2 nss libXScrnSaver alsa-lib skopeo bzip2 jq python3.9" && \
1717
yum install --setopt=tsflags=nodocs -y $PACKAGES && \

0 commit comments

Comments
 (0)