Skip to content

fix(cli): add the desktop engine an existing config imports in e2e init - #2481

Closed
kdy1 wants to merge 4 commits into
mainfrom
kdy1/cli-init-config-engines
Closed

kdy1 wants to merge 4 commits into
mainfrom
kdy1/cli-init-config-engines

Conversation

@kdy1

@kdy1 kdy1 commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

What

e2e init on a project whose existing config imports @e2e-dev/desktop adds @e2e-dev/desktop and @e2e-dev/core to package.json, as it already does for the web, mobile, and Electron engines.

Why

init knew only the engines that have a scaffold preset. The desktop engine has none, so for a config that imports it, init added no engine to package.json, and npm install then left the config unable to load.

How it works

  1. packages/e2e/scripts/write-sibling-versions.ts records the @e2e-dev/desktop version in dist/cli/init/sibling-versions.json at build time, beside the other engines.
  2. importedDependencies in packages/e2e/src/cli/init/config-dependencies.ts counts @e2e-dev/desktop as an engine next to the presets' engines. An import of it adds the engine at the recorded range, and @e2e-dev/core with it.
  3. docs/reference/cli.mdx lists the Electron and desktop engines among the packages init adds for a config's imports. The list named web and mobile only, though main already adds Electron. AGENTS.md says the desktop engine counts though it has no preset.

Verified

Ran it locally: yes

Scratch project with its own git root, a package.json with e2e only, and an e2e.config.ts that imports desktop from @e2e-dev/desktop. I ran CI=1 e2e init --yes --skills none --mcp none once with main's build and once with this branch's:

main this PR
devDependencies after init { "e2e": "*" } { "@e2e-dev/core": "^0.25.0", "@e2e-dev/desktop": "^0.0.1", "e2e": "*" }

The new unit test in cli-init.test.ts fails with main's config-dependencies.ts and passes with this one.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes

    • Rerunning e2e init on an existing config now adds the desktop engine and its required core package to package.json when they’re imported.
  • Documentation

    • Clarified which engine packages e2e init adds when checking an existing config.

kdy1 and others added 4 commits November 29, 2026 12:35
init on a project whose config imports @e2e-dev/desktop said there was
nothing to create, while it adds the web, mobile, and Electron engines a
config imports: only engines with a scaffold preset were known. The build
now records the desktop version too, and it counts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nit adds for a config's imports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kdy1
kdy1 requested a review from okwasniewski as a code owner November 29, 2026 03:36
@github-actions github-actions Bot added e2e team Opened by the e2e team size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile labels Nov 29, 2026
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Desktop engine initialization

Layer / File(s) Summary
Detect and add desktop engine dependencies
packages/e2e/src/cli/init/config-dependencies.ts, packages/e2e/scripts/write-sibling-versions.ts, packages/e2e/tests/unit/cli-init.test.ts, AGENTS.md, docs/reference/cli.mdx, .changeset/init-config-desktop-engine.md
Init includes desktop sibling dependencies when detecting imported engines. The test checks that it adds the desktop and core packages to devDependencies. The sibling version data and documentation include the desktop engine.

Possibly related PRs

  • e2e-inc/e2e#2462: Adds the desktop engine to e2e init; both PRs change how init adds the desktop package.

Change: Bug fix

Merge Risk: Minimal · up to 271d5

Running init on an existing config that imports the desktop engine now adds the desktop and core packages to devDependencies. No merge-blocking risk is evident.

Architecture risk: Low · up to 271d5

The change affects 3 source areas.

The e2e init implementation owns the project's dependency-manifest update, and projects declaring a desktop config import depend on it to add the desktop and applicable core packages.

Changed areas: packages/e2e, AGENTS.md, docs

Review details

Systems and components

  • observed — packages/e2e (library) was modified; 3 changed files map to changed impact.
  • observed — 1 changed file mapped to AGENTS.md.
  • observed — 1 changed file mapped to docs.

Before / after behavior

  • observed — Modified behavior in AGENTS.md: The Layout section adds documentation that rerunning init on an existing config adds imported engines to package.json, covering every preset and the desktop engine despite its lack of a preset. The existing statement that presets do not import engine implementations remains.
  • observed — Modified behavior in docs/reference/cli.mdx: The e2e init documentation adds @e2e-dev/electron and @e2e-dev/desktop to the packages it checks for in an existing config.
  • observed — Modified behavior in packages/e2e/scripts/write-sibling-versions.ts: The comment now describes recording engine versions that e2e init installs or adds for a config that imports them; previously it described only installed versions.
  • observed — Modified behavior in packages/e2e/scripts/write-sibling-versions.ts: The versions object now reads and records the sibling desktop package’s version as @e2e-dev/desktop.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Usage-based review receipt

  • Mode: Continue automatically
  • Reviewed files: 6
  • Waived: $1.50 (charged $0.00)
  • View usage details

Note

This review exceeded your plan’s limits and used usage-based reviews—free during trial, billed after paid activation unless disabled. Manage usage-based reviews.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e5f7c01e-d312-4077-8f7f-5279deb47e1f
Commits

Reviewing files that changed from the base of the PR and between 7c1b2b2 and 271d5c9.

Files selected for processing: 6

  • .changeset/init-config-desktop-engine.md
  • AGENTS.md
  • docs/reference/cli.mdx
  • packages/e2e/scripts/write-sibling-versions.ts
  • packages/e2e/src/cli/init/config-dependencies.ts
  • packages/e2e/tests/unit/cli-init.test.ts

Limit details: You’ve used all 10 included reviews currently available.

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e web: 95 passed

