Skip to content

feat(test): add test.describe.only and the only option on describe (ENG-1234) - #2244

Merged
okwasniewski merged 5 commits into
mainfrom
krzysztof/test-describe-only
Nov 25, 2026
Merged

okwasniewski merged 5 commits into
mainfrom
krzysztof/test-describe-only

Conversation

@KrzysztofMoch

@KrzysztofMoch KrzysztofMoch commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

What

test.describe.only(title, fn) and describe(title, { only: true }, fn) focus every test in a group, the way test.only focuses one:

describe.only('checkout', () => {
  test('pays by card', async ({ screen }) => {}); // runs
  describe('refunds', () => {
    test('refunds a card', async ({ screen }) => {}); // runs
  });
});
test('signs in', async ({ app }) => {}); // filtered: not focused by .only
  • As in Playwright, a test.only or describe.only inside a focused group narrows that group to the inner focused tests.
  • A skipped, fixme, or todo test in a focused group stays focused and keeps its own skip cause.
  • CI rejects a focused group with ONLY_IN_CI, the same as test.only.
  • only must be true or false on a test or a group. It can't be set inside a serial group, but a serial group can be focused whole.

Why

describe.only was a listed gap in the Playwright and Cypress migration guides, which told users to put test.only on each test instead. This takes over #2049 by @Akarshkushwaha, which added the API. Their two commits are kept with their authorship. On top of them, this PR fixes three bugs found in review:

  • A skipped test inside describe.only lost its focus. The group's other tests then ran, and CI didn't fail with ONLY_IN_CI.
  • A nested .only didn't narrow the group around it. Instead, feat(test): add test.describe.only and the only option on describe #2049 added an only: false opt-out, which Playwright doesn't have.
  • A test.only on a line that file:line didn't select could still narrow its group.

How it works

  1. describe.only is a variant of describe, like describe.fail. It sets only: true on the group (packages/e2e/src/collect/registry.ts:907). It takes no only option of its own, which is also a type error (packages/core/src/types.ts:968).
  2. Collection validates only: it must be a boolean on tests and groups (registry.ts:460), and can't appear inside a serial group (registry.ts:587). test.only now registers in normal mode with only: true (registry.ts:967), so focus is no longer a test mode. A skip mode and focus can now hold together.
  3. Each collected test gets a focused flag (packages/e2e/src/collect/collect.ts:217). Among the tests selected by file and line, a test is focused when it is marked only, or when its innermost focused group has no other only below it. file:line selection runs first, so an unselected .only neither focuses nor narrows anything (collect.ts:180). This is Playwright's filterOnly order.
  4. Selection reads that flag instead of the old 'only' mode (packages/e2e/src/collect/select.ts:328, select.ts:641). The rest is unchanged: unfocused tests are reported filtered with not focused by .only, CI throws ONLY_IN_CI, and a run with nothing runnable gives NO_TESTS.
  5. Docs: the describe.only section and only option in docs/reference/test.mdx, the CI table in config.mdx, and the Playwright and Cypress migration rows. The ja and zh pages, the skills/e2e references and plugin copies, and the changeset are updated too.

The one gap left on purpose: an empty describe.only('x', () => {}) has no tests, so it focuses nothing and CI doesn't reject it. Playwright 1.65.1 behaves the same, even with --forbid-only.

Issue

Supersedes #2049.

Verified

Ran it locally: yes

  • testbed, built CLI, a scratch file with two focused groups, a fixme inside one, a nested test.only in the other, and an unfocused test outside:
$ e2e run tests/zz-describe-only.e2e.ts --reporter list
   ↓ |web| tests/zz-describe-only.e2e.ts > checkout > pays by invoice [fixme]
   ✓ |web| tests/zz-describe-only.e2e.ts > checkout > pays by card 217ms
   ✓ |web| tests/zz-describe-only.e2e.ts > checkout > refunds > refunds a card 7ms
   ✓ |web| tests/zz-describe-only.e2e.ts > profile > uploads an avatar 5ms
      Tests  3 passed | 1 skipped (4)
exit 0

$ CI=1 e2e run tests/zz-describe-only.e2e.ts
 ERROR  configuration error ONLY_IN_CI (collection)
