Skip to content

Commit 16d07ff

Browse files
fix: Fix integration tests for the musl-based assembly
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 42453a5 commit 16d07ff

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

build/dockerfiles/linux-musl.Dockerfile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
9393
npm run playwright-install; \
9494
fi
9595
RUN if [ "$(uname -m)" = "x86_64" ]; then \
96-
PLAYWRIGHT_CHROMIUM_PATH=$(echo /root/.cache/ms-playwright/chromium-*/) && \
97-
rm "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" && \
98-
ln -s /usr/bin/chromium-browser "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" && \
99-
ls -la /checode-compilation/extensions/vscode-api-tests/ && \
100-
ls -la /checode-compilation/extensions/vscode-api-tests/out/; \
96+
PLAYWRIGHT_HEADLESS_PATH=$(echo /root/.cache/ms-playwright/chromium_headless_shell-*/chrome-linux) && \
97+
echo "Found headless_shell path: $PLAYWRIGHT_HEADLESS_PATH" && \
98+
rm -f "$PLAYWRIGHT_HEADLESS_PATH/headless_shell" && \
99+
ln -sf /usr/bin/chromium-browser "$PLAYWRIGHT_HEADLESS_PATH/headless_shell" && \
100+
ln -sf /usr/bin/chromium-browser "$PLAYWRIGHT_HEADLESS_PATH/chrome" && \
101+
ls -la "$PLAYWRIGHT_HEADLESS_PATH"; \
101102
fi
102103

103104
# Run integration tests (Browser)
@@ -112,11 +113,11 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
112113
retry -v -t 3 -s 2 -- timeout 5m npm run smoketest-no-compile -- --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"; \
113114
fi
114115

115-
#########################################################
116-
#
117-
# Copy VS Code launcher to the container
118-
#
119-
#########################################################
116+
# #########################################################
117+
# #
118+
# # Copy VS Code launcher to the container
119+
# #
120+
# #########################################################
120121
COPY launcher /checode-launcher
121122
WORKDIR /checode-launcher
122123
RUN npm install \

0 commit comments

Comments
 (0)