All 95 tests in 43 files
Test Time
🟢 tests/aria-hidden-flow.e2e.ts · 2 passed 548ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 418ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 130ms
🟢 tests/async-states.e2e.ts · 2 passed 6.9s
🟢 async states › reads the code off the transient toast and verifies it once the button enables 2.2s
🟢 async states › a wrong code is rejected after the toast has gone 4.7s
🟢 tests/canvas-only.e2e.ts · 2 passed 223ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 120ms
🟢 canvas only › a shape out of order paints the error and resets progress 103ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 346ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 212ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 134ms
🟢 tests/cart-totals.e2e.ts · 2 passed 292ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 161ms
🟢 cart totals › a quantity never drops below one 131ms
🟢 tests/checkout-review.e2e.ts · 1 passed 168ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 168ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 475ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 245ms
🟢 context menu trap › the decoy menu items refuse and keep the file 230ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.1s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 217ms
🟢 control inventory › check picks a radio the pick replaces with its summary 140ms
🟢 control inventory › a long press and a double click are told apart from a tap 958ms
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 220ms
🟢 control inventory › setInputFiles attaches files named from the project root 127ms
🟢 control inventory › the details view is left through the browser history 134ms
🟢 control inventory › scrollIntoView brings the footnote into view 156ms
🟢 control inventory › every exercise done shows the success message 1.2s
🟢 tests/css-content-ui.e2e.ts · 2 passed 297ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 164ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 133ms
🟢 tests/date-picker.e2e.ts · 2 passed 528ms
🟢 date picker › navigates three months ahead and books the required date 313ms
🟢 date picker › confirming without the exact date shows the error 215ms
🟢 tests/debounced-search.e2e.ts · 2 passed 2.7s
🟢 debounced search › a decoy one character off is refused 1.4s
🟢 debounced search › picking the exact item adds it to the cart 1.3s
🟢 tests/deferred-dialog.e2e.ts · 1 passed 1.0s
🟢 one submit opens one confirm, even when double-clicked 1.0s
🟢 tests/div-soup.e2e.ts · 2 passed 580ms
🟢 div soup › a wrong code is rejected 261ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 319ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 578ms
🟢 drag and drop › an out-of-order item resets the dropzone 296ms
🟢 drag and drop › dropping Banana then Cherry passes 282ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 307ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 150ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 157ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 204ms
🟢 filter deep link › filtering writes the query to the URL 109ms
🟢 filter deep link › opening a shared link restores the filter 95ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 468ms
🟢 gift card purchase › refuses to buy without an amount 119ms
🟢 gift card purchase › refuses a recipient without an at sign 182ms
🟢 gift card purchase › sends the gift card 167ms
🟢 tests/hover-menu.e2e.ts · 2 passed 397ms
🟢 hover menu › a decoy leaf is refused 181ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 216ms
🟢 tests/iframe-form.e2e.ts · 2 passed 465ms
🟢 iframe form › a wrong code is refused by the host page 218ms
🟢 iframe form › the code read from one frame applies through the other 247ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 365ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 90ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 127ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 148ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 2.6s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 2.6s
🟢 tests/kanban-board.e2e.ts · 3 passed 635ms
🟢 kanban board › pointer drags move both cards into the goal layout 338ms
🟢 kanban board › a swipe along a path drags a card as well 116ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 181ms
🟢 tests/login-form.e2e.ts · 4 passed 649ms
🟢 login form › rejects a malformed email 166ms
🟢 login form › rejects a short password 150ms
🟢 login form › rejects an unknown account 150ms
🟢 login form › signs in and logs out 183ms
🟢 tests/lying-labels.e2e.ts · 4 passed 566ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 136ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 89ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 172ms
🟢 lying labels › visible text drives the payment through 169ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 397ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 133ms
🟢 native dialogs › dismissing the confirm cancels the order 131ms
🟢 native dialogs › a wrong gift code is rejected 133ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 365ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 195ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 170ms
🟢 tests/newsletter-signup.e2e.ts · 1 passed 169ms
🟢 subscribe renders no feedback and logs a TypeError (planted bug) 169ms
🟢 tests/onboarding-wizard.e2e.ts · 5 passed 4.1s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 227ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 296ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.1s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.2s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 1.3s
🟢 tests/order-history.e2e.ts · 2 passed 1.4s
🟢 order history › overview and settings render their panels 161ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.2s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.3s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 451ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 134ms
🟢 otp auto-advance › a wrong code clears every box and starts over 750ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 678ms
🟢 continues only after the banner and the overlay are gone 678ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 446ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 228ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 218ms
🟢 tests/price-sorting.e2e.ts · 3 passed 339ms
🟢 price sorting › opens in the featured order with sale prices struck through 94ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 117ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 128ms
🟢 tests/product-reviews.e2e.ts · 1 passed 102ms
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 102ms
🟢 tests/promo-storefront.e2e.ts · 1 passed 1.4s
🟢 buys a deal once the promo chrome is out of the way 1.4s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 427ms
🟢 rich text editor › bolding exactly the required word passes the check 209ms
🟢 rich text editor › bold that spills into the previous word fails the check 218ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 516ms
🟢 saved addresses › adds an address and clears the form 170ms
🟢 saved addresses › ignores an add with an empty field 163ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 183ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 350ms
🟢 shadow DOM form › rejects a wrong access code 167ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 183ms
🟢 tests/smoke.e2e.ts · 1 passed 248ms
🟢 home lists the scenarios and opens one 248ms
🟢 tests/stale-dom.e2e.ts · 1 passed 2.1s
🟢 taps the moving target three times across rebuilds of the list 2.1s
🟢 tests/sticky-chrome.e2e.ts · 1 passed 170ms
🟢 accepts the terms once the button clears the sticky footer 170ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 14.6s
🟢 scrolls the windowed table to the Golden Row and claims it 14.6s
🟢 tests/wishlist.e2e.ts · 2 passed 411ms
🟢 wishlist › saving toggles the button and the tab badge 196ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 215ms

Tested by e2e 0.25.0 · 54.5s · web · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

35 agent steps · 26 replayed from cache · 26 model calls · 142.2k tokens (93% cached) · $0.0061

All 34 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 7.1s
🟢 control inventory › check sets the checkbox and the radio 1 step 621ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 245ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 864ms
🟢 control inventory › a right-click opens the file menu and Rename renames the file 1 step 2.5s
🟢 control inventory › upload attaches the named project files 1 step 2.3s
🟢 control inventory › back returns from the details view to the inventory 1 step 234ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 326ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 322ms
🟢 act signs in with the benchmark account 1 step 322ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 4 steps · 8 calls 9.0s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 3.9s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.1s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 4.0s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 18 calls 1m 8s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.1s
🟢 act completes lying-labels 1 step · 4 calls 5.1s
🟢 act completes iframe-form 1 step · 3 calls 3.3s
🟢 act completes infinite-scroll 1 step 3.3s
🟢 act completes virtualized-table 1 step 15.4s
🟢 act completes overlay-trap 1 step 828ms
🟢 act completes sticky-chrome 1 step 891ms
🟢 act completes async-states 1 step · 3 calls 5.4s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 448ms
🟢 act completes drag-and-drop 1 step 420ms
🟢 act completes kanban-board 1 step 584ms
🟢 act completes context-menu-trap 1 step 2.6s
🟢 act completes stale-dom 1 step 435ms
🟢 act completes otp-auto-advance 1 step 647ms
🟢 act completes date-picker 1 step 717ms
🟢 act completes rich-text-editor 1 step 10.0s
🟢 act completes playbook-cleanup 1 step 490ms
🟢 act completes promo-storefront 1 step 2.2s
🟢 act completes new-tab-flow 1 step · 5 calls 7.1s
🟢 act completes gift-card-purchase 1 step 2.4s
🟢 act filters the list and the URL carries the filter 1 step 190ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 241ms
🟢 act adds an address with a run-unique label 1 step 241ms

