Skip to content

fix(mcp): say headed for an engine that shows its app itself - #2371

Open
okwasniewski wants to merge 3 commits into
mainfrom
oskar/mcp-session-engine-headed
Open

okwasniewski wants to merge 3 commits into
mainfrom
oskar/mcp-session-engine-headed

Conversation

@okwasniewski

@okwasniewski okwasniewski commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

What

open_session in e2e mcp says headed for a target whose engine shows its app through an option of its own, such as desktop({ headed: true }). It said headless.

An engine declares it with a new optional contract field:

defineEngine({ name: 'kiosk', version: '1.0.0', spiVersion: 1, alwaysHeaded: true, /* ... */ });

Why

A desktop target with desktop({ headed: true }) opened over e2e mcp as Session ... (platform macos, engine desktop ...), headless; while the engine brought the app forward and used the real pointer and keyboard. The line printed only the run's flag (open_session {headed} or --headed), and the engine had no way to say its option overrides it.

How it works

  1. Engine.alwaysHeaded is a new optional boolean: an option of the engine shows its surface on every run, whatever the run asks (packages/core/src/engine/index.ts:868). It is not named headed, because EngineInitInfo.headed, EnginePrepareInfo.headed and EngineDoctorInfo.headed mean "the run asked". defineEngine checks and copies it like the other boolean flags (packages/core/src/engine/manifest.ts:319).
  2. The flag crosses the engine protocol with the manifest, so a served engine can declare it too: EngineManifest.alwaysHeaded (packages/core/src/engine/protocol/protocol.ts:129), describeEngine and the manifest comparison (packages/core/src/engine/protocol/manifest.ts:35), the client handle, engine-manifest-v1.schema.json, and both fixtures.
  3. desktop() declares it when its headed option is on (packages/desktop/src/engine.ts:55). Its peer floor on @e2e-dev/core and e2e goes to >=0.25.1: an older core refuses the unknown key at config load.
  4. One helper holds the rule: showsSurface(engine, requested) is requested || engine.alwaysHeaded (packages/core/src/engine/manifest.ts:17). A standalone session uses it for the opening line and the usage report once the target is resolved (packages/e2e/src/mcp/session.ts:453), and a session attached to a held test uses it for the usage report (packages/e2e/src/run/worker/held-test-tools.ts:201). The engine is still handed what was asked, so EngineInitInfo.headed keeps its meaning.
  5. Docs: the field in docs/reference/engine.mdx (under init, beside info.headed; it is not a capability) and docs/reference/engine-protocol.mdx, and one clause on open_session's headed in docs/reference/mcp.mdx and the tool's own description.

Dropped alternative: returning the state from init. It would change a required method's return type and the lifecycle/init wire reply for one line of text; the desktop option is known when the engine is created.

Not changed:

  • A session attached to a held test (open_session {attach}) prints no headed word. Its usage report follows the same rule as a standalone session.
  • alwaysHeaded is not the general answer to "is this session visible". @e2e-dev/mobile never reads the run's headed, and a hosted browser cannot honor it, so open_session {headed: true} on those still says headed. That needs a separate decision.
  • The word headless for a native app in the background is unchanged.

Verified

Ran it locally: yes

  • Headed case, scripted engine (a live desktop({ headed: true }) run takes the shared screen, pointer and keyboard on this machine, so it was not run): packages/e2e/tests/integration/mcp-server.test.ts opens a session over the built CLI's stdio on an engine that declares alwaysHeaded: true, with nothing asking for headed, and reads ), headed;. mcp-session-host.test.ts asserts the engine's init still got headed: false and the usage summary says true. mcp-step-attachment.test.ts holds a test on such an engine in a run without --headed, attaches, and reads headed: true in the opening; with the helper call reverted it reads false. On main defineEngine refuses the alwaysHeaded key, so all three fail there.
  • Default case, live: desktop testbed (apps/desktop-testbed, native driver built from this branch), a real e2e mcp stdio session in background mode:
initialized: {"name":"e2e","title":"e2e","version":"0.25.0"}
--- open_session {} (449 ms)
Session 01a21d33-... open on target "macos" (platform macos, engine desktop 0.0.1), headless; config .../apps/desktop-testbed/e2e.config.ts, read with the e2e mcp server's environment, not your shell's.
--- close_session {} (107 ms)
Session 01a21d33-... closed (closed by the agent); 0 tool calls ran.
main this PR
engine with its own headed option, nothing asked headless headed
desktop(), nothing asked headless headless
any engine, open_session {headed: true} or --headed headed headed

No terminal recording or video: the change is one word in an MCP reply.

View guided diff Turn on auto-fix

open_session printed the run's headed flag, so a desktop target with desktop({ headed: true }) read as headless. An engine now declares headed: true when an option of its own shows its surface, and the session line and usage report follow it.
A core that predates Engine.headed refuses the key at config load. Also covers the usage report with a host test, says in the open_session docs that such an engine is headed either way, and leaves the attached-session path as it was.
@github-actions github-actions Bot added e2e team Opened by the e2e team size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

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 677ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 516ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 161ms
🟢 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 277ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 142ms
🟢 canvas only › a shape out of order paints the error and resets progress 135ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 389ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 239ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 150ms
🟢 tests/cart-totals.e2e.ts · 2 passed 371ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 229ms
🟢 cart totals › a quantity never drops below one 142ms
🟢 tests/checkout-review.e2e.ts · 1 passed 147ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 147ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 566ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 285ms
🟢 context menu trap › the decoy menu items refuse and keep the file 281ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.4s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 264ms
🟢 control inventory › check picks a radio the pick replaces with its summary 159ms
🟢 control inventory › a long press and a double click are told apart from a tap 989ms
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 255ms
🟢 control inventory › setInputFiles attaches files named from the project root 153ms
🟢 control inventory › the details view is left through the browser history 199ms
🟢 control inventory › scrollIntoView brings the footnote into view 191ms
🟢 control inventory › every exercise done shows the success message 1.2s
🟢 tests/css-content-ui.e2e.ts · 2 passed 308ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 175ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 133ms
🟢 tests/date-picker.e2e.ts · 2 passed 629ms
🟢 date picker › navigates three months ahead and books the required date 379ms
🟢 date picker › confirming without the exact date shows the error 250ms
🟢 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.4s
🟢 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 626ms
🟢 div soup › a wrong code is rejected 277ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 349ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 663ms
🟢 drag and drop › an out-of-order item resets the dropzone 349ms
🟢 drag and drop › dropping Banana then Cherry passes 314ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 346ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 167ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 179ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 236ms
🟢 filter deep link › filtering writes the query to the URL 133ms
🟢 filter deep link › opening a shared link restores the filter 103ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 578ms
🟢 gift card purchase › refuses to buy without an amount 148ms
🟢 gift card purchase › refuses a recipient without an at sign 212ms
🟢 gift card purchase › sends the gift card 218ms
🟢 tests/hover-menu.e2e.ts · 2 passed 491ms
🟢 hover menu › a decoy leaf is refused 247ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 244ms
🟢 tests/iframe-form.e2e.ts · 2 passed 577ms
🟢 iframe form › a wrong code is refused by the host page 301ms
🟢 iframe form › the code read from one frame applies through the other 276ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 534ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 122ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 183ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 229ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 2.7s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 2.7s
🟢 tests/kanban-board.e2e.ts · 3 passed 734ms
🟢 kanban board › pointer drags move both cards into the goal layout 365ms
🟢 kanban board › a swipe along a path drags a card as well 168ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 201ms
🟢 tests/login-form.e2e.ts · 4 passed 745ms
🟢 login form › rejects a malformed email 180ms
🟢 login form › rejects a short password 185ms
🟢 login form › rejects an unknown account 181ms
🟢 login form › signs in and logs out 199ms
🟢 tests/lying-labels.e2e.ts · 4 passed 627ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 163ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 98ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 183ms
🟢 lying labels › visible text drives the payment through 183ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 449ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 153ms
🟢 native dialogs › dismissing the confirm cancels the order 165ms
🟢 native dialogs › a wrong gift code is rejected 131ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 396ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 194ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 202ms
🟢 tests/newsletter-signup.e2e.ts · 1 passed 2.2s
🟢 subscribe renders no feedback and logs a TypeError (planted bug) 2.2s
🟢 tests/onboarding-wizard.e2e.ts · 5 passed 4.5s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 258ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 314ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.2s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.3s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 1.4s
🟢 tests/order-history.e2e.ts · 2 passed 1.4s
🟢 order history › overview and settings render their panels 179ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.2s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.4s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 483ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 160ms
🟢 otp auto-advance › a wrong code clears every box and starts over 783ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 698ms
🟢 continues only after the banner and the overlay are gone 698ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 564ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 300ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 264ms
🟢 tests/price-sorting.e2e.ts · 3 passed 387ms
🟢 price sorting › opens in the featured order with sale prices struck through 108ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 126ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 153ms
🟢 tests/product-reviews.e2e.ts · 1 passed 1.1s
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 1.1s
🟢 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 429ms
🟢 rich text editor › bolding exactly the required word passes the check 212ms
🟢 rich text editor › bold that spills into the previous word fails the check 217ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 580ms
🟢 saved addresses › adds an address and clears the form 192ms
🟢 saved addresses › ignores an add with an empty field 175ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 213ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 387ms
🟢 shadow DOM form › rejects a wrong access code 187ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 200ms
🟢 tests/smoke.e2e.ts · 1 passed 258ms
🟢 home lists the scenarios and opens one 258ms
🟢 tests/stale-dom.e2e.ts · 1 passed 2.2s
🟢 taps the moving target three times across rebuilds of the list 2.2s
🟢 tests/sticky-chrome.e2e.ts · 1 passed 168ms
🟢 accepts the terms once the button clears the sticky footer 168ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 14.8s
🟢 scrolls the windowed table to the Golden Row and claims it 14.8s
🟢 tests/wishlist.e2e.ts · 2 passed 1.6s
🟢 wishlist › saving toggles the button and the tab badge 282ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.3s

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

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

35 agent steps · 26 replayed from cache · 25 model calls · 133.8k tokens (94% cached) · $0.0055

All 34 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 7.2s
🟢 control inventory › check sets the checkbox and the radio 1 step 600ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 244ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 870ms
🟢 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.4s
🟢 control inventory › back returns from the details view to the inventory 1 step 241ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 327ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 325ms
🟢 act signs in with the benchmark account 1 step 325ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 4 steps · 8 calls 10.6s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 5.8s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.3s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 3.5s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 17 calls 1m 18s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.3s
🟢 act completes lying-labels 1 step · 3 calls 12.0s
🟢 act completes iframe-form 1 step · 3 calls 4.2s
🟢 act completes infinite-scroll 1 step 3.2s
🟢 act completes virtualized-table 1 step 15.3s
🟢 act completes overlay-trap 1 step 827ms
🟢 act completes sticky-chrome 1 step 888ms
🟢 act completes async-states 1 step · 3 calls 6.6s
🟢 act completes debounced-search 1 step 2.2s
🟢 act completes hover-menu 1 step 449ms
🟢 act completes drag-and-drop 1 step 418ms
🟢 act completes kanban-board 1 step 582ms
🟢 act completes context-menu-trap 1 step 2.6s
🟢 act completes stale-dom 1 step 414ms
🟢 act completes otp-auto-advance 1 step 649ms
🟢 act completes date-picker 1 step 734ms
🟢 act completes rich-text-editor 1 step 10.0s
🟢 act completes playbook-cleanup 1 step 510ms
🟢 act completes promo-storefront 1 step 2.2s
🟢 act completes new-tab-flow 1 step · 5 calls 8.2s
🟢 act completes gift-card-purchase 1 step 2.4s
🟢 act filters the list and the URL carries the filter 1 step 196ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 255ms
🟢 act adds an address with a run-unique label 1 step 255ms

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

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 45 model calls · 288.7k tokens (87% cached) · $0.0167

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 45 calls 5m 44s
🟢 act completes Login Form 1 step 23.9s
🟢 act completes Infinite Scroll List 1 step 21.0s
🟢 act completes Modal Flow 1 step 10.5s
🟢 act completes Bottom Tabs 1 step 7.5s
🟢 act completes Text Input Variations 1 step 5.9s
🟢 act completes Broken Accessibility 2 steps · 5 calls 13.0s
🟢 act completes Vision Only 2 steps · 1 call 5.7s
🟢 act completes Gestures 1 step · 12 calls 26.4s
🟢 act completes Async States 1 step · 13 calls 24.2s
🟢 act completes Debounced Search 1 step 6.6s
🟢 act completes Huge Virtualized List 1 step 1m 50s
🟢 act completes Flattened Registration Form 2 steps · 1 call 8.0s
🟢 act completes Flattened Login 2 steps · 7 calls 15.8s
🟢 act completes Sticky Chrome Target 1 step 9.1s
🟢 act completes WebView Accessibility 1 step · 6 calls 15.3s
🟢 act completes Permission Prompt 1 step 6.5s
🟢 act completes Product Catalog 1 step 8.2s
🟢 act completes Error Recovery 1 step 9.1s
🟢 act completes Choice Controls 1 step 8.4s
🟢 act completes Sequential Onboarding 1 step 9.3s

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

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Microbenchmarks

For d3bc4524f4c0, the pull request's head, measured merged into its base.

⚪ No case changed by 0.5% or more.

Repeatability: two builds of the head agree in every case, 10 trials each.

Base 27fd3763f9f2, head 3c0393ae1373.

A direction is reported only when the trial ranges of base and head do not overlap and the change is at least 0.5%.

4 unchanged cases
Case Mode Base Head Change Direction Base spread Head spread
redact/screen-text jitless 789,674 789,683 +0.001% ⚪ same (ranges overlap, change under 0.5%) 0.065% 0.017%
redact/fragments jitless 467,962,687 467,955,045 -0.002% ⚪ same (ranges overlap, change under 0.5%) 0.024% 0.036%
locate/catalog jitless 51,850,331 51,847,871 -0.005% ⚪ same (ranges overlap, change under 0.5%) 0.013% 0.008%
mobile/project-snapshot jitless 140,997,158 141,058,380 +0.043% ⚪ same (ranges overlap, change under 0.5%) 0.086% 0.071%
How this is measured

Instructions per iteration: the difference between a run of N and of 3N iterations, divided by 2N, so startup, loading, warmup, and compilation cancel. 5 trial(s) per case and checkout. Lower is better.

Machine: linux x64, AMD EPYC, Node v26.13.1, valgrind-3.22.0, ASLR off.

  • jitless: node --jitless --predictable --single-threaded --predictable-gc-schedule --random-seed=42 --hash-seed=42 --expose-gc --v8-pool-size=0 --no-memory-protection-keys

Workflow run: each job's summary, and result.json in its artifact.

@github-actions

github-actions Bot commented Nov 27, 2026 •

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 15s
🟢 control inventory › a label query resolves a labeled text field 11.9s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 15.6s
🟢 control inventory › a placeholder query and attribute reads find the field 6.0s
🟢 control inventory › getAttribute reads the label, resource id, and class an Appium suite asks for 5.1s
🟢 control inventory › a secure field takes a fill and denies value reads 7.4s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.0s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 9.8s
🟢 control inventory › toBeFocused follows the focus 9.0s
🟢 control inventory › a switch checks, unchecks, and reports its state 10.6s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.7s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 12.4s
🟢 control inventory › a radio group reports the checked option 8.7s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 8.0s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.9s
🟢 control inventory › a header answers its accessible name 5.0s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 7.1s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 7.2s
⏭️ 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.4s
🟢 control inventory › tap({ count: 3 }) lands three presses 8.1s
🟢 control inventory › pointer verbs land at the point asked for 9.4s
🟢 control inventory › an ambiguous locator fails at once 5.7s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 12.0s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 198ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 15 passed 2m 7s
🟢 device fixture › setAppearance flips the color scheme the app reads 10.7s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 6.9s
🟢 device fixture › the clipboard reads back what was written 5.8s
🟢 device fixture › home leaves the app, openApp brings it back where it was 8.7s
🟢 device fixture › closeApp then openApp relaunches on the home list 9.4s
🟢 device fixture › closeApp leaves the next commands on the same device 12.6s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 5.8s
🟢 device fixture › openLink opens the scenario a deep link names 14.4s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 6.8s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 10.6s
🟢 device fixture › device.back pops the scenario 5.3s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 4.3s
🟢 device fixture › setLocation and clearLocation change what the app reads 10.4s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 10.5s
🟢 device fixture › pressButton is refused on an iOS simulator 4.7s
🟢 tests/device.e2e.ts · 7 passed 1m 21s
🟢 permissions all grants the microphone without a system dialog 13.1s
🟢 sequential onboarding echoes the exact values 25.7s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.8s
🟢 a control under the keyboard reads hidden and refuses a tap until the keyboard is dismissed 10.1s
🟢 a shake is sent without an error and leaves the screen readable 4.8s
🟢 onboarding rejects a malformed email before advancing 9.5s
🟢 dismissing the keyboard over choice controls leaves them as they were 10.3s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 47s
🟢 infinite scroll reaches the target item 32.0s
🟢 product catalog adds exactly two of the right variant 9.8s
🟢 gestures: long-press, then swipe left 8.5s
🟢 sticky chrome: accept below the fold, then continue 12.3s
🟢 async states: load, pull to refresh, claim through the toast 11.9s
🟢 huge virtualized list reaches row 512 2m 19s
🟢 web view coupon form applies the code shown on the page 13.1s
🟢 tests/flows.e2e.ts · 7 passed 1m 7s
🟢 text inputs unlock the submit button 11.8s
🟢 filled text inputs report their values 10.2s
🟢 modal flow confirms through the native alert 9.7s
🟢 bottom tabs act inside the last tab 7.6s
🟢 error recovery retries, then confirms the delete 9.3s
🟢 choice controls place the exact order 7.5s
🟢 debounced search selects the target once results arrive 11.2s
🟢 tests/login-form.e2e.ts · 3 passed 44.8s
🟢 login form › rejects a malformed email 12.5s
🟢 login form › rejects an unknown account 12.8s
🟢 login form › signs in and logs out 19.5s
🟢 tests/scroll-to.e2e.ts · 2 passed 2m 58s
🟢 screen.scrollTo reaches the last row of the list and comes back to the first 1m 52s
🟢 locator.scrollTo scrolls the list it names 1m 6s
🟢 tests/smoke.e2e.ts · 1 passed 9.2s
🟢 home lists the scenarios and opens one 9.2s

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

@github-actions

github-actions Bot commented Nov 27, 2026 •

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 39s
🟢 control inventory › a label query resolves a labeled text field 15.1s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 9.7s
🟢 control inventory › a placeholder query and attribute reads find the field 4.8s
🟢 control inventory › getAttribute reads the label, resource id, and class an Appium suite asks for 4.0s
🟢 control inventory › a secure field takes a fill and denies value reads 6.2s
🟢 control inventory › press sends a character and Enter through the soft keyboard 8.1s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.4s
🟢 control inventory › toBeFocused follows the focus 7.3s
🟢 control inventory › a switch checks, unchecks, and reports its state 7.4s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.6s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 10.1s
🟢 control inventory › a tab role answers getByRole 3.8s
🟢 control inventory › a radio group reports the checked option 7.2s
🟢 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 6.3s
🟢 control inventory › a header answers its accessible name 3.5s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 5.2s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 5.1s
⏭️ 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.9s
🟢 control inventory › a double tap lands inside the 300 ms window 6.3s
🟢 control inventory › tap({ count: 3 }) lands three presses 6.3s
🟢 control inventory › an ambiguous locator fails at once 4.8s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 6.6s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.6s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 14 passed 1m 31s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 4.9s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.2s
🟢 device fixture › foregroundApp sees the home screen after home() 3.5s
🟢 device fixture › closeApp then openApp relaunches on the home list 6.1s
🟢 device fixture › closeApp leaves the next commands on the same device 5.8s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.2s
🟢 device fixture › openLink opens the scenario a deep link names 4.4s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 3.6s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 7.8s
🟢 device fixture › device.back pops the scenario 4.4s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.3s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 14.6s
🟢 device fixture › setLocation and clearLocation change what the app reads 16.1s
🟢 device fixture › pressButton shows the volume panel on Android 7.7s
🟢 tests/device.e2e.ts · 8 passed 54.1s
🟢 permission prompt › allowing the system dialog enables the microphone 5.6s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 11.6s
🟢 permissions all grants the microphone without a system dialog 6.4s
🟢 sequential onboarding echoes the exact values 9.5s
🟢 a shake is sent without an error and leaves the screen readable 4.2s
🟢 a lock and an unlock both complete and leave the app readable 5.1s
🟢 onboarding rejects a malformed email before advancing 5.4s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.4s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 3s
🟢 infinite scroll reaches the target item 27.4s
🟢 product catalog adds exactly two of the right variant 8.0s
🟢 gestures: long-press, then swipe left 7.3s
🟢 gestures: double-tap completes the flow 9.0s
🟢 sticky chrome: accept below the fold, then continue 10.2s
🟢 async states: load, pull to refresh, claim through the toast 11.5s
🟢 huge virtualized list reaches row 512 1m 49s
🟢 tests/flows.e2e.ts · 7 passed 47.3s
🟢 text inputs unlock the submit button 5.7s
🟢 filled text inputs report their values 5.2s
🟢 modal flow confirms through the native alert 8.4s
🟢 bottom tabs act inside the last tab 6.1s
🟢 error recovery retries, then confirms the delete 8.1s
🟢 choice controls place the exact order 5.7s
🟢 debounced search selects the target once results arrive 8.1s
🟢 tests/login-form.e2e.ts · 3 passed 25.1s
🟢 login form › rejects a malformed email 6.8s
🟢 login form › rejects an unknown account 6.7s
🟢 login form › signs in and logs out 11.7s
🟢 tests/scroll-to.e2e.ts · 2 passed 1m 3s
🟢 screen.scrollTo reaches the last row of the list and comes back to the first 40.4s
🟢 locator.scrollTo scrolls the list it names 22.8s
🟢 tests/smoke.e2e.ts · 1 passed 4.8s
🟢 home lists the scenarios and opens one 4.8s

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

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

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

25 agent steps · 12 replayed from cache · 62 model calls · 499.1k tokens (83% cached) · $0.0324

⚠️ 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 · 62 calls 8m 46s
🟢 act completes Login Form 1 step 41.6s
🟢 act completes Infinite Scroll List 1 step 39.2s
🟢 act completes Modal Flow 1 step 11.6s
🟢 act completes Bottom Tabs 1 step 7.9s
🟢 act completes Text Input Variations 1 step 13.1s
🟢 act completes Broken Accessibility 2 steps · 5 calls 20.6s
🟢 act completes Vision Only 2 steps · 6 calls 24.4s
⚠️ act completes Gestures (1 failed attempt first) 1 step · 11 calls 52.0s
🟢 act completes Async States 1 step · 7 calls 20.8s
🟢 act completes Debounced Search 1 step · 1 call 28.6s
🟢 act completes Flattened Registration Form 2 steps · 1 call 28.0s
🟢 act completes Flattened Login 2 steps · 14 calls 1m 13s
🟢 act completes Sticky Chrome Target 1 step 13.7s
🟢 act completes WebView Accessibility 1 step 12.7s
🟢 act completes Permission Prompt 1 step 12.4s
🟢 act completes Photo Picker 1 step · 2 calls 28.4s
🟢 act completes Product Catalog 1 step 10.7s
🟢 act completes Error Recovery 1 step 9.7s
🟢 act completes Choice Controls 1 step · 6 calls 34.8s
🟢 act completes Stripe PaymentSheet 1 step · 9 calls 31.4s
🟢 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 15s · ios-simulator · run artifacts

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026
Engine.headed meant 'always shown' beside three info fields named headed that mean 'the run asked'. Rename it before release, and compute what a session shows in one helper so an attached session reports the same as a standalone one.
@github-actions github-actions Bot removed the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026
@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026

This branch has not been deployed

No deployments
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 Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:M Up to 99 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