Skip to content

feat(test)!: add test.todo - #2218

Merged
KrzysztofMoch merged 4 commits into
mainfrom
krzysztof/test-todo
Nov 25, 2026
Merged

KrzysztofMoch merged 4 commits into
mainfrom
krzysztof/test-todo

Conversation

@KrzysztofMoch

@KrzysztofMoch KrzysztofMoch commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

What

test.todo(title) registers an unfinished test with no body, as in Vitest. It never runs and is reported skipped with skip.cause and skip.reason both todo.

describe('checkout', () => {
  test.todo('apply a coupon');
});

This takes over #1858 by @bferanmi806-sketch (Enoch). Their first commit is kept with its authorship, and three commits on top finish it; the last ports the schema restriction and fold guard from Enoch's later #1858 commits.

Why

Vitest suites use test.todo to keep planned tests visible, and a port to e2e had nothing for it. On #1858 the maintainers chose to model it like test.fixme (#1887): a skip cause, not a new result status, so report-1 keeps its schemaVersion and reporters need no change.

How it works

  1. test.todo(title) rejects any argument after the title with a COLLECTION_ERROR that points to test.skip(title, fn) or test.fixme(title, fn). Otherwise it calls registerOne with mode todo and an empty body (packages/e2e/src/collect/registry.ts). As with test.fixme, registerOne rejects it inside a serial group.
  2. Selection turns mode todo into skip: { cause: 'todo', reason: 'todo' }, beside fixme and explicit (classifyPair in packages/e2e/src/collect/select.ts). NO_TESTS counts these tests as marked todo.
  3. 'todo' joins SELF_SKIP_CAUSES (packages/core/src/run/records.ts), the causes a test gives itself, which types the skip.cause union. No other runner code changes: --last-failed reruns only skips the runner gave (UNDELIVERED_SKIPS in packages/e2e/src/run/last-run.ts), so a todo in the run before is not rerun, and the reporters print a todo like any skip with its reason.
  4. report-1: todo is a result-only skip cause. A new resultSkip definition (packages/e2e/schema/report-v1.schema.json) takes any attempt skip, or { cause: 'todo', reason: 'todo' } with an optional otherShard, and a todo result must be a kind: test row with no serialGroupId and no attempts. Attempts and serial members keep the old skip definition, so they reject todo. The valid fixture gains a todo result, and schema-fixtures.test.ts checks each rejected shape. The TypeScript Report type keeps one SkipInfo for results and attempts, as it already does for filtered, which the runner only puts on results; for todo the schema holds the rule.
  5. foldLastRun (packages/e2e/src/report/fold.ts) leaves a todo result as it is. Without that, a test that failed, became a test.todo, and was rerun with --last-failed kept its old attempts in report-with-reruns.json, which the schema above rejects.
  6. The changeset is minor with **Breaking:** for e2e and @e2e-dev/core, matching fix(changeset): flag test.fixme report compatibility #2012 for fixme: a consumer pinning the schema or switching exhaustively on skip.cause meets a new value.
  7. Docs: a test.todo entry with a Throws table in docs/reference/test.mdx, test.todo(title) in the serial-group Throws row, and a line in skills/e2e/references/writing-tests.md and its plugin copy. Enoch's docs/ja and docs/zh entries are in, without the later Throws table. Types are pinned in packages/e2e/tests/types/sdk-types.ts, including the rejected body form and todo as a Report skip cause.

