Skip to content

test: add CI smoke tests for Docker, Electron, and Web frontend#160

Open
icebear0828 wants to merge 1 commit intomasterfrom
ci-smoke-tests-652523042335235759
Open

test: add CI smoke tests for Docker, Electron, and Web frontend#160
icebear0828 wants to merge 1 commit intomasterfrom
ci-smoke-tests-652523042335235759

Conversation

@icebear0828
Copy link
Owner

Resolves #133
Resolves #134
Resolves #135

Added three new workflows to ensure code builds and launches properly.


PR created automatically by Jules for task 652523042335235759 started by @icebear0828

This commit implements three smoke tests to improve CI reliability:

1. **Docker Smoke Test**: Builds the image, runs it on default (8080)
   and custom (8090 via config mount) ports, and verifies `/health`
   returns 200 after the container becomes healthy.
2. **Electron Smoke Test**: Packages the Electron application for Linux
   and runs a Playwright test (via `_electron.launch()`) with xvfb
   to verify the main window successfully opens.
3. **Web Smoke Test**: Builds the Vite/Preact frontend, spawns the
   backend node process locally, and verifies that theme CSS is
   present and that the root HTML renders `<div id="app"></div>`.

These workflows are triggered on push to `master` and on PRs.

Resolves #133, Resolves #134, Resolves #135.

Co-authored-by: icebear0828 <63769498+icebear0828@users.noreply.github.com>
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant