Repository navigation
Add a desktop engine to e2e init (tester-army/e2e#2462) - #2643
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e1yAbM4TVbmeVfVEJxw
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2561
What
e2e init --engine desktopscaffolds a macOS desktop project: amacostarget on Calculator (com.apple.calculator), an example test onDesktopTest(Calculator_opens, asserting the7key, which reads the same in every system language), a commented agent example, and theE2E.Desktop.<framework>package. Init warns when the host is not macOS. The pipeline--ciwrites leaves amacostarget out and says what running it takes;--ciwith only the desktop engine writes no pipeline.Value
Users with a native Mac app get a working starting point and a clear message about CI instead of a job that can never pass.
Upstream parity
Ported: e2e-inc/e2e#2462 (f68b4e1). Verdict: complete, with the exceptions below.
EnginePreset.Platform,Host(upstreamplatform,host); desktop preset;Ci.HasJob,Ci.WithoutJobNotices,NoJob(upstreamhasJob,withoutJobNotices,NO_JOB);GetCiJobsskips no-job platforms;engineInstalledcounts only engines with a job; host warning text identical.InitOptions.Darwin(test seam for the host, likeWindows).NO_JOB(no Electron engine in the port);docs/telemetry.mdxand telemetry parts (deliberately not ported);pointAtAppand thecontinueWithhand-over tests, as the port has nocontinueWith: e2e init: continueWith hand-over to an agent command, with pointAtApp steps (tester-army/e2e#2462) #2642.coding-agents.mdx,skills/e2e-dotnet/SKILL.md. The docs link is/get-started/macos, the port's counterpart of upstream's/desktop#set-up.Upstream tests and local match
E2eInitTests.Partial_Matches_imports_and_dependencies_to_engine_ai(desktop case)Partial_Defaults_agent_device_to_the_platform_of_the_hostPartial_Says_a_desktop_target_does_not_run_off_macOS_and_says_nothing_on_a_Mac(one target per config, so two runs)WithACiWorkflowTests.Partial_Leaves_a_macOS_target_out_of_the_pipeline…Partial_Writes_no_pipeline_when_an_existing_web_and_desktop_config_does_not_read…CiJobsTests.Partial_Leaves_a_macOS_target_out_of_every_job…(no Electron)Scaffolds_the_adapter_of_the_engine_for_TUnitdesktop caseTests:
E2E.Cli.Testsinit tests pass; 10 MCP tests fail only because Playwright cannot download Chromium here (unrelated).https://claude.ai/code/session_01Ls2e1yAbM4TVbmeVfVEJxw
Generated by Claude Code