The CTRF reporter (#2137) shows a todo as skipped with skipCause: todo in its extra. CTRF's pending status would also fit. I left that for a follow-up so todo reads the same in every reporter.

Issue

Part of #1855. Replaces #1858.

Verified

Ran it locally: yes

  • testbed, built CLI, a file with a todo in a describe, a top-level todo, and a passing test:
   ↓ |web| tests/zz-todo-check.e2e.ts > checkout > apply a coupon [todo]
   ↓ |web| tests/zz-todo-check.e2e.ts > export a PDF [todo]
   ✓ |web| tests/zz-todo-check.e2e.ts > runs 214ms
 ✓ |web| tests/zz-todo-check.e2e.ts (3 tests | 2 skipped) 214ms
 Test Files  1 passed (1)
      Tests  1 passed | 2 skipped (3)

report.json for the two todo tests:

["checkout","apply a coupon"] skipped {"cause":"todo","reason":"todo"} attempts=0
["export a PDF"] skipped {"cause":"todo","reason":"todo"} attempts=0
  • The edge cases, same CLI:
Run Result
A file with only test.todo exit 2, NO_TESTS: ... 1 marked todo; pass --pass-with-no-tests to allow this
The same with --pass-with-no-tests exit 0, the test reported skipped with cause todo
A test that failed, then turned into test.todo, rerun with --last-failed exit 0, ↓ later [todo]; report.json and report-with-reruns.json both show the todo with 0 attempts and pass the schema. Before the fold guard, report-with-reruns.json carried the failed attempt and failed the schema (attempts must NOT have more than 0 items)
test.todo('with a body', async () => {}) exit 2, COLLECTION_ERROR: test.todo() takes a title only; register a test with a body through test.skip(title, fn) or test.fixme(title, fn)
  • Terminal recording: none. No reporter code changed. A todo prints as any skip with its reason, [todo], shown above.
  • Gemini 4 Neon reviewed the branch in a fresh context and approved it. I applied its one code suggestion: call registerOne directly instead of going through registrar.

Made with Claude Opus 5.5 in Claude Code (T3 Code), on top of Enoch's commit from #1858.

@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 24, 2026
@github-actions

github-actions Bot commented Nov 24, 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 625ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 479ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 146ms
🟢 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 258ms
🟢 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 116ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 376ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 223ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 153ms
🟢 tests/cart-totals.e2e.ts · 2 passed 390ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 225ms
🟢 cart totals › a quantity never drops below one 165ms
🟢 tests/checkout-review.e2e.ts · 1 passed 178ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 178ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 516ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 268ms
🟢 context menu trap › the decoy menu items refuse and keep the file 248ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.5s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 249ms
🟢 control inventory › check picks a radio the pick replaces with its summary 158ms
🟢 control inventory › a long press and a double click are told apart from a tap 992ms
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 267ms
🟢 control inventory › setInputFiles attaches files named from the project root 150ms
🟢 control inventory › the details view is left through the browser history 167ms
🟢 control inventory › scrollIntoView brings the footnote into view 197ms
🟢 control inventory › every exercise done shows the success message 1.3s
🟢 tests/css-content-ui.e2e.ts · 2 passed 328ms
🟢 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 153ms
🟢 tests/date-picker.e2e.ts · 2 passed 695ms
🟢 date picker › navigates three months ahead and books the required date 414ms
🟢 date picker › confirming without the exact date shows the error 281ms
🟢 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.1s
🟢 one submit opens one confirm, even when double-clicked 1.1s
🟢 tests/div-soup.e2e.ts · 2 passed 642ms
🟢 div soup › a wrong code is rejected 309ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 333ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 665ms
🟢 drag and drop › an out-of-order item resets the dropzone 330ms
🟢 drag and drop › dropping Banana then Cherry passes 335ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 343ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 169ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 174ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 231ms
🟢 filter deep link › filtering writes the query to the URL 125ms
🟢 filter deep link › opening a shared link restores the filter 106ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 539ms
🟢 gift card purchase › refuses to buy without an amount 136ms
🟢 gift card purchase › refuses a recipient without an at sign 180ms
🟢 gift card purchase › sends the gift card 223ms
🟢 tests/hover-menu.e2e.ts · 2 passed 428ms
🟢 hover menu › a decoy leaf is refused 194ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 234ms
🟢 tests/iframe-form.e2e.ts · 2 passed 525ms
🟢 iframe form › a wrong code is refused by the host page 243ms
🟢 iframe form › the code read from one frame applies through the other 282ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 487ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 117ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 171ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 199ms
🟢 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 701ms
🟢 kanban board › pointer drags move both cards into the goal layout 368ms
🟢 kanban board › a swipe along a path drags a card as well 131ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 202ms
🟢 tests/login-form.e2e.ts · 4 passed 748ms
🟢 login form › rejects a malformed email 201ms
🟢 login form › rejects a short password 180ms
🟢 login form › rejects an unknown account 165ms
🟢 login form › signs in and logs out 202ms
🟢 tests/lying-labels.e2e.ts · 4 passed 613ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 147ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 104ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 178ms
🟢 lying labels › visible text drives the payment through 184ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 449ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 135ms
🟢 native dialogs › dismissing the confirm cancels the order 165ms
🟢 native dialogs › a wrong gift code is rejected 149ms
🟢 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 193ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 203ms
🟢 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.4s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 289ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 351ms
🟢 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.3s
🟢 tests/order-history.e2e.ts · 2 passed 1.4s
🟢 order history › overview and settings render their panels 199ms
🟢 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 477ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 141ms
🟢 otp auto-advance › a wrong code clears every box and starts over 768ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 727ms
🟢 continues only after the banner and the overlay are gone 727ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 578ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 301ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 277ms
🟢 tests/price-sorting.e2e.ts · 3 passed 444ms
🟢 price sorting › opens in the featured order with sale prices struck through 126ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 159ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 159ms
🟢 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.3s
🟢 buys a deal once the promo chrome is out of the way 1.3s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 561ms
🟢 rich text editor › bolding exactly the required word passes the check 294ms
🟢 rich text editor › bold that spills into the previous word fails the check 267ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 648ms
🟢 saved addresses › adds an address and clears the form 223ms
🟢 saved addresses › ignores an add with an empty field 196ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 229ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 447ms
🟢 shadow DOM form › rejects a wrong access code 232ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 215ms
🟢 tests/smoke.e2e.ts · 1 passed 295ms
🟢 home lists the scenarios and opens one 295ms
🟢 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 219ms
🟢 accepts the terms once the button clears the sticky footer 219ms
🟢 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.5s
🟢 wishlist › saving toggles the button and the tab badge 247ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.2s

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

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

35 agent steps · 26 replayed from cache · 25 model calls · 134.2k 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 630ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 245ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 885ms
🟢 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 259ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 342ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 337ms
🟢 act signs in with the benchmark account 1 step 337ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 4 steps · 8 calls 10.0s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 5.2s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.2s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 3.6s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 17 calls 1m 9s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.2s
🟢 act completes lying-labels 1 step · 3 calls 4.2s
🟢 act completes iframe-form 1 step · 3 calls 3.6s
🟢 act completes infinite-scroll 1 step 3.3s
🟢 act completes virtualized-table 1 step 15.6s
🟢 act completes overlay-trap 1 step 841ms
🟢 act completes sticky-chrome 1 step 906ms
🟢 act completes async-states 1 step · 3 calls 6.2s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 466ms
🟢 act completes drag-and-drop 1 step 484ms
🟢 act completes kanban-board 1 step 613ms
🟢 act completes context-menu-trap 1 step 2.6s
🟢 act completes stale-dom 1 step 420ms
🟢 act completes otp-auto-advance 1 step 678ms
🟢 act completes date-picker 1 step 735ms
🟢 act completes rich-text-editor 1 step 9.9s
🟢 act completes playbook-cleanup 1 step 528ms
🟢 act completes promo-storefront 1 step 1.3s
🟢 act completes new-tab-flow 1 step · 5 calls 8.5s
🟢 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 262ms
🟢 act adds an address with a run-unique label 1 step 262ms

Tested by e2e 0.24.0 · 1m 27s · web · run artifacts

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 33 model calls · 196.1k tokens (87% cached) · $0.0112

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 33 calls 5m 14s
🟢 act completes Login Form 1 step 23.0s
🟢 act completes Infinite Scroll List 1 step 17.7s
🟢 act completes Modal Flow 1 step 10.1s
🟢 act completes Bottom Tabs 1 step 6.6s
🟢 act completes Text Input Variations 1 step 6.1s
🟢 act completes Broken Accessibility 2 steps · 5 calls 12.3s
🟢 act completes Vision Only 2 steps · 1 call 6.0s
🟢 act completes Gestures 1 step · 7 calls 16.6s
🟢 act completes Async States 1 step · 8 calls 17.7s
🟢 act completes Debounced Search 1 step 6.6s
🟢 act completes Huge Virtualized List 1 step 1m 48s
🟢 act completes Flattened Registration Form 2 steps · 1 call 7.2s
🟢 act completes Flattened Login 2 steps · 7 calls 14.7s
🟢 act completes Sticky Chrome Target 1 step 8.7s
🟢 act completes WebView Accessibility 1 step · 4 calls 12.8s
🟢 act completes Permission Prompt 1 step 6.1s
🟢 act completes Product Catalog 1 step 7.9s
🟢 act completes Error Recovery 1 step 8.9s
🟢 act completes Choice Controls 1 step 8.0s
🟢 act completes Sequential Onboarding 1 step 9.2s

Tested by e2e 0.24.0 · 5m 15s · android-emulator · run artifacts

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 61 passed, 1 skipped

All 62 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 3m 10s
🟢 control inventory › a label query resolves a labeled text field 12.4s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 13.9s
🟢 control inventory › a placeholder query and attribute reads find the field 4.6s
🟢 control inventory › a secure field takes a fill and denies value reads 8.4s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.8s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.7s
🟢 control inventory › toBeFocused follows the focus 9.1s
🟢 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 9.1s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 13.4s
🟢 control inventory › a radio group reports the checked option 9.5s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.7s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.2s
🟢 control inventory › a header answers its accessible name 5.2s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.2s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.8s
⏭️ 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.6s
🟢 control inventory › tap({ count: 3 }) lands three presses 8.4s
🟢 control inventory › pointer verbs land at the point asked for 9.2s
🟢 control inventory › an ambiguous locator fails at once 5.7s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 12.6s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 279ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.2s
🟢 tests/device-fixture.e2e.ts · 14 passed 2m 7s
🟢 device fixture › setAppearance flips the color scheme the app reads 11.6s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 6.9s
🟢 device fixture › the clipboard reads back what was written 5.0s
🟢 device fixture › home leaves the app, openApp brings it back where it was 7.5s
🟢 device fixture › closeApp then openApp relaunches on the home list 10.5s
🟢 device fixture › closeApp leaves the next commands on the same device 14.8s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 6.1s
🟢 device fixture › openLink opens the scenario a deep link names 15.3s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 7.9s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 10.5s
🟢 device fixture › device.back pops the scenario 5.5s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 5.0s
🟢 device fixture › setLocation and clearLocation change what the app reads 10.2s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 9.8s
🟢 tests/device.e2e.ts · 5 passed 58.8s
🟢 sequential onboarding echoes the exact values 25.5s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.6s
🟢 a shake is sent without an error and leaves the screen readable 4.8s
🟢 onboarding rejects a malformed email before advancing 9.7s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.1s
🟢 tests/flows-lists.e2e.ts · 7 passed 4m 7s
🟢 infinite scroll reaches the target item 34.1s
🟢 product catalog adds exactly two of the right variant 10.0s
🟢 gestures: long-press, then swipe left 8.9s
🟢 sticky chrome: accept below the fold, then continue 12.9s
🟢 async states: load, pull to refresh, claim through the toast 12.5s
🟢 huge virtualized list reaches row 512 2m 36s
🟢 web view coupon form applies the code shown on the page 12.6s
🟢 tests/flows.e2e.ts · 7 passed 1m 9s
🟢 text inputs unlock the submit button 12.2s
🟢 filled text inputs report their values 10.3s
🟢 modal flow confirms through the native alert 9.6s
🟢 bottom tabs act inside the last tab 7.4s
🟢 error recovery retries, then confirms the delete 9.8s
🟢 choice controls place the exact order 8.1s
🟢 debounced search selects the target once results arrive 11.9s
🟢 tests/login-form.e2e.ts · 3 passed 45.0s
🟢 login form › rejects a malformed email 13.2s
🟢 login form › rejects an unknown account 12.9s
🟢 login form › signs in and logs out 18.9s
🟢 tests/smoke.e2e.ts · 1 passed 8.4s
🟢 home lists the scenarios and opens one 8.4s

Tested by e2e 0.24.0 · 7m 14s · ios-simulator · run artifacts

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 21 passed, 1 skipped

25 agent steps · 12 replayed from cache · 51 model calls · 325.4k tokens (84% cached) · $0.0207

All 22 tests in 1 file
Test Agent Time
⏭️ tests-agent/scenarios.e2e.ts · 21 passed, 1 skipped 25 steps · 51 calls 7m 25s
🟢 act completes Login Form 1 step 36.9s
🟢 act completes Infinite Scroll List 1 step 38.0s
🟢 act completes Modal Flow 1 step 10.4s
🟢 act completes Bottom Tabs 1 step 7.2s
🟢 act completes Text Input Variations 1 step 13.1s
🟢 act completes Broken Accessibility 2 steps · 6 calls 24.5s
🟢 act completes Vision Only 2 steps · 6 calls 26.2s
🟢 act completes Gestures 1 step · 7 calls 25.1s
🟢 act completes Async States 1 step · 8 calls 14.5s
🟢 act completes Debounced Search 1 step · 1 call 28.0s
🟢 act completes Flattened Registration Form 2 steps · 1 call 24.9s
🟢 act completes Flattened Login 2 steps · 11 calls 58.5s
🟢 act completes Sticky Chrome Target 1 step 13.4s
🟢 act completes WebView Accessibility 1 step 12.2s
🟢 act completes Permission Prompt 1 step 11.5s
🟢 act completes Photo Picker 1 step · 2 calls 27.4s
🟢 act completes Product Catalog 1 step 10.4s
🟢 act completes Error Recovery 1 step 9.4s
🟢 act completes Choice Controls 1 step · 3 calls 27.8s
🟢 act completes Stripe PaymentSheet 1 step · 6 calls 11.3s
🟢 act completes Apple Pay 1 step 14.4s
⏭️ 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.24.0 · 7m 26s · ios-simulator · run artifacts

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e android: 62 passed, 1 skipped

All 63 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 25 passed, 1 skipped 2m 34s
🟢 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 10.5s
🟢 control inventory › a placeholder query and attribute reads find the field 4.4s
🟢 control inventory › a secure field takes a fill and denies value reads 6.0s
🟢 control inventory › press sends a character and Enter through the soft keyboard 6.8s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 6.9s
🟢 control inventory › toBeFocused follows the focus 7.2s
🟢 control inventory › a switch checks, unchecks, and reports its state 7.7s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.8s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 9.6s
🟢 control inventory › a tab role answers getByRole 3.3s
🟢 control inventory › a radio group reports the checked option 7.0s
🟢 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 5.7s
🟢 control inventory › a header answers its accessible name 3.3s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 4.9s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 5.0s
⏭️ 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.7s
🟢 control inventory › a double tap lands inside the 300 ms window 6.2s
🟢 control inventory › tap({ count: 3 }) lands three presses 5.9s
🟢 control inventory › an ambiguous locator fails at once 4.5s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 5.2s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.6s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 13 passed 1m 19s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 4.7s
🟢 device fixture › home leaves the app, openApp brings it back where it was 3.8s
🟢 device fixture › foregroundApp sees the home screen after home() 3.6s
🟢 device fixture › closeApp then openApp relaunches on the home list 5.4s
🟢 device fixture › closeApp leaves the next commands on the same device 5.2s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 3.6s
🟢 device fixture › openLink opens the scenario a deep link names 3.8s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 3.4s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 6.3s
🟢 device fixture › device.back pops the scenario 3.9s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.4s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 14.7s
🟢 device fixture › setLocation and clearLocation change what the app reads 17.5s
🟢 tests/device.e2e.ts · 6 passed 40.1s
🟢 permission prompt › allowing the system dialog enables the microphone 5.1s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 10.8s
🟢 sequential onboarding echoes the exact values 9.0s
🟢 a shake is sent without an error and leaves the screen readable 4.3s
🟢 onboarding rejects a malformed email before advancing 5.2s
🟢 dismissing the keyboard over choice controls leaves them as they were 5.8s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 3s
🟢 infinite scroll reaches the target item 27.0s
🟢 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.1s
🟢 async states: load, pull to refresh, claim through the toast 11.7s
🟢 huge virtualized list reaches row 512 1m 50s
🟢 tests/flows.e2e.ts · 7 passed 46.4s
🟢 text inputs unlock the submit button 5.6s
🟢 filled text inputs report their values 4.9s
🟢 modal flow confirms through the native alert 8.2s
🟢 bottom tabs act inside the last tab 6.2s
🟢 error recovery retries, then confirms the delete 7.9s
🟢 choice controls place the exact order 5.5s
🟢 debounced search selects the target once results arrive 8.1s
🟢 tests/login-form.e2e.ts · 3 passed 25.4s
🟢 login form › rejects a malformed email 6.6s
🟢 login form › rejects an unknown account 6.9s
🟢 login form › signs in and logs out 11.9s
🟢 tests/smoke.e2e.ts · 1 passed 4.8s
🟢 home lists the scenarios and opens one 4.8s

Tested by e2e 0.24.0 · 8m 54s · android-emulator · run artifacts

@bferanmi806-sketch

Copy link
Copy Markdown
Contributor

Thanks for carrying test.todo forward and preserving the original commit. I pushed follow-up reporter fixture/type-check fixes to #1858 at ae61c7c8 after #2218's branch point; that commit is not in this PR.

Since the description says #2218 replaces #1858, I want to avoid leaving those fixes behind. Would you like me to cherry-pick them onto your branch, or should I leave #1858 open until you confirm your branch has the follow-ups?

@kdy1 kdy1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Note

This text was drafted with AI and posted after human approval.

  • Harness: T3 Code
  • AI agents: coordinator: Claude Opus 5.5 (claude-opus-5-5), reviewer: GPT-6.2 Astra (gpt-6.2-astra), reviewer: GPT-6.2 Sol (gpt-6.2-sol), reviewer: Claude Opus 5.5 (claude-opus-5-5), reviewer: Claude Sonnet 5.5 (claude-sonnet-5-5)

Verdict: Approve with changes

This review approves the pull request with changes. Fix the P2 items before merge.

This pull request adds test.todo(title). The test is registered without a body, never runs, and is reported as skipped with skip.cause and skip.reason both todo. I ran the built CLI at db5964e: a mixed file reports the todo as [todo] with zero attempts, a todo-only selection fails with NO_TESTS and passes with --pass-with-no-tests, and a body or a serial group gives COLLECTION_ERROR. The changed unit tests (181), tests/integration/test-todo.test.ts (3), and pnpm --filter e2e run typecheck pass. The report-1 change follows the test.fixme precedent (#1887, #2012) that the maintainers chose on #1858. One gap remains in the schema, below. The branch also conflicts with main after #2223 (the docs pages and the skip-cause enum, which lost capability-unavailable), so it needs a rebase.

Reviewed commit: db5964e55e1366c0d445d3a5c46deb6d75e91f03

  • P2 (fix before merge): 1 (1 inline)

bferanmi806-sketch and others added 4 commits November 25, 2026 08:39
… tests

Mark the changeset minor with a Breaking note for the new todo skip cause,
as #2012 did for fixme. Add a Throws table for test.todo, name the fix in
its extra-argument error, pin todo in last-run and the Report type, restore
main's fixme schema-fixture test, and drop the todo filter fixture, which
the cause-agnostic filter rule already covers.
report-1 took `todo` in the skip definition that results, attempts, and
serial members share, so a report with a todo attempt, or a todo result
with attempts, validated. `todo` now lives in a result-only `resultSkip`
with reason `todo`, and a todo result must be a plain test row with no
serial group and no attempts.

That rule caught a real case: a failed test turned into a test.todo and
rerun with --last-failed inherited its old attempts in
report-with-reruns.json. foldLastRun now leaves a todo result as it is.

Co-authored-by: Enoch <bferanmi806@gmail.com>
@github-actions github-actions Bot added size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile and removed size:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile labels Nov 25, 2026
@KrzysztofMoch KrzysztofMoch added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 25, 2026
@KrzysztofMoch

Copy link
Copy Markdown
Member Author

Thanks, Enoch. #2218 now has the report-1 restriction (todo only on a result-level skip of a plain test row with no attempts) and your foldLastRun guard with a test, credited to you in the commit. I left out the AttemptSkipInfo type split and the reporter fixture changes: the public Report type keeps one SkipInfo, and the schema enforces the rule. So there's nothing to cherry-pick. Once #2218 merges we'll close #1858. Thanks for all the work on it.

@KrzysztofMoch
KrzysztofMoch added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit d6a7bbc Nov 25, 2026
44 checks passed
@KrzysztofMoch
KrzysztofMoch deleted the krzysztof/test-todo branch November 25, 2026 07:57
@bferanmi806-sketch

Copy link
Copy Markdown
Contributor

Thanks, Krzysztof! I appreciate you carrying #2218 through and crediting the report-1 restriction and fold guard. Glad test.todo landed. If another runner or report issue could use a hand, please feel free to tag or assign me; I’d be happy to help.

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:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants