Skip to content

feat(mcp): tell the agent to read the writing-tests guide before it writes a test - #1696

Merged
okwasniewski merged 2 commits into
mainfrom
kacper/eng-1269-mcp-read-writing-tests-guide
Nov 11, 2026
Merged

okwasniewski merged 2 commits into
mainfrom
kacper/eng-1269-mcp-read-writing-tests-guide

Conversation

@kacperkapusciak

@kacperkapusciak kacperkapusciak commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

An agent driving the app through e2e mcp would start writing a test without reading the writing guide. Before this change, the server mentioned the guide resources only at the end of its instructions, and many clients drop instructions or never read resources.

  • One sentence, READ_WRITING_GUIDE (packages/e2e/src/mcp/session.ts), now appears in two places: the server instructions, before "Write the test…", and at the end of every open_session summary, above the first observation, test runs included.

  • It names the resource and a shell fallback, for clients that can't read MCP resources:

    Before you write or edit a test, read the writing-tests guide: the resource e2e://guide/writing-tests, or npx e2e guide writing-tests in a shell.
    
  • Updated to match: workflow step 1 in skills/e2e/references/mcp.md (plus the plugin copy) and open_session in docs/reference/mcp.mdx. Includes a patch changeset for e2e.

Linear: ENG-1269

Verified

Ran it locally: yes

  • Surface: the built e2e mcp (packages/e2e/dist/cli/bin.js), driven by an MCP SDK client. The testbed's port was held by another checkout's app, so I opened the session in engine mode from an empty directory against that running app.
  • The instructions and the open_session result both carry the line, and the resource it names resolves:
--- instructions (last paragraph) ---
Before you write or edit a test, read the writing-tests guide: the resource e2e://guide/writing-tests, or npx e2e guide writing-tests in a shell. Write the test (tests/*.e2e.ts) while you walk the flow, ...
--- open_session result, before the screen ---
Session 01a1ca21-… open on target "web" (platform web, engine web 0.15.5), headless; no config file: ...
App: http://127.0.0.1:4271/.
...
Node ids ("n42") are valid only for the newest observation; ... Call close_session when you are done.
Before you write or edit a test, read the writing-tests guide: the resource e2e://guide/writing-tests, or npx e2e guide writing-tests in a shell.
--- e2e://guide/writing-tests ---
# Writing tests
  • tests/integration/mcp-server.test.ts checks for the line in both places; both checks fail on main.

…rites a test

The server instructions and every open_session result now say to read
e2e://guide/writing-tests (or npx e2e guide writing-tests) before writing
or editing a test.

ENG-1269
@github-actions github-actions Bot added the size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 11, 2026

@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.

All reported issues were addressed across 7 files

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

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

Comment thread docs/reference/mcp.mdx Resolved
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web: 91 passed

All 91 tests in 41 files
Test Time
🟢 tests/aria-hidden-flow.e2e.ts · 2 passed 1.2s
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 845ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 308ms
🟢 tests/async-states.e2e.ts · 2 passed 7.5s
🟢 async states › reads the code off the transient toast and verifies it once the button enables 2.5s
🟢 async states › a wrong code is rejected after the toast has gone 5.0s
🟢 tests/canvas-only.e2e.ts · 2 passed 627ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 325ms
🟢 canvas only › a shape out of order paints the error and resets progress 302ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 881ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 462ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 419ms
🟢 tests/cart-totals.e2e.ts · 2 passed 776ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 443ms
🟢 cart totals › a quantity never drops below one 333ms
🟢 tests/checkout-review.e2e.ts · 1 passed 299ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 299ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 1.1s
🟢 context menu trap › right-click opens nothing; the row menu renames the file 469ms
🟢 context menu trap › the decoy menu items refuse and keep the file 592ms
🟢 tests/control-inventory.e2e.ts · 8 passed 5.7s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 512ms
🟢 control inventory › check picks a radio the pick replaces with its summary 422ms
🟢 control inventory › a long press and a double click are told apart from a tap 1.4s
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 467ms
🟢 control inventory › setInputFiles attaches files named from the project root 322ms
🟢 control inventory › the details view is left through the browser history 425ms
🟢 control inventory › scrollIntoView brings the footnote into view 432ms
🟢 control inventory › every exercise done shows the success message 1.7s
🟢 tests/css-content-ui.e2e.ts · 2 passed 706ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 336ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 370ms
🟢 tests/date-picker.e2e.ts · 2 passed 1.2s
🟢 date picker › navigates three months ahead and books the required date 676ms
🟢 date picker › confirming without the exact date shows the error 502ms
🟢 tests/debounced-search.e2e.ts · 2 passed 3.4s
🟢 debounced search › a decoy one character off is refused 1.6s
🟢 debounced search › picking the exact item adds it to the cart 1.8s
🟢 tests/deferred-dialog.e2e.ts · 1 passed 1.5s
🟢 one submit opens one confirm, even when double-clicked 1.5s
🟢 tests/div-soup.e2e.ts · 2 passed 2.3s
🟢 div soup › a wrong code is rejected 1.1s
🟢 div soup › the right code grants access after the delete tile fixes a typo 1.2s
🟢 tests/drag-and-drop.e2e.ts · 2 passed 1.4s
🟢 drag and drop › an out-of-order item resets the dropzone 767ms
🟢 drag and drop › dropping Banana then Cherry passes 683ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 550ms
🟢 filter deep link › filtering writes the query to the URL 312ms
🟢 filter deep link › opening a shared link restores the filter 238ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 1.5s
🟢 gift card purchase › refuses to buy without an amount 352ms
🟢 gift card purchase › refuses a recipient without an at sign 579ms
🟢 gift card purchase › sends the gift card 569ms
🟢 tests/hover-menu.e2e.ts · 2 passed 872ms
🟢 hover menu › a decoy leaf is refused 411ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 461ms
🟢 tests/iframe-form.e2e.ts · 2 passed 1.3s
🟢 iframe form › a wrong code is refused by the host page 617ms
🟢 iframe form › the code read from one frame applies through the other 696ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 1.0s
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 256ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 412ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 360ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 3.3s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 3.3s
🟢 tests/kanban-board.e2e.ts · 3 passed 1.5s
🟢 kanban board › pointer drags move both cards into the goal layout 598ms
🟢 kanban board › a swipe along a path drags a card as well 351ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 528ms
🟢 tests/login-form.e2e.ts · 4 passed 2.1s
🟢 login form › rejects a malformed email 513ms
🟢 login form › rejects a short password 564ms
🟢 login form › rejects an unknown account 476ms
🟢 login form › signs in and logs out 562ms
🟢 tests/lying-labels.e2e.ts · 4 passed 1.9s
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 376ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 289ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 659ms
🟢 lying labels › visible text drives the payment through 568ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 883ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 294ms
🟢 native dialogs › dismissing the confirm cancels the order 294ms
🟢 native dialogs › a wrong gift code is rejected 295ms
🟢 tests/newsletter-signup.e2e.ts · 1 passed 2.4s
🟢 subscribe renders no feedback and logs a TypeError (planted bug) 2.4s
🟢 tests/onboarding-wizard.e2e.ts · 5 passed 7.0s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 549ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 662ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.8s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.9s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 2.1s
🟢 tests/order-history.e2e.ts · 2 passed 1.7s
🟢 order history › overview and settings render their panels 300ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.4s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.7s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 565ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 259ms
🟢 otp auto-advance › a wrong code clears every box and starts over 918ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 720ms
🟢 continues only after the banner and the overlay are gone 720ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 719ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 344ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 375ms
🟢 tests/price-sorting.e2e.ts · 3 passed 740ms
🟢 price sorting › opens in the featured order with sale prices struck through 219ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 262ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 259ms
🟢 tests/product-reviews.e2e.ts · 1 passed 1.3s
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 1.3s
🟢 tests/promo-storefront.e2e.ts · 1 passed 1.5s
🟢 buys a deal once the promo chrome is out of the way 1.5s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 804ms
🟢 rich text editor › bolding exactly the required word passes the check 436ms
🟢 rich text editor › bold that spills into the previous word fails the check 368ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 871ms
🟢 saved addresses › adds an address and clears the form 291ms
🟢 saved addresses › ignores an add with an empty field 260ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 320ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 555ms
🟢 shadow DOM form › rejects a wrong access code 285ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 270ms
🟢 tests/smoke.e2e.ts · 1 passed 455ms
🟢 home lists the scenarios and opens one 455ms
🟢 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 286ms
🟢 accepts the terms once the button clears the sticky footer 286ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 20.8s
🟢 scrolls the windowed table to the Golden Row and claims it 20.8s
🟢 tests/wishlist.e2e.ts · 2 passed 1.7s
🟢 wishlist › saving toggles the button and the tab badge 322ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.4s

