@@ -93,11 +93,12 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
9393 npm run playwright-install; \
9494 fi
9595RUN 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+ # # ########################################################
120121COPY launcher /checode-launcher
121122WORKDIR /checode-launcher
122123RUN npm install \
0 commit comments