Tested by e2e 0.25.0 · 1m 25s · web · run artifacts

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 6 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packages/e2e/tests/unit/cli-init.test.ts">

<violation number="1" location="packages/e2e/tests/unit/cli-init.test.ts:561">
P2: This assertion does not verify the version-range contract: any string value would pass, even if the desktop engine or core were added at an incompatible range. Assert the expected ranges, as the neighboring engine test does.</violation>
</file>

<file name="packages/e2e/scripts/write-sibling-versions.ts">

<violation number="1" location="packages/e2e/scripts/write-sibling-versions.ts:20">
P2: This new snapshot entry makes the existing CLI init integration test fail because its exact-key assertion does not include `@e2e-dev/desktop`; update that expected list with the new sibling package.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

it('adds the desktop engine an existing config imports, which has no preset of its own', async () => {
writeFileSync(path.join(dir, 'e2e.config.ts'), "import { desktop } from '@e2e-dev/desktop';\nexport default { targets: [{ engine: desktop(), app: { bundleId: 'com.example.todos' } }] };\n");
expect((await init(dir, { yes: true })).exitCode).toBe(0);
expect(JSON.parse(read('package.json')).devDependencies).toMatchObject({ '@e2e-dev/desktop': expect.any(String), '@e2e-dev/core': expect.any(String) });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This assertion does not verify the version-range contract: any string value would pass, even if the desktop engine or core were added at an incompatible range. Assert the expected ranges, as the neighboring engine test does.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At packages/e2e/tests/unit/cli-init.test.ts, line 561:

<comment>This assertion does not verify the version-range contract: any string value would pass, even if the desktop engine or core were added at an incompatible range. Assert the expected ranges, as the neighboring engine test does.</comment>

<file context>
@@ -555,6 +555,12 @@ describe('e2e init', () => {
+  it('adds the desktop engine an existing config imports, which has no preset of its own', async () => {
+    writeFileSync(path.join(dir, 'e2e.config.ts'), "import { desktop } from '@e2e-dev/desktop';\nexport default { targets: [{ engine: desktop(), app: { bundleId: 'com.example.todos' } }] };\n");
+    expect((await init(dir, { yes: true })).exitCode).toBe(0);
+    expect(JSON.parse(read('package.json')).devDependencies).toMatchObject({ '@e2e-dev/desktop': expect.any(String), '@e2e-dev/core': expect.any(String) });
+  });
+
</file context>
Suggested change
expect(JSON.parse(read('package.json')).devDependencies).toMatchObject({ '@e2e-dev/desktop': expect.any(String), '@e2e-dev/core': expect.any(String) });
expect(JSON.parse(read('package.json')).devDependencies).toMatchObject({ '@e2e-dev/desktop': '0.x', '@e2e-dev/core': '0.x' });

'@e2e-dev/core': read('core').version,
'@e2e-dev/web': read('web').version,
'@e2e-dev/mobile': read('mobile').version,
'@e2e-dev/desktop': read('desktop').version,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This new snapshot entry makes the existing CLI init integration test fail because its exact-key assertion does not include @e2e-dev/desktop; update that expected list with the new sibling package.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At packages/e2e/scripts/write-sibling-versions.ts, line 20:

<comment>This new snapshot entry makes the existing CLI init integration test fail because its exact-key assertion does not include `@e2e-dev/desktop`; update that expected list with the new sibling package.</comment>

<file context>
@@ -16,6 +17,7 @@ const versions = {
   '@e2e-dev/core': read('core').version,
   '@e2e-dev/web': read('web').version,
   '@e2e-dev/mobile': read('mobile').version,
+  '@e2e-dev/desktop': read('desktop').version,
   '@e2e-dev/electron': read('electron').version,
 };
</file context>

@kdy1 kdy1 closed this Nov 29, 2026
@kdy1
kdy1 deleted the kdy1/cli-init-config-engines branch November 29, 2026 03:42
@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 50 model calls · 365.0k tokens (84% cached) · $0.0229

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 50 calls 5m 35s
🟢 act completes Login Form 1 step 18.3s
🟢 act completes Infinite Scroll List 1 step 17.5s
🟢 act completes Modal Flow 1 step 9.0s
🟢 act completes Bottom Tabs 1 step 6.3s
🟢 act completes Text Input Variations 1 step 5.8s
🟢 act completes Broken Accessibility 2 steps · 5 calls 11.3s
🟢 act completes Vision Only 2 steps · 1 call 5.4s
🟢 act completes Gestures 1 step · 9 calls 19.0s
🟢 act completes Async States 1 step · 21 calls 37.7s
🟢 act completes Debounced Search 1 step 6.7s
🟢 act completes Huge Virtualized List 1 step 1m 48s
🟢 act completes Flattened Registration Form 2 steps · 1 call 7.4s
🟢 act completes Flattened Login 2 steps · 7 calls 14.3s
🟢 act completes Sticky Chrome Target 1 step 8.7s
🟢 act completes WebView Accessibility 1 step · 6 calls 18.5s
🟢 act completes Permission Prompt 1 step 6.2s
🟢 act completes Product Catalog 1 step 8.1s
🟢 act completes Error Recovery 1 step 8.7s
🟢 act completes Choice Controls 1 step 7.9s
🟢 act completes Sequential Onboarding 1 step 9.2s

Tested by e2e 0.25.0 · 5m 35s · android-emulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android: 68 passed, 1 skipped

All 69 tests in 8 files
Test Time
⏭️ tests/controls.e2e.ts · 26 passed, 1 skipped 2m 25s
🟢 control inventory › a label query resolves a labeled text field 16.1s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 10.9s
🟢 control inventory › a placeholder query and attribute reads find the field 4.4s
🟢 control inventory › getAttribute reads the label, resource id, and class an Appium suite asks for 4.1s
🟢 control inventory › a secure field takes a fill and denies value reads 5.0s
🟢 control inventory › press sends a character and Enter through the soft keyboard 6.4s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 6.5s
🟢 control inventory › toBeFocused follows the focus 6.1s
🟢 control inventory › a switch checks, unchecks, and reports its state 6.6s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.5s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 6.7s
🟢 control inventory › a tab role answers getByRole 3.3s
🟢 control inventory › a radio group reports the checked option 6.0s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.5s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 4.6s
🟢 control inventory › a header answers its accessible name 3.4s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 4.9s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 4.7s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 6.8s
🟢 control inventory › a double tap lands inside the 300 ms window 6.3s
🟢 control inventory › tap({ count: 3 }) lands three presses 6.2s
🟢 control inventory › an ambiguous locator fails at once 4.7s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 5.9s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.7s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 14 passed 1m 26s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 4.7s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.0s
🟢 device fixture › foregroundApp sees the home screen after home() 3.2s
🟢 device fixture › closeApp then openApp relaunches on the home list 5.8s
🟢 device fixture › closeApp leaves the next commands on the same device 5.6s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 3.5s
🟢 device fixture › openLink opens the scenario a deep link names 4.0s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 3.2s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 6.4s
🟢 device fixture › device.back pops the scenario 3.9s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.4s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 14.3s
🟢 device fixture › setLocation and clearLocation change what the app reads 17.1s
🟢 device fixture › pressButton shows the volume panel on Android 7.4s
🟢 tests/device.e2e.ts · 8 passed 50.1s
🟢 permission prompt › allowing the system dialog enables the microphone 5.3s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 10.4s
🟢 permissions all grants the microphone without a system dialog 5.5s
🟢 sequential onboarding echoes the exact values 9.1s
🟢 a shake is sent without an error and leaves the screen readable 4.3s
🟢 a lock and an unlock both complete and leave the app readable 4.7s
🟢 onboarding rejects a malformed email before advancing 5.1s
🟢 dismissing the keyboard over choice controls leaves them as they were 5.7s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 0s
🟢 infinite scroll reaches the target item 26.9s
🟢 product catalog adds exactly two of the right variant 7.8s
🟢 gestures: long-press, then swipe left 7.1s
🟢 gestures: double-tap completes the flow 8.9s
🟢 sticky chrome: accept below the fold, then continue 10.1s
🟢 async states: load, pull to refresh, claim through the toast 11.9s
🟢 huge virtualized list reaches row 512 1m 48s
🟢 tests/flows.e2e.ts · 7 passed 46.4s
🟢 text inputs unlock the submit button 5.5s
🟢 filled text inputs report their values 5.2s
🟢 modal flow confirms through the native alert 8.3s
🟢 bottom tabs act inside the last tab 6.0s
🟢 error recovery retries, then confirms the delete 7.9s
🟢 choice controls place the exact order 5.5s
🟢 debounced search selects the target once results arrive 8.0s
🟢 tests/login-form.e2e.ts · 3 passed 24.5s
🟢 login form › rejects a malformed email 6.6s
🟢 login form › rejects an unknown account 6.5s
🟢 login form › signs in and logs out 11.4s
🟢 tests/scroll-to.e2e.ts · 2 passed 1m 4s
🟢 screen.scrollTo reaches the last row of the list and comes back to the first 39.9s
🟢 locator.scrollTo scrolls the list it names 24.0s
🟢 tests/smoke.e2e.ts · 1 passed 4.7s
🟢 home lists the scenarios and opens one 4.7s

Tested by e2e 0.25.0 · 10m 3s · android-emulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 67 passed, 1 skipped

All 68 tests in 8 files
Test Time
⏭️ tests/controls.e2e.ts · 25 passed, 1 skipped 3m 8s
🟢 control inventory › a label query resolves a labeled text field 15.0s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 15.1s
🟢 control inventory › a placeholder query and attribute reads find the field 5.1s
🟢 control inventory › getAttribute reads the label, resource id, and class an Appium suite asks for 5.5s
🟢 control inventory › a secure field takes a fill and denies value reads 7.6s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.9s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.8s
🟢 control inventory › toBeFocused follows the focus 9.0s
🟢 control inventory › a switch checks, unchecks, and reports its state 9.2s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.6s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 9.8s
🟢 control inventory › a radio group reports the checked option 8.0s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.7s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 6.2s
🟢 control inventory › a header answers its accessible name 4.5s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.3s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.9s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 8.2s
🟢 control inventory › tap({ count: 3 }) lands three presses 8.0s
🟢 control inventory › pointer verbs land at the point asked for 8.7s
🟢 control inventory › an ambiguous locator fails at once 5.3s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 11.2s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 304ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 15 passed 2m 18s
🟢 device fixture › setAppearance flips the color scheme the app reads 17.6s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 8.6s
🟢 device fixture › the clipboard reads back what was written 5.7s
🟢 device fixture › home leaves the app, openApp brings it back where it was 7.6s
🟢 device fixture › closeApp then openApp relaunches on the home list 8.9s
🟢 device fixture › closeApp leaves the next commands on the same device 15.9s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 6.9s
🟢 device fixture › openLink opens the scenario a deep link names 15.2s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 6.4s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 9.9s
🟢 device fixture › device.back pops the scenario 5.6s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 4.2s
🟢 device fixture › setLocation and clearLocation change what the app reads 10.2s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 10.8s
🟢 device fixture › pressButton is refused on an iOS simulator 4.0s
🟢 tests/device.e2e.ts · 7 passed 1m 17s
🟢 permissions all grants the microphone without a system dialog 11.5s
🟢 sequential onboarding echoes the exact values 23.9s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.5s
🟢 a control under the keyboard reads hidden and refuses a tap until the keyboard is dismissed 10.0s
🟢 a shake is sent without an error and leaves the screen readable 4.5s
🟢 onboarding rejects a malformed email before advancing 9.3s
🟢 dismissing the keyboard over choice controls leaves them as they were 10.4s
🟢 tests/flows-lists.e2e.ts · 7 passed 4m 5s
🟢 infinite scroll reaches the target item 34.2s
🟢 product catalog adds exactly two of the right variant 9.7s
🟢 gestures: long-press, then swipe left 8.8s
🟢 sticky chrome: accept below the fold, then continue 13.3s
🟢 async states: load, pull to refresh, claim through the toast 12.2s
🟢 huge virtualized list reaches row 512 2m 35s
🟢 web view coupon form applies the code shown on the page 12.3s
🟢 tests/flows.e2e.ts · 7 passed 1m 9s
🟢 text inputs unlock the submit button 11.9s
🟢 filled text inputs report their values 10.1s
🟢 modal flow confirms through the native alert 10.1s
🟢 bottom tabs act inside the last tab 8.0s
🟢 error recovery retries, then confirms the delete 10.4s
🟢 choice controls place the exact order 7.6s
🟢 debounced search selects the target once results arrive 11.1s
🟢 tests/login-form.e2e.ts · 3 passed 44.2s
🟢 login form › rejects a malformed email 12.2s
🟢 login form › rejects an unknown account 12.5s
🟢 login form › signs in and logs out 19.5s
🟢 tests/scroll-to.e2e.ts · 2 passed 2m 49s
🟢 screen.scrollTo reaches the last row of the list and comes back to the first 1m 44s
🟢 locator.scrollTo scrolls the list it names 1m 4s
🟢 tests/smoke.e2e.ts · 1 passed 7.9s
🟢 home lists the scenarios and opens one 7.9s

Tested by e2e 0.25.0 · 8m 19s · ios-simulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 1 flaky, 20 passed, 1 skipped

25 agent steps · 12 replayed from cache · 67 model calls · 566.1k tokens (82% cached) · $0.0391

⚠️ 1 flaky test passed on a retry

⚠️ act completes Gestures
tests-agent/scenarios.e2e.ts:368

ASSERTION_FAILED at step 5 of 5: expect.toHaveText getByTestId("success-message"), after 5.1s

  • Expected: text "All gestures completed"
  • Observed: no node (0 matches)
  • Screen: dev.e2e.benchmark / Gestures

Evidence: screenshot, log

All 22 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 1 flaky, 20 passed, 1 skipped 25 steps · 67 calls 8m 45s
🟢 act completes Login Form 1 step 37.8s
🟢 act completes Infinite Scroll List 1 step 42.6s
🟢 act completes Modal Flow 1 step 10.5s
🟢 act completes Bottom Tabs 1 step 8.5s
🟢 act completes Text Input Variations 1 step 13.8s
🟢 act completes Broken Accessibility 2 steps · 8 calls 35.2s
🟢 act completes Vision Only 2 steps · 6 calls 23.0s
⚠️ act completes Gestures (1 failed attempt first) 1 step · 9 calls 31.7s
🟢 act completes Async States 1 step · 10 calls 27.2s
🟢 act completes Debounced Search 1 step · 1 call 28.2s
🟢 act completes Flattened Registration Form 2 steps · 1 call 24.0s
🟢 act completes Flattened Login 2 steps · 16 calls 1m 22s
🟢 act completes Sticky Chrome Target 1 step 14.0s
🟢 act completes WebView Accessibility 1 step 12.8s
🟢 act completes Permission Prompt 1 step 11.5s
🟢 act completes Photo Picker 1 step · 2 calls 28.0s
🟢 act completes Product Catalog 1 step 10.6s
🟢 act completes Error Recovery 1 step 9.6s
🟢 act completes Choice Controls 1 step · 5 calls 31.9s
🟢 act completes Stripe PaymentSheet 1 step · 9 calls 30.1s
🟢 act completes Apple Pay 1 step 11.7s
⏭️ act completes Apple Pay Billing Address (skipped: the CI simulator's Apple Pay sheet skips the billing-address step, so the scenario cannot be completed there)

Tested by e2e 0.25.0 · 9m 21s · ios-simulator · run artifacts

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

Labels

e2e team Opened by the e2e team size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant