Skip to content

feat(mcp): take every target app key in open_session's app - #2364

Merged
okwasniewski merged 5 commits into
mainfrom
oskar/mcp-open-session-launch-arguments
Nov 27, 2026
Merged

okwasniewski merged 5 commits into
mainfrom
oskar/mcp-open-session-launch-arguments

Conversation

@okwasniewski

@okwasniewski okwasniewski commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

What

open_session's app takes every key a config target's app does, for a session opened with engine and no config file:

open_session {
  engine: "@e2e-dev/desktop",
  app: {bundleId: "com.example.app", launchArguments: ["--profile-directory=Profile 1"]}
}

launchArguments, permissions, linkBase, identity, environment, command, and readyUrl all work, and so will any key TargetApp gains later.

Why

The app schema listed only url, bundleId, and appPath, so launchArguments failed with Unrecognized key and a config-less session could not launch its app with arguments, for example a browser's profile flag. Listing one more key would leave the next one to fail the same way.

How it works

  1. The app schema is a loose object (packages/e2e/src/mcp/session.ts). url, bundleId, and appPath stay described as hints for the agent; other keys pass through.
  2. EngineSession.app is an unchecked record (packages/e2e/src/mcp/config.ts). loadEngineConfig already hands it to resolveConfig, so checkTargetApp refuses unknown keys with a did-you-mean, checks every field, and calls the engine's validateApp, exactly as for a config file. No second validator in the MCP layer.
  3. docs/reference/mcp.mdx points at the config reference instead of listing keys.

A typo's error changes from zod's Unrecognized key to the config's:

INVALID_CONFIG: target "web" app has unknown key "comand"; did you mean "command"?

app.command is reachable from the tool call now. A config-less session already imports any installed package the call names, so this adds no new trust boundary.

Issue

From a teammate's findings report on the desktop engine; no GitHub issue.

Verified

Ran it locally: yes

  • e2e mcp from the built checkout over stdio, driven by a small MCP client script in a scratch directory with no config file, at 5b85b32:
open_session {"engine":"@e2e-dev/web","app":{"url":"http://127.0.0.1:0","command":{"executable":"node","args":["server.mjs","{port}"],"env":{"GREETING":"env reached it"}}}}
  isError=false: Session ... open on target "web" (platform web, engine web 0.17.0), headless; no config file ...
  App: http://127.0.0.1:49499/ (port 49499, assigned for the declared port 0).
  Process: app.command "node" (ready at http://127.0.0.1:49499/; env GREETING).
server pid 74774 alive during session: true
close_session {}
alive after close: false
open_session {..."app":{"url":"http://127.0.0.1:0","comand":{"executable":"x"}}}
  isError=true: INVALID_CONFIG: target "web" app has unknown key "comand"; did you mean "command"?
open_session {..."command":{"executable":"node","shell":true}}
  isError=true: INVALID_CONFIG: target "web" app.command has unknown key "shell"; expected one of executable, args, cwd, env, ...
  • Desktop run from the first revision of this PR (b520b7f, launch arguments in the launched process's argv, list and object form) was not repeated on this head; the path from session.app to the engine is unchanged.
  • Tests: the real-server case in mcp-server.test.ts opens on a fake device engine package with launchArguments and permissions and reads back the app its init received, then gets INVALID_CONFIG for a misspelled key, a bad permission state, a dashed argument name, and a nested argument value, and for both argument forms on @e2e-dev/web.
  • pnpm build, pnpm check, pnpm docs:check, and mcp-server.test.ts (15 passed) at 5b85b32. The full e2e package suite was last run at b520b7f.

@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 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 672ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 497ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 175ms
🟢 tests/async-states.e2e.ts · 2 passed 7.0s
🟢 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 297ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 158ms
🟢 canvas only › a shape out of order paints the error and resets progress 139ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 403ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 250ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 153ms
🟢 tests/cart-totals.e2e.ts · 2 passed 428ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 231ms
🟢 cart totals › a quantity never drops below one 197ms
🟢 tests/checkout-review.e2e.ts · 1 passed 176ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 176ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 679ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 349ms
🟢 context menu trap › the decoy menu items refuse and keep the file 330ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.8s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 284ms
🟢 control inventory › check picks a radio the pick replaces with its summary 204ms
🟢 control inventory › a long press and a double click are told apart from a tap 1.0s
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 289ms
🟢 control inventory › setInputFiles attaches files named from the project root 197ms
🟢 control inventory › the details view is left through the browser history 236ms
🟢 control inventory › scrollIntoView brings the footnote into view 200ms
🟢 control inventory › every exercise done shows the success message 1.4s
🟢 tests/css-content-ui.e2e.ts · 2 passed 408ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 243ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 165ms
🟢 tests/date-picker.e2e.ts · 2 passed 762ms
🟢 date picker › navigates three months ahead and books the required date 446ms
🟢 date picker › confirming without the exact date shows the error 316ms
🟢 tests/debounced-search.e2e.ts · 2 passed 2.8s
🟢 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.1s
🟢 one submit opens one confirm, even when double-clicked 1.1s
🟢 tests/div-soup.e2e.ts · 2 passed 917ms
🟢 div soup › a wrong code is rejected 393ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 524ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 754ms
🟢 drag and drop › an out-of-order item resets the dropzone 374ms
🟢 drag and drop › dropping Banana then Cherry passes 380ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 544ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 246ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 298ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 324ms
🟢 filter deep link › filtering writes the query to the URL 178ms
🟢 filter deep link › opening a shared link restores the filter 146ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 764ms
🟢 gift card purchase › refuses to buy without an amount 207ms
🟢 gift card purchase › refuses a recipient without an at sign 302ms
🟢 gift card purchase › sends the gift card 255ms
🟢 tests/hover-menu.e2e.ts · 2 passed 526ms
🟢 hover menu › a decoy leaf is refused 244ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 282ms
🟢 tests/iframe-form.e2e.ts · 2 passed 599ms
🟢 iframe form › a wrong code is refused by the host page 296ms
🟢 iframe form › the code read from one frame applies through the other 303ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 564ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 123ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 201ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 240ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 2.8s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 2.8s
🟢 tests/kanban-board.e2e.ts · 3 passed 765ms
🟢 kanban board › pointer drags move both cards into the goal layout 400ms
🟢 kanban board › a swipe along a path drags a card as well 151ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 214ms
🟢 tests/login-form.e2e.ts · 4 passed 927ms
🟢 login form › rejects a malformed email 220ms
🟢 login form › rejects a short password 191ms
🟢 login form › rejects an unknown account 223ms
🟢 login form › signs in and logs out 293ms
🟢 tests/lying-labels.e2e.ts · 4 passed 744ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 148ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 111ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 263ms
🟢 lying labels › visible text drives the payment through 222ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 534ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 185ms
🟢 native dialogs › dismissing the confirm cancels the order 182ms
🟢 native dialogs › a wrong gift code is rejected 167ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 568ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 300ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 268ms
🟢 tests/newsletter-signup.e2e.ts · 1 passed 2.3s
🟢 subscribe renders no feedback and logs a TypeError (planted bug) 2.3s
🟢 tests/onboarding-wizard.e2e.ts · 5 passed 5.2s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 312ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 331ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.4s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.6s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 1.6s
🟢 tests/order-history.e2e.ts · 2 passed 1.5s
🟢 order history › overview and settings render their panels 236ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.2s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.5s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 507ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 153ms
🟢 otp auto-advance › a wrong code clears every box and starts over 801ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 652ms
🟢 continues only after the banner and the overlay are gone 652ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 532ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 291ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 241ms
🟢 tests/price-sorting.e2e.ts · 3 passed 403ms
🟢 price sorting › opens in the featured order with sale prices struck through 111ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 135ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 157ms
🟢 tests/product-reviews.e2e.ts · 1 passed 1.2s
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 1.2s
🟢 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 576ms
🟢 rich text editor › bolding exactly the required word passes the check 302ms
🟢 rich text editor › bold that spills into the previous word fails the check 274ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 661ms
🟢 saved addresses › adds an address and clears the form 203ms
🟢 saved addresses › ignores an add with an empty field 203ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 255ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 478ms
🟢 shadow DOM form › rejects a wrong access code 232ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 246ms
🟢 tests/smoke.e2e.ts · 1 passed 309ms
🟢 home lists the scenarios and opens one 309ms
🟢 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 251ms
🟢 accepts the terms once the button clears the sticky footer 251ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 15.6s
🟢 scrolls the windowed table to the Golden Row and claims it 15.6s
🟢 tests/wishlist.e2e.ts · 2 passed 1.6s
🟢 wishlist › saving toggles the button and the tab badge 279ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.3s

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

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

36 agent steps · 26 replayed from cache · 27 model calls · 140.5k tokens (94% cached) · $0.0059

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 619ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 242ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 886ms
🟢 control inventory › a right-click opens the file menu and Rename renames the file 1 step 2.4s
🟢 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 255ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 350ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 363ms
🟢 act signs in with the benchmark account 1 step 363ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 5 steps · 9 calls 11.5s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 5.3s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.2s
🟢 wishlist: a judgment catches the lost saved items 2 steps · 4 calls 5.0s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 18 calls 1m 11s
🟢 act completes shadow-dom-form 1 step · 4 calls 4.4s
🟢 act completes lying-labels 1 step · 3 calls 3.9s
🟢 act completes iframe-form 1 step · 3 calls 3.5s
🟢 act completes infinite-scroll 1 step 3.3s
🟢 act completes virtualized-table 1 step 16.1s
🟢 act completes overlay-trap 1 step 847ms
🟢 act completes sticky-chrome 1 step 870ms
🟢 act completes async-states 1 step · 3 calls 6.0s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 512ms
🟢 act completes drag-and-drop 1 step 465ms
🟢 act completes kanban-board 1 step 635ms
🟢 act completes context-menu-trap 1 step 2.6s
🟢 act completes stale-dom 1 step 430ms
🟢 act completes otp-auto-advance 1 step 689ms
🟢 act completes date-picker 1 step 777ms
🟢 act completes rich-text-editor 1 step 10.1s
🟢 act completes playbook-cleanup 1 step 570ms
🟢 act completes promo-storefront 1 step 2.3s
🟢 act completes new-tab-flow 1 step · 5 calls 7.7s
🟢 act completes gift-card-purchase 1 step 2.4s
🟢 act filters the list and the URL carries the filter 1 step 227ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 291ms
🟢 act adds an address with a run-unique label 1 step 291ms

Tested by e2e 0.25.0 · 1m 31s · 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 · 39 model calls · 238.1k tokens (88% cached) · $0.0129

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 39 calls 5m 20s
🟢 act completes Login Form 1 step 20.2s
🟢 act completes Infinite Scroll List 1 step 21.8s
🟢 act completes Modal Flow 1 step 9.3s
🟢 act completes Bottom Tabs 1 step 6.2s
🟢 act completes Text Input Variations 1 step 6.1s
🟢 act completes Broken Accessibility 2 steps · 5 calls 11.4s
🟢 act completes Vision Only 2 steps · 1 call 5.7s
🟢 act completes Gestures 1 step · 11 calls 22.9s
🟢 act completes Async States 1 step · 8 calls 15.0s
🟢 act completes Debounced Search 1 step 6.4s
🟢 act completes Huge Virtualized List 1 step 1m 47s
🟢 act completes Flattened Registration Form 2 steps · 1 call 7.3s
🟢 act completes Flattened Login 2 steps · 7 calls 14.6s
🟢 act completes Sticky Chrome Target 1 step 8.9s
🟢 act completes WebView Accessibility 1 step · 6 calls 16.4s
🟢 act completes Permission Prompt 1 step 6.3s
🟢 act completes Product Catalog 1 step 8.0s
🟢 act completes Error Recovery 1 step 8.5s
🟢 act completes Choice Controls 1 step 8.2s
🟢 act completes Sequential Onboarding 1 step 9.2s

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

@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 6s
🟢 control inventory › a label query resolves a labeled text field 11.8s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 14.7s
🟢 control inventory › a placeholder query and attribute reads find the field 4.5s
🟢 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 8.1s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.2s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 9.3s
🟢 control inventory › toBeFocused follows the focus 8.6s
🟢 control inventory › a switch checks, unchecks, and reports its state 9.8s
🟢 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 12.3s
🟢 control inventory › a radio group reports the checked option 8.5s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.4s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.2s
🟢 control inventory › a header answers its accessible name 4.4s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.0s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.3s
⏭️ 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.1s
🟢 control inventory › tap({ count: 3 }) lands three presses 8.1s
🟢 control inventory › pointer verbs land at the point asked for 9.1s
🟢 control inventory › an ambiguous locator fails at once 5.6s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 11.8s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 302ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 15 passed 1m 59s
🟢 device fixture › setAppearance flips the color scheme the app reads 11.6s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 7.2s
🟢 device fixture › the clipboard reads back what was written 5.3s
🟢 device fixture › home leaves the app, openApp brings it back where it was 7.8s
🟢 device fixture › closeApp then openApp relaunches on the home list 8.5s
🟢 device fixture › closeApp leaves the next commands on the same device 11.8s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 5.3s
🟢 device fixture › openLink opens the scenario a deep link names 13.1s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 6.0s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 9.9s
🟢 device fixture › device.back pops the scenario 5.2s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 4.2s
🟢 device fixture › setLocation and clearLocation change what the app reads 9.8s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 9.6s
🟢 device fixture › pressButton is refused on an iOS simulator 3.9s
🟢 tests/device.e2e.ts · 7 passed 1m 18s
🟢 permissions all grants the microphone without a system dialog 10.3s
🟢 sequential onboarding echoes the exact values 24.9s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.4s
🟢 a control under the keyboard reads hidden and refuses a tap until the keyboard is dismissed 9.9s
🟢 a shake is sent without an error and leaves the screen readable 4.6s
🟢 onboarding rejects a malformed email before advancing 9.6s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.0s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 48s
🟢 infinite scroll reaches the target item 30.3s
🟢 product catalog adds exactly two of the right variant 9.9s
🟢 gestures: long-press, then swipe left 8.6s
🟢 sticky chrome: accept below the fold, then continue 12.4s
🟢 async states: load, pull to refresh, claim through the toast 12.6s
🟢 huge virtualized list reaches row 512 2m 23s
🟢 web view coupon form applies the code shown on the page 11.9s
🟢 tests/flows.e2e.ts · 7 passed 1m 7s
🟢 text inputs unlock the submit button 11.8s
🟢 filled text inputs report their values 10.3s
🟢 modal flow confirms through the native alert 9.5s
🟢 bottom tabs act inside the last tab 7.4s
🟢 error recovery retries, then confirms the delete 9.2s
🟢 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.0s
🟢 login form › rejects a malformed email 12.4s
🟢 login form › rejects an unknown account 12.4s
🟢 login form › signs in and logs out 19.3s
🟢 tests/scroll-to.e2e.ts · 2 passed 2m 46s
🟢 screen.scrollTo reaches the last row of the list and comes back to the first 1m 43s
🟢 locator.scrollTo scrolls the list it names 1m 2s
🟢 tests/smoke.e2e.ts · 1 passed 7.2s
🟢 home lists the scenarios and opens one 7.2s

Tested by e2e 0.25.0 · 7m 55s · ios-simulator · run artifacts

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 21 passed, 1 skipped

25 agent steps · 12 replayed from cache · 58 model calls · 409.3k tokens (84% cached) · $0.0257

All 22 tests in 1 file
Test Agent Time
⏭️ tests-agent/scenarios.e2e.ts · 21 passed, 1 skipped 25 steps · 58 calls 7m 49s
🟢 act completes Login Form 1 step 39.4s
🟢 act completes Infinite Scroll List 1 step 37.1s
🟢 act completes Modal Flow 1 step 10.3s
🟢 act completes Bottom Tabs 1 step 7.5s
🟢 act completes Text Input Variations 1 step 12.5s
🟢 act completes Broken Accessibility 2 steps · 5 calls 19.5s
🟢 act completes Vision Only 2 steps · 6 calls 26.2s
🟢 act completes Gestures 1 step · 6 calls 26.2s
🟢 act completes Async States 1 step · 9 calls 27.2s
🟢 act completes Debounced Search 1 step · 1 call 27.9s
🟢 act completes Flattened Registration Form 2 steps · 1 call 24.8s
🟢 act completes Flattened Login 2 steps · 10 calls 49.2s
🟢 act completes Sticky Chrome Target 1 step 12.9s
🟢 act completes WebView Accessibility 1 step 11.9s
🟢 act completes Permission Prompt 1 step 11.0s
🟢 act completes Photo Picker 1 step · 2 calls 26.2s
🟢 act completes Product Catalog 1 step 10.0s
🟢 act completes Error Recovery 1 step 10.5s
🟢 act completes Choice Controls 1 step · 7 calls 34.9s
🟢 act completes Stripe PaymentSheet 1 step · 11 calls 33.1s
🟢 act completes Apple Pay 1 step 10.9s
⏭️ 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 · 7m 51s · 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 47s
🟢 control inventory › a label query resolves a labeled text field 23.0s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 11.0s
🟢 control inventory › a placeholder query and attribute reads find the field 4.2s
🟢 control inventory › getAttribute reads the label, resource id, and class an Appium suite asks for 4.4s
🟢 control inventory › a secure field takes a fill and denies value reads 5.7s
🟢 control inventory › press sends a character and Enter through the soft keyboard 7.9s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 7.7s
🟢 control inventory › toBeFocused follows the focus 7.8s
🟢 control inventory › a switch checks, unchecks, and reports its state 7.8s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.7s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 9.7s
🟢 control inventory › a tab role answers getByRole 3.5s
🟢 control inventory › a radio group reports the checked option 7.4s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.3s
🟢 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 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.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 7.1s
🟢 control inventory › a double tap lands inside the 300 ms window 6.4s
🟢 control inventory › tap({ count: 3 }) lands three presses 6.2s
🟢 control inventory › an ambiguous locator fails at once 4.8s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 6.4s
🟢 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.7s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 14 passed 1m 29s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 5.1s
🟢 device fixture › home leaves the app, openApp brings it back where it was 3.5s
🟢 device fixture › foregroundApp sees the home screen after home() 4.0s
🟢 device fixture › closeApp then openApp relaunches on the home list 5.7s
🟢 device fixture › closeApp leaves the next commands on the same device 6.0s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 3.7s
🟢 device fixture › openLink opens the scenario a deep link names 4.3s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 3.1s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 6.9s
🟢 device fixture › device.back pops the scenario 4.0s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.5s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 15.2s
🟢 device fixture › setLocation and clearLocation change what the app reads 16.8s
🟢 device fixture › pressButton shows the volume panel on Android 7.5s
🟢 tests/device.e2e.ts · 8 passed 53.7s
🟢 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.2s
🟢 sequential onboarding echoes the exact values 9.3s
🟢 a shake is sent without an error and leaves the screen readable 4.4s
🟢 a lock and an unlock both complete and leave the app readable 5.0s
🟢 onboarding rejects a malformed email before advancing 5.3s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.3s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 5s
🟢 infinite scroll reaches the target item 27.6s
🟢 product catalog adds exactly two of the right variant 8.2s
🟢 gestures: long-press, then swipe left 7.5s
🟢 gestures: double-tap completes the flow 9.3s
🟢 sticky chrome: accept below the fold, then continue 10.5s
🟢 async states: load, pull to refresh, claim through the toast 11.9s
🟢 huge virtualized list reaches row 512 1m 50s
🟢 tests/flows.e2e.ts · 7 passed 48.8s
🟢 text inputs unlock the submit button 5.7s
🟢 filled text inputs report their values 5.2s
🟢 modal flow confirms through the native alert 8.8s
🟢 bottom tabs act inside the last tab 6.5s
🟢 error recovery retries, then confirms the delete 8.3s
🟢 choice controls place the exact order 5.9s
🟢 debounced search selects the target once results arrive 8.4s
🟢 tests/login-form.e2e.ts · 3 passed 25.6s
🟢 login form › rejects a malformed email 7.0s
🟢 login form › rejects an unknown account 6.6s
🟢 login form › signs in and logs out 12.0s
🟢 tests/scroll-to.e2e.ts · 2 passed 1m 6s
🟢 screen.scrollTo reaches the last row of the list and comes back to the first 41.6s
🟢 locator.scrollTo scrolls the list it names 24.7s
🟢 tests/smoke.e2e.ts · 1 passed 4.8s
🟢 home lists the scenarios and opens one 4.8s

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

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026
Real-server test opens on a fake device engine package and reads what init received. Drops the session-host test that passed on main. open_session's app description names desktop.
@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
@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
@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
The app schema is loose now: url, bundleId and appPath stay described, any other key goes to resolveConfig, which checks it as a config target's.
@okwasniewski okwasniewski changed the title feat(mcp): accept launchArguments in open_session's app feat(mcp): take every target app key in open_session's app Nov 27, 2026
@github-actions github-actions Bot added size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile and removed size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile labels Nov 27, 2026
…-session-launch-arguments

# Conflicts:
#	docs/reference/mcp.mdx
@okwasniewski
okwasniewski added this pull request to the merge queue Nov 27, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 27, 2026
@okwasniewski
okwasniewski added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit b19cd0f Nov 27, 2026
43 checks passed
@okwasniewski
okwasniewski deleted the oskar/mcp-open-session-launch-arguments branch November 27, 2026 18:13
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: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