From 630a7477279adc893b5e8bee075bbae5d8361d53 Mon Sep 17 00:00:00 2001 From: Jean Miranda Date: Mon, 9 Mar 2026 21:46:00 +0100 Subject: [PATCH] add :serve step --- .github/workflows/e2e-smoke-test.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-smoke-test.yml b/.github/workflows/e2e-smoke-test.yml index 3395f548f..3f0c57ede 100644 --- a/.github/workflows/e2e-smoke-test.yml +++ b/.github/workflows/e2e-smoke-test.yml @@ -48,7 +48,8 @@ jobs: - name: Install Playwright browsers run: yarn playwright install --with-deps chromium - - name: Build application + - name: Build application (Linux) + if: runner.os == 'Linux' run: yarn bks:build - name: Run E2E smoke test (Linux) @@ -58,9 +59,14 @@ jobs: ELECTRON_ENABLE_LOGGING: 1 ELECTRON_DISABLE_SANDBOX: 1 - - name: Run E2E smoke test (macOS/Windows) + - name: Serve + Run Tests (macOS/Windows) if: runner.os != 'Linux' - run: yarn workspace beekeeper-studio test:e2e e2e/tests/appLaunch.test.ts + shell: bash + run: | + yarn run electron:serve > server.log 2>&1 & + sleep 15 + cat server.log + yarn workspace beekeeper-studio test:e2e e2e/tests/appLaunch.test.ts env: ELECTRON_ENABLE_LOGGING: 1