.only is rejected in CI: tests/zz-describe-only.e2e.ts::checkout::pays%20by%20card, tests/zz-describe-only.e2e.ts::checkout::pays%20by%20invoice, tests/zz-describe-only.e2e.ts::checkout::refunds::refunds%20a%20card, tests/zz-describe-only.e2e.ts::profile::uploads%20an%20avatar
exit 2

profile > edits the name (narrowed out) and signs in (outside) don't run. On main, describe.only is not a function.

  • A separate agent ran 24 scenarios through the built CLI in a scratch project, and the same structures under @playwright/test 1.65.1. They covered:

    • narrowing three levels deep, groups with duplicate titles, and focus across two files
    • hooks of unfocused groups, which don't run
    • retries, fail mode, grep, tags, --target, shard, repeat-each, file:line, and test.setup sessions
    • groups where every test is skipped, and every invalid only

    Every intended case passed, and focus matches Playwright. There are two deliberate differences:

    • A focused group whose tests are all skipped gives NO_TESTS locally. Playwright exits 0. Our behavior is the same as test.only inside a skipped group on main.
    • .only inside a serial group is a COLLECTION_ERROR, since the group runs as one unit.
  • Testbed suite: 611 passed, 3 skipped.

  • After rebasing onto feat(runner): run the tests of one file in parallel #2148 (parallel tests within a file), the same file with { parallel: true } on the focused group runs the same three tests and is still rejected with ONLY_IN_CI.

  • No pnpm bench:ab: the change only decides which tests are selected. Test execution, the agent, and the engines are untouched, and selection is covered by the testbed run above.

  • No docs screenshot: the reference page adds one section in the existing reference style, and pnpm docs:check passes.

Follow-ups left open:

  • describe(title, true as any, fn) and other non-object options skip validation, so a mark is silently dropped. This already happens on main for describe and describe.fail.
  • Two serial groups with the same title path share one unit id.

Reviewed with sol-loop: 2 rounds with GPT-6.2 Sol. Sol verdict: approved

Takeover of #2049 (original work by @Akarshkushwaha) and follow-up by Claude Opus 5.5 (claude-opus-5-5) in Claude Code on T3 Code.

View guided diff Turn on auto-fix

@github-actions github-actions Bot added e2e team Opened by the e2e team size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile labels Nov 25, 2026
Akarshkushwaha and others added 5 commits November 25, 2026 10:58
A test inside a focused group is registered with the same `only` mode
`test.only` sets, so the existing focus rules and the CI rejection
(ONLY_IN_CI) apply unchanged. The innermost `only` wins, so `only: false`
on an inner group or a test opts it out, and a skipped test or group
stays unfocused and filtered, as beside `test.only`. A serial group can
be focused whole; `only` inside one is refused. Part of #1855.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ja and zh reference pages now translate the describe.only section
and its Throws table, keeping the code as in English. The describe
bullet no longer says a group takes every option except only, in all
three languages, and the Playwright "not yet" row drops its trailing
test.only clause, which pointed at describe.only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… focused

Focus was packed into TestMode as 'only', so a skipped, fixme, or todo test
in a describe.only group, or a describe.only in a skipped group, registered
unfocused: its siblings ran and CI accepted the .only. Focus is now its own
`focused` flag on CollectedTest, decided per file by Playwright's filterOnly
rule: a test.only or describe.only inside a focused group narrows it. The
group-level `only: false` opt-out is gone with it; `only` is checked as a
boolean on tests too.
@KrzysztofMoch
KrzysztofMoch force-pushed the krzysztof/test-describe-only branch from 628991c to 6bfc581 Compare November 25, 2026 09:59
@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e web: 95 passed

