Skip to content

Commit c5d7ba3

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

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

build/dockerfiles/linux-musl.Dockerfile

Lines changed: 6 additions & 5 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)

0 commit comments

Comments
 (0)