From 7ac5182c66a0b0de01419be0154dc6336a3871d8 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sat, 3 Feb 2024 09:57:45 -0800 Subject: [PATCH] Test to see if built JS file is in container --- .github/workflows/test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c39f134a..4a66f568 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,6 +29,8 @@ jobs: docker run -d -p 8888:8888 -e JUPYTER_TOKEN=secret jupyter-remote-desktop-proxy sleep 10 curl 'http://localhost:8888/desktop/?token=secret' | grep 'Jupyter Remote Desktop Proxy' + # Test if the built JS file is present in the image + curl 'http://localhost:8888/desktop/dist/viewer.js?token=secret' > /dev/null # TODO: Check VNC desktop works, e.g. by comparing Playwright screenshots # https://playwright.dev/docs/test-snapshots