All 95 tests in 43 files
Test Time
🟢 tests/aria-hidden-flow.e2e.ts · 2 passed 724ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 528ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 196ms
🟢 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 315ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 175ms
🟢 canvas only › a shape out of order paints the error and resets progress 140ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 463ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 253ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 210ms
🟢 tests/cart-totals.e2e.ts · 2 passed 460ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 262ms
🟢 cart totals › a quantity never drops below one 198ms
🟢 tests/checkout-review.e2e.ts · 1 passed 196ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 196ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 699ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 358ms
🟢 context menu trap › the decoy menu items refuse and keep the file 341ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.8s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 309ms
🟢 control inventory › check picks a radio the pick replaces with its summary 195ms
🟢 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 298ms
🟢 control inventory › setInputFiles attaches files named from the project root 195ms
🟢 control inventory › the details view is left through the browser history 221ms
🟢 control inventory › scrollIntoView brings the footnote into view 218ms
🟢 control inventory › every exercise done shows the success message 1.3s
🟢 tests/css-content-ui.e2e.ts · 2 passed 463ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 264ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 199ms
🟢 tests/date-picker.e2e.ts · 2 passed 770ms
🟢 date picker › navigates three months ahead and books the required date 435ms
🟢 date picker › confirming without the exact date shows the error 335ms
🟢 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 811ms
🟢 div soup › a wrong code is rejected 364ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 447ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 677ms
🟢 drag and drop › an out-of-order item resets the dropzone 347ms
🟢 drag and drop › dropping Banana then Cherry passes 330ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 441ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 209ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 232ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 255ms
🟢 filter deep link › filtering writes the query to the URL 140ms
🟢 filter deep link › opening a shared link restores the filter 115ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 687ms
🟢 gift card purchase › refuses to buy without an amount 190ms
🟢 gift card purchase › refuses a recipient without an at sign 244ms
🟢 gift card purchase › sends the gift card 253ms
🟢 tests/hover-menu.e2e.ts · 2 passed 550ms
🟢 hover menu › a decoy leaf is refused 246ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 304ms
🟢 tests/iframe-form.e2e.ts · 2 passed 789ms
🟢 iframe form › a wrong code is refused by the host page 373ms
🟢 iframe form › the code read from one frame applies through the other 416ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 579ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 138ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 198ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 243ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 2.9s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 2.9s
🟢 tests/kanban-board.e2e.ts · 3 passed 858ms
🟢 kanban board › pointer drags move both cards into the goal layout 426ms
🟢 kanban board › a swipe along a path drags a card as well 197ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 235ms
🟢 tests/login-form.e2e.ts · 4 passed 1.2s
🟢 login form › rejects a malformed email 311ms
🟢 login form › rejects a short password 312ms
🟢 login form › rejects an unknown account 262ms
🟢 login form › signs in and logs out 346ms
🟢 tests/lying-labels.e2e.ts · 4 passed 923ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 213ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 165ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 287ms
🟢 lying labels › visible text drives the payment through 258ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 587ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 185ms
🟢 native dialogs › dismissing the confirm cancels the order 198ms
🟢 native dialogs › a wrong gift code is rejected 204ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 511ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 276ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 235ms
🟢 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.7s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 290ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 383ms
🟢 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.5s
🟢 tests/order-history.e2e.ts · 2 passed 1.5s
🟢 order history › overview and settings render their panels 244ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.3s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.5s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 520ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 169ms
🟢 otp auto-advance › a wrong code clears every box and starts over 803ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 669ms
🟢 continues only after the banner and the overlay are gone 669ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 587ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 309ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 278ms
🟢 tests/price-sorting.e2e.ts · 3 passed 430ms
🟢 price sorting › opens in the featured order with sale prices struck through 118ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 150ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 162ms
🟢 tests/product-reviews.e2e.ts · 1 passed 1.1s
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 1.1s
🟢 tests/promo-storefront.e2e.ts · 1 passed 1.4s
🟢 buys a deal once the promo chrome is out of the way 1.4s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 554ms
🟢 rich text editor › bolding exactly the required word passes the check 287ms
🟢 rich text editor › bold that spills into the previous word fails the check 267ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 563ms
🟢 saved addresses › adds an address and clears the form 190ms
🟢 saved addresses › ignores an add with an empty field 180ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 193ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 398ms
🟢 shadow DOM form › rejects a wrong access code 191ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 207ms
🟢 tests/smoke.e2e.ts · 1 passed 261ms
🟢 home lists the scenarios and opens one 261ms
🟢 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 222ms
🟢 accepts the terms once the button clears the sticky footer 222ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 15.9s
🟢 scrolls the windowed table to the Golden Row and claims it 15.9s
🟢 tests/wishlist.e2e.ts · 2 passed 1.6s
🟢 wishlist › saving toggles the button and the tab badge 262ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.3s

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

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

All 34 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 7.6s
🟢 control inventory › check sets the checkbox and the radio 1 step 696ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 282ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 949ms
🟢 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.5s
🟢 control inventory › back returns from the details view to the inventory 1 step 275ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 382ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 388ms
🟢 act signs in with the benchmark account 1 step 388ms
🟢 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 4.8s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.4s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 3.9s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 17 calls 1m 16s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.7s
🟢 act completes lying-labels 1 step · 3 calls 4.7s
🟢 act completes iframe-form 1 step · 3 calls 3.7s
🟢 act completes infinite-scroll 1 step 3.5s
🟢 act completes virtualized-table 1 step 19.9s
🟢 act completes overlay-trap 1 step 890ms
🟢 act completes sticky-chrome 1 step 892ms
🟢 act completes async-states 1 step · 3 calls 5.9s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 515ms
🟢 act completes drag-and-drop 1 step 500ms
🟢 act completes kanban-board 1 step 671ms
🟢 act completes context-menu-trap 1 step 2.7s
🟢 act completes stale-dom 1 step 514ms
🟢 act completes otp-auto-advance 1 step 729ms
🟢 act completes date-picker 1 step 812ms
🟢 act completes rich-text-editor 1 step 10.2s
🟢 act completes playbook-cleanup 1 step 635ms
🟢 act completes promo-storefront 1 step 2.3s
🟢 act completes new-tab-flow 1 step · 5 calls 8.0s
🟢 act completes gift-card-purchase 1 step 2.6s
🟢 act filters the list and the URL carries the filter 1 step 261ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 315ms
🟢 act adds an address with a run-unique label 1 step 315ms

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 40 model calls · 247.0k tokens (84% cached) · $0.0156

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 40 calls 5m 42s
🟢 act completes Login Form 1 step 23.3s
🟢 act completes Infinite Scroll List 1 step 18.5s
🟢 act completes Modal Flow 1 step 10.4s
🟢 act completes Bottom Tabs 1 step 7.1s
🟢 act completes Text Input Variations 1 step 6.4s
🟢 act completes Broken Accessibility 2 steps · 6 calls 16.7s
🟢 act completes Vision Only 2 steps · 1 call 6.3s
🟢 act completes Gestures 1 step · 9 calls 20.5s
🟢 act completes Async States 1 step · 11 calls 23.6s
🟢 act completes Debounced Search 1 step 7.4s
🟢 act completes Huge Virtualized List 1 step 1m 50s
🟢 act completes Flattened Registration Form 2 steps · 1 call 7.9s
🟢 act completes Flattened Login 2 steps · 7 calls 18.5s
🟢 act completes Sticky Chrome Target 1 step 9.0s
🟢 act completes WebView Accessibility 1 step · 5 calls 14.8s
🟢 act completes Permission Prompt 1 step 6.2s
🟢 act completes Product Catalog 1 step 7.9s
🟢 act completes Error Recovery 1 step 8.9s
🟢 act completes Choice Controls 1 step 8.3s
🟢 act completes Sequential Onboarding 1 step 10.0s

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 62 passed, 1 skipped

All 63 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 3m 27s
🟢 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 24.9s
🟢 control inventory › a placeholder query and attribute reads find the field 8.3s
🟢 control inventory › a secure field takes a fill and denies value reads 9.2s
🟢 control inventory › press sends a character and Enter through the soft keyboard 10.0s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.6s
🟢 control inventory › toBeFocused follows the focus 9.6s
🟢 control inventory › a switch checks, unchecks, and reports its state 11.3s
🟢 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 14.4s
🟢 control inventory › a radio group reports the checked option 9.1s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 8.2s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.6s
🟢 control inventory › a header answers its accessible name 4.8s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.3s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.9s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 8.8s
🟢 control inventory › tap({ count: 3 }) lands three presses 8.2s
🟢 control inventory › pointer verbs land at the point asked for 9.4s
🟢 control inventory › an ambiguous locator fails at once 5.6s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 12.1s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 262ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 14 passed 2m 18s
🟢 device fixture › setAppearance flips the color scheme the app reads 12.0s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 10.4s
🟢 device fixture › the clipboard reads back what was written 8.3s
🟢 device fixture › home leaves the app, openApp brings it back where it was 6.9s
🟢 device fixture › closeApp then openApp relaunches on the home list 10.9s
🟢 device fixture › closeApp leaves the next commands on the same device 13.7s
🟢 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.4s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 8.5s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 11.9s
🟢 device fixture › device.back pops the scenario 7.3s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 5.0s
🟢 device fixture › setLocation and clearLocation change what the app reads 11.0s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 10.9s
🟢 tests/device.e2e.ts · 6 passed 1m 12s
🟢 permissions all grants the microphone without a system dialog 12.8s
🟢 sequential onboarding echoes the exact values 25.2s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.6s
🟢 a shake is sent without an error and leaves the screen readable 4.6s
🟢 onboarding rejects a malformed email before advancing 10.1s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.4s
🟢 tests/flows-lists.e2e.ts · 7 passed 4m 7s
🟢 infinite scroll reaches the target item 32.7s
🟢 product catalog adds exactly two of the right variant 10.2s
🟢 gestures: long-press, then swipe left 8.7s
🟢 sticky chrome: accept below the fold, then continue 12.7s
🟢 async states: load, pull to refresh, claim through the toast 11.9s
🟢 huge virtualized list reaches row 512 2m 38s
🟢 web view coupon form applies the code shown on the page 12.4s
🟢 tests/flows.e2e.ts · 7 passed 1m 10s
🟢 text inputs unlock the submit button 12.6s
🟢 filled text inputs report their values 10.8s
🟢 modal flow confirms through the native alert 10.3s
🟢 bottom tabs act inside the last tab 7.5s
🟢 error recovery retries, then confirms the delete 9.7s
🟢 choice controls place the exact order 7.6s
🟢 debounced search selects the target once results arrive 11.5s
🟢 tests/login-form.e2e.ts · 3 passed 44.5s
🟢 login form › rejects a malformed email 12.9s
🟢 login form › rejects an unknown account 12.7s
🟢 login form › signs in and logs out 18.8s
🟢 tests/smoke.e2e.ts · 1 passed 8.4s
🟢 home lists the scenarios and opens one 8.4s

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android: 63 passed, 1 skipped

All 64 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 25 passed, 1 skipped 2m 36s
🟢 control inventory › a label query resolves a labeled text field 18.9s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 10.8s
🟢 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.4s
🟢 control inventory › press sends a character and Enter through the soft keyboard 7.2s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.1s
🟢 control inventory › toBeFocused follows the focus 7.5s
🟢 control inventory › a switch checks, unchecks, and reports its state 8.0s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.4s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 9.7s
🟢 control inventory › a tab role answers getByRole 3.6s
🟢 control inventory › a radio group reports the checked option 7.2s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.5s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 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.1s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 5.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 6.7s
🟢 control inventory › a double tap lands inside the 300 ms window 6.1s
🟢 control inventory › tap({ count: 3 }) lands three presses 5.7s
🟢 control inventory › an ambiguous locator fails at once 4.5s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 6.0s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.7s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 13 passed 1m 25s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 4.7s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.2s
🟢 device fixture › foregroundApp sees the home screen after home() 3.6s
🟢 device fixture › closeApp then openApp relaunches on the home list 6.6s
🟢 device fixture › closeApp leaves the next commands on the same device 5.9s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.2s
🟢 device fixture › openLink opens the scenario a deep link names 4.3s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 3.7s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 7.4s
🟢 device fixture › device.back pops the scenario 4.4s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.7s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 15.5s
🟢 device fixture › setLocation and clearLocation change what the app reads 16.7s
🟢 tests/device.e2e.ts · 7 passed 45.7s
🟢 permission prompt › allowing the system dialog enables the microphone 5.4s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 10.9s
🟢 permissions all grants the microphone without a system dialog 5.7s
🟢 sequential onboarding echoes the exact values 9.2s
🟢 a shake is sent without an error and leaves the screen readable 4.2s
🟢 onboarding rejects a malformed email before advancing 5.0s
🟢 dismissing the keyboard over choice controls leaves them as they were 5.2s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 5s
🟢 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.4s
🟢 gestures: double-tap completes the flow 9.1s
🟢 sticky chrome: accept below the fold, then continue 10.3s
🟢 async states: load, pull to refresh, claim through the toast 12.0s
🟢 huge virtualized list reaches row 512 1m 51s
🟢 tests/flows.e2e.ts · 7 passed 48.3s
🟢 text inputs unlock the submit button 6.0s
🟢 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.2s
🟢 error recovery retries, then confirms the delete 8.2s
🟢 choice controls place the exact order 5.7s
🟢 debounced search selects the target once results arrive 8.1s
🟢 tests/login-form.e2e.ts · 3 passed 25.3s
🟢 login form › rejects a malformed email 6.7s
🟢 login form › rejects an unknown account 6.4s
🟢 login form › signs in and logs out 12.1s
🟢 tests/smoke.e2e.ts · 1 passed 4.9s
🟢 home lists the scenarios and opens one 4.9s

Tested by e2e 0.24.0 · 9m 11s · android-emulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 2 flaky, 19 passed, 1 skipped

25 agent steps · 12 replayed from cache · 51 model calls · 506.1k tokens (85% cached) · $0.0310

⚠️ 2 flaky tests passed on a retry

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

ASSERTION_FAILED at step 4 of 4: agent.act "Complete this scenario as the screen instructs: long-press the first target, swipe the card left, then double-tap the last target", after 49.5s and 13 model calls

agent.act failed: The replayed long-press was already complete. I attempted the left swipe across the visible “Swipe me left” card several times, but the screen remains on Step 2 of 3, so I could not reach the final double-tap target.

  • Turn 10: screenshot({}) → [screenshot] The screen changed substantially since revision b14. Current screen (revision b16, path dev.e2e.benchmark / Gestures, 12 nodes):
  • Turn 11: swipe({"from":{"x":240,"y":465},"to":{"x":20,"y":465}}) → [swipe] Swiped from (240, 465) to (20, 465).
  • Turn 12: screenshot({}) → [screenshot] The screen changed substantially since revision b16. Current screen (revision b18, path dev.e2e.benchmark / Gestures, 12 nodes):
  • Screen: dev.e2e.benchmark / Gestures

Evidence: screenshot, log

⚠️ act completes Async States
tests-agent/scenarios.e2e.ts:266

ASSERTION_FAILED at step 4 of 4: agent.act "Complete this scenario as the screen instructs: wait for the screen to load, scroll up on the reward area to refresh it, then claim the reward", after 52.2s and 13 model calls

agent.act failed: Waited for the Async States screen to load and tried scrolling/swiping the reward area in both directions, including a pull-down refresh gesture. The screen still only says “Pull down to refresh and reveal your reward”; no reward or claim control appeared.

  • Turn 10: scroll({"direction":"down","target":"n4404"}) → [scroll] Scrolled down.
  • Turn 11: swipe({"from":{"x":176,"y":430},"to":{"x":176,"y":700}}) → [swipe] Swiped from (176, 430) to (176, 700).
  • Turn 12: screenshot({}) → [screenshot] The screen changed substantially since revision b16. Current screen (revision b19, path dev.e2e.benchmark / Async States, 13 nodes):
  • Screen: dev.e2e.benchmark / Async States

Evidence: screenshot, log

All 22 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 2 flaky, 19 passed, 1 skipped 25 steps · 51 calls 7m 14s
🟢 act completes Login Form 1 step 36.1s
🟢 act completes Infinite Scroll List 1 step 37.1s
🟢 act completes Modal Flow 1 step 10.0s
🟢 act completes Bottom Tabs 1 step 7.4s
🟢 act completes Text Input Variations 1 step 12.5s
🟢 act completes Broken Accessibility 2 steps · 6 calls 23.5s
🟢 act completes Vision Only 2 steps · 6 calls 25.7s
⚠️ act completes Gestures (1 failed attempt first) 1 step · 7 calls 23.0s
⚠️ act completes Async States (1 failed attempt first) 1 step · 7 calls 17.7s
🟢 act completes Debounced Search 1 step · 1 call 27.9s
🟢 act completes Flattened Registration Form 2 steps · 1 call 25.0s
🟢 act completes Flattened Login 2 steps · 10 calls 49.1s
🟢 act completes Sticky Chrome Target 1 step 13.3s
🟢 act completes WebView Accessibility 1 step 12.5s
🟢 act completes Permission Prompt 1 step 11.5s
🟢 act completes Photo Picker 1 step · 2 calls 27.7s
🟢 act completes Product Catalog 1 step 10.3s
🟢 act completes Error Recovery 1 step 9.8s
🟢 act completes Choice Controls 1 step · 5 calls 31.8s
🟢 act completes Stripe PaymentSheet 1 step · 6 calls 12.0s
🟢 act completes Apple Pay 1 step 10.6s
⏭️ 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 · 9m 7s · ios-simulator · run artifacts

@KrzysztofMoch KrzysztofMoch added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 25, 2026
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