Tested by e2e 0.23.0 · 1m 30s · web · run artifacts

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 33 passed

34 agent steps · 26 replayed from cache · 20 model calls · 88.5k tokens (94% cached) · $0.0036

All 33 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 7.3s
🟢 control inventory › check sets the checkbox and the radio 1 step 634ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 239ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 889ms
🟢 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 249ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 343ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 318ms
🟢 act signs in with the benchmark account 1 step 318ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 4 steps · 8 calls 10.8s
🟢 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.5s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 4.0s
🟢 tests-agent/scenarios.e2e.ts · 21 passed 21 steps · 12 calls 1m 3s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.6s
🟢 act completes lying-labels 1 step · 3 calls 4.9s
🟢 act completes iframe-form 1 step · 3 calls 4.0s
🟢 act completes infinite-scroll 1 step 3.2s
🟢 act completes virtualized-table 1 step 15.5s
🟢 act completes overlay-trap 1 step 841ms
🟢 act completes sticky-chrome 1 step 895ms
🟢 act completes async-states 1 step · 3 calls 6.8s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 445ms
🟢 act completes drag-and-drop 1 step 418ms
🟢 act completes kanban-board 1 step 583ms
🟢 act completes context-menu-trap 1 step 2.7s
🟢 act completes stale-dom 1 step 415ms
🟢 act completes otp-auto-advance 1 step 682ms
🟢 act completes date-picker 1 step 770ms
🟢 act completes rich-text-editor 1 step 9.9s
🟢 act completes playbook-cleanup 1 step 573ms
🟢 act completes promo-storefront 1 step 2.3s
🟢 act completes gift-card-purchase 1 step 2.4s
🟢 act filters the list and the URL carries the filter 1 step 207ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 273ms
🟢 act adds an address with a run-unique label 1 step 273ms

Tested by e2e 0.23.0 · 1m 23s · web · run artifacts

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 21 passed, 1 skipped

25 agent steps · 12 replayed from cache · 57 model calls · 350.9k tokens (81% cached) · $0.0245

All 22 tests in 1 file
Test Agent Time
⏭️ tests-agent/scenarios.e2e.ts · 21 passed, 1 skipped 25 steps · 57 calls 8m 29s
🟢 act completes Login Form 1 step 38.1s
🟢 act completes Infinite Scroll List 1 step 40.1s
🟢 act completes Modal Flow 1 step 10.5s
🟢 act completes Bottom Tabs 1 step 7.4s
🟢 act completes Text Input Variations 1 step 13.3s
🟢 act completes Broken Accessibility 2 steps · 6 calls 25.0s
🟢 act completes Vision Only 2 steps · 6 calls 29.5s
🟢 act completes Gestures 1 step · 9 calls 38.3s
🟢 act completes Async States 1 step · 10 calls 32.6s
🟢 act completes Debounced Search 1 step · 1 call 27.3s
🟢 act completes Flattened Registration Form 2 steps · 1 call 28.6s
🟢 act completes Flattened Login 2 steps · 10 calls 55.5s
🟢 act completes Sticky Chrome Target 1 step 14.0s
🟢 act completes WebView Accessibility 1 step 12.0s
🟢 act completes Permission Prompt 1 step 10.9s
🟢 act completes Photo Picker 1 step · 2 calls 30.9s
🟢 act completes Product Catalog 1 step 10.4s
🟢 act completes Error Recovery 1 step 9.9s
🟢 act completes Choice Controls 1 step · 5 calls 33.6s
🟢 act completes Stripe PaymentSheet 1 step · 7 calls 29.9s
🟢 act completes Apple Pay 1 step 11.3s
⏭️ 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.23.0 · 8m 29s · ios-simulator · 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.

0 issues found across 2 files (changes from recent commits).

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 36 model calls · 190.9k tokens (88% cached) · $0.0103

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 36 calls 5m 26s
🟢 act completes Login Form 1 step 18.7s
🟢 act completes Infinite Scroll List 1 step 19.9s
🟢 act completes Modal Flow 1 step 9.3s
🟢 act completes Bottom Tabs 1 step 6.9s
🟢 act completes Text Input Variations 1 step 6.0s
🟢 act completes Broken Accessibility 2 steps · 5 calls 13.6s
🟢 act completes Vision Only 2 steps · 1 call 6.1s
🟢 act completes Gestures 1 step · 9 calls 22.0s
🟢 act completes Async States 1 step · 8 calls 15.8s
🟢 act completes Debounced Search 1 step 6.5s
🟢 act completes Huge Virtualized List 1 step 1m 54s
🟢 act completes Flattened Registration Form 2 steps · 1 call 7.7s
🟢 act completes Flattened Login 2 steps · 6 calls 14.5s
🟢 act completes Sticky Chrome Target 1 step 8.9s
🟢 act completes WebView Accessibility 1 step · 6 calls 16.2s
🟢 act completes Permission Prompt 1 step 6.2s
🟢 act completes Product Catalog 1 step 7.8s
🟢 act completes Error Recovery 1 step 8.5s
🟢 act completes Choice Controls 1 step 8.1s
🟢 act completes Sequential Onboarding 1 step 9.5s

Tested by e2e 0.23.0 · 5m 27s · android-emulator · run artifacts

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 1 flaky, 54 passed, 1 skipped

⚠️ 1 flaky test passed on a retry

⚠️ device fixture › the clipboard reads back what was written
tests/fixtures.ts:81

ENGINE_FAILURE (beforeEach) at step 3 of 3: locator.tap getByLabel("Control Inventory. "), after 3.1s

perform tap failed: Runner command "tap" lost its transport response and the status probe failed, so agent-device invalidated the runner session instead of replaying the command. Hint: The runner did not confirm that "tap" reached a safe terminal state, so agent-device kept the conservative invalidation path. Run snapshot -i before retrying if the UI may have changed.

  • Screen: dev.e2e.benchmark / Control Inventory

Evidence: screenshot, log

All 56 tests in 7 files
Test Time
⚠️ tests/device-fixture.e2e.ts · 1 flaky, 10 passed 1m 42s
🟢 device fixture › setAppearance flips the color scheme the app reads 14.1s
🟢 device fixture › setOrientation rotates the window the app measures 8.9s
⚠️ device fixture › the clipboard reads back what was written (1 failed attempt first) 6.2s
🟢 device fixture › home leaves the app, openApp brings it back where it was 8.1s
🟢 device fixture › closeApp then openApp relaunches on the home list 7.8s
🟢 device fixture › closeApp leaves the next commands on the same device 14.3s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 7.9s
🟢 device fixture › device.back pops the scenario 7.4s
🟢 device fixture › unstable_raw reaches the test session through agent-device 5.5s
🟢 device fixture › setLocation and clearLocation change what the app reads 11.2s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 11.0s
⏭️ tests/controls.e2e.ts · 23 passed, 1 skipped 3m 13s
🟢 control inventory › a label query resolves a labeled text field 10.5s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 20.6s
🟢 control inventory › a placeholder query and attribute reads find the field 5.2s
🟢 control inventory › a secure field takes a fill and denies value reads 8.5s
🟢 control inventory › press sends a character and Enter through the soft keyboard 10.2s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 18.2s
🟢 control inventory › toBeFocused follows the focus 10.0s
🟢 control inventory › a switch checks, unchecks, and reports its state 10.5s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.8s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 13.1s
🟢 control inventory › a radio group reports the checked option 8.8s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.9s
🟢 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.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.0s
🟢 control inventory › pointer verbs land at the point asked for 9.8s
🟢 control inventory › an ambiguous locator fails at once 5.9s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 10.7s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 552ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device.e2e.ts · 3 passed 1m 9s
🟢 sequential onboarding echoes the exact values 43.2s
🟢 onboarding rejects a malformed email before advancing 14.6s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.1s
🟢 tests/flows-lists.e2e.ts · 7 passed 4m 15s
🟢 infinite scroll reaches the target item 35.4s
🟢 product catalog adds exactly two of the right variant 10.2s
🟢 gestures: long-press, then swipe left 8.8s
🟢 sticky chrome: accept below the fold, then continue 12.5s
🟢 async states: load, pull to refresh, claim through the toast 11.6s
🟢 huge virtualized list reaches row 512 2m 45s
🟢 web view coupon form applies the code shown on the page 11.7s
🟢 tests/flows.e2e.ts · 7 passed 1m 9s
🟢 text inputs unlock the submit button 12.9s
🟢 filled text inputs report their values 10.1s
🟢 modal flow confirms through the native alert 9.5s
🟢 bottom tabs act inside the last tab 7.3s
🟢 error recovery retries, then confirms the delete 9.3s
🟢 choice controls place the exact order 8.3s
🟢 debounced search selects the target once results arrive 11.5s
🟢 tests/login-form.e2e.ts · 3 passed 48.5s
🟢 login form › rejects a malformed email 14.1s
🟢 login form › rejects an unknown account 14.1s
🟢 login form › signs in and logs out 20.3s
🟢 tests/smoke.e2e.ts · 1 passed 7.5s
🟢 home lists the scenarios and opens one 7.5s

Tested by e2e 0.23.0 · 7m 20s · ios-simulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android: 57 passed, 1 skipped

All 58 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 2m 39s
🟢 control inventory › a label query resolves a labeled text field 22.0s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 11.1s
🟢 control inventory › a placeholder query and attribute reads find the field 4.8s
🟢 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 7.8s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.3s
🟢 control inventory › toBeFocused follows the focus 7.3s
🟢 control inventory › a switch checks, unchecks, and reports its state 8.4s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 7.0s
🟢 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.3s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.0s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 5.7s
🟢 control inventory › a header answers its accessible name 3.6s
🟢 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.4s
⏭️ 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.6s
🟢 control inventory › an ambiguous locator fails at once 5.0s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 6.8s
🟢 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 · 10 passed 1m 15s
🟢 device fixture › setOrientation rotates the window the app measures 4.4s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.7s
🟢 device fixture › foregroundApp sees the home screen after home() 4.0s
🟢 device fixture › closeApp then openApp relaunches on the home list 6.4s
🟢 device fixture › closeApp leaves the next commands on the same device 6.4s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.3s
🟢 device fixture › device.back pops the scenario 4.4s
🟢 device fixture › unstable_raw reaches the test session through agent-device 3.6s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 15.8s
🟢 device fixture › setLocation and clearLocation change what the app reads 20.6s
🟢 tests/device.e2e.ts · 5 passed 38.6s
🟢 permission prompt › allowing the system dialog enables the microphone 5.6s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 12.0s
🟢 sequential onboarding echoes the exact values 9.5s
🟢 onboarding rejects a malformed email before advancing 5.2s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.4s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 12s
🟢 infinite scroll reaches the target item 28.7s
🟢 product catalog adds exactly two of the right variant 8.0s
🟢 gestures: long-press, then swipe left 7.9s
🟢 gestures: double-tap completes the flow 9.3s
🟢 sticky chrome: accept below the fold, then continue 10.8s
🟢 async states: load, pull to refresh, claim through the toast 11.4s
🟢 huge virtualized list reaches row 512 1m 56s
🟢 tests/flows.e2e.ts · 7 passed 48.4s
🟢 text inputs unlock the submit button 6.0s
🟢 filled text inputs report their values 5.0s
🟢 modal flow confirms through the native alert 8.5s
🟢 bottom tabs act inside the last tab 6.4s
🟢 error recovery retries, then confirms the delete 8.2s
🟢 choice controls place the exact order 5.6s
🟢 debounced search selects the target once results arrive 8.8s
🟢 tests/login-form.e2e.ts · 3 passed 25.9s
🟢 login form › rejects a malformed email 7.0s
🟢 login form › rejects an unknown account 6.9s
🟢 login form › signs in and logs out 12.1s
🟢 tests/smoke.e2e.ts · 1 passed 5.4s
🟢 home lists the scenarios and opens one 5.4s

Tested by e2e 0.23.0 · 9m 5s · android-emulator · run artifacts

@kacperkapusciak kacperkapusciak added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 11, 2026
@okwasniewski
okwasniewski merged commit de8ae3c into main Nov 11, 2026
33 checks passed
@okwasniewski
okwasniewski deleted the kacper/eng-1269-mcp-read-writing-tests-guide branch November 11, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants