test: add cross-platform launch test for electron app#281
test: add cross-platform launch test for electron app#281icebear0828 wants to merge 1 commit intomasterfrom
Conversation
Co-authored-by: icebear0828 <63769498+icebear0828@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR resolves #121 by adding an end-to-end integration test to ensure the Electron shell builds, packages, and successfully opens its main window without crashing upon launch.
Key changes:
@playwright/test,playwright, andvitestas devDependencies inpackages/electron/package.json."test": "vitest run"script topackages/electron/package.jsonto enable automated local execution.packages/electron/__tests__/launch.test.tsto coordinate full workflow testing:npm run build.linux-unpacked,win-unpacked,mac) usingnpx electron-builder --dir.DISABLE_NATIVE_TRANSPORTissues via a mockedlocal.yaml.test-user-datadirectory parameter, boots the Playwright runtime, and asserts the successful opening of the "Codex Proxy Developer Dashboard" window.PR created automatically by Jules for task 17437062806426425755 started by @icebear0828