From fd6aa6e54e3903c4448f80c9921f09e9e50a5c45 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 11 Mar 2025 09:34:30 +0100 Subject: [PATCH] ci: add e2e test w/ playwright connection --- .github/workflows/e2e-test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index c52f022f..fe7104a4 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -137,3 +137,10 @@ jobs: ./lightpanda serve & echo $! > LPD.pid node puppeteer/dump.js || exit 1 kill `cat LPD.pid` + + - name: run playwright connect + run: | + python3 -m http.server 1234 -d ./public & echo $! > PYTHON.pid + ./lightpanda serve & echo $! > LPD.pid + node playwright/connect.js || exit 1 + kill `cat LPD.pid` `cat PYTHON.pid`