Skip to content

feat(config): set the default visible option of screen queries with locators - #2108

Closed
satya164 wants to merge 2 commits into
mainfrom
t3/default-visible-locators
Closed

satya164 wants to merge 2 commits into
mainfrom
t3/default-visible-locators

Conversation

@satya164

Copy link
Copy Markdown
Collaborator

What and why

Role queries never match a hidden node, but getByText, getByLabel, getByPlaceholder, and getByTestId do. On native apps, screens kept mounted behind the current one stay in the tree, so suites pass { visible: true } to almost every query. A new locators config option makes that the default.

export default {
  targets: [
    { engine: mobile({ platform: 'ios' }), app: { bundleId: 'com.example.app' } },
    { name: 'web', engine: web(), app: { url }, locators: { visible: false } }, // this target keeps hidden matches
  ],
  locators: { visible: true },
} satisfies E2EConfig;

await screen.getByText('Saved').tap();                       // skips hidden nodes
await screen.getByText('Saved', { visible: false }).count(); // a query's own option wins
  • locators: { visible } sits at the top level and on each target. A target's visible wins over the config's, and a query's own visible wins over both. The default is false, so existing suites run as before.
  • Core resolves it per target (ResolvedTarget.locators). The screen applies it in the four queries (packages/core/src/locator/screen.ts). getByRole and getByDisplayValue are unchanged.
  • An e2e mcp session applies it too: run_code, locate, and the test lines build the same queries a test under that config builds. Without this, locate counted hidden twins a test would skip, and a test line's .nth(i) could point at the wrong node.
  • The config digest reads the default only through the resolved targets, so {}, { visible: false }, and no key all digest alike.
  • Docs: reference/config.mdx (locators, LocatorsConfig), reference/screen.mdx (Hidden duplicates), reference/mcp.mdx, reference/errors.mdx, the Maestro migration guide, and the e2e and migrate-to-e2e skills.

Error codes the new option can raise:

Code When
INVALID_CONFIG locators, at the top level or on a target, is not an object, has a key other than visible, or has a visible that is not a boolean

Verified

Ran it locally: yes, Chromium only. Firefox could not run on this machine.

  • testbed /controls page, which has a hidden banner twin. A scratch config with locators: { visible: true } ran a test that uses no { visible: true }: getByTestId('banner') resolves to one node and taps, getByText('Sale') resolves, and getByTestId('banner', { visible: false }) counts 2.
      run 01a208e5-1a0a-7eda-aaa8-9c861d48857f · targets: chromium
 ✓ target "chromium" command at http://127.0.0.1:4371/ ready 92ms
   ✓ |chromium| tests-visible-verify/visible.e2e.ts > queries skip the hidden twin without { visible: true } 344ms
 Test Files  1 passed (1)
      Tests  1 passed (1)
  • The same config with locators: { visible: 'yes' }:
 ERROR  configuration error INVALID_CONFIG (config)
locators.visible must be a boolean, got "yes"
  • Firefox: not verified. Playwright's Firefox build (firefox-1572) does not start on this Mac (macOS 27.2.1). It exits with Could not find profile folder, also when started directly outside e2e and after a forced reinstall. CI runs no Firefox either. The default is applied in core before a query reaches the engine, so the engine gets the same visible: true query that { visible: true } on a query sends today.
  • tests/integration/locators-visible.test.ts runs two web targets from a config file through worker processes: one inherits visible: true, one overrides it with false.

🤖 Generated with Claude Code

satya164 and others added 2 commits November 23, 2026 15:52
A `locators` config option, at the top level and per target, sets the
default `visible` option of `getByText`, `getByLabel`, `getByPlaceholder`,
and `getByTestId`. A target's value replaces the config's, and a query's
own option wins over both. The default stays off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`locate` and the test lines a session writes now build their queries
with the target's `locators.visible`, so they count matches as a test
under the same config does. The config digest reads the default only
through the resolved targets, so equal defaults digest alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@satya164
satya164 marked this pull request as draft November 23, 2026 15:09
@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 23, 2026
@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 902ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 676ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 226ms
🟢 tests/async-states.e2e.ts · 2 passed 7.1s
🟢 async states › reads the code off the transient toast and verifies it once the button enables 2.3s
🟢 async states › a wrong code is rejected after the toast has gone 4.8s
🟢 tests/canvas-only.e2e.ts · 2 passed 453ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 242ms
🟢 canvas only › a shape out of order paints the error and resets progress 211ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 577ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 324ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 253ms
🟢 tests/cart-totals.e2e.ts · 2 passed 566ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 305ms
🟢 cart totals › a quantity never drops below one 261ms
🟢 tests/checkout-review.e2e.ts · 1 passed 281ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 281ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 868ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 439ms
🟢 context menu trap › the decoy menu items refuse and keep the file 429ms
🟢 tests/control-inventory.e2e.ts · 8 passed 4.8s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 448ms
🟢 control inventory › check picks a radio the pick replaces with its summary 345ms
🟢 control inventory › a long press and a double click are told apart from a tap 1.2s
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 435ms
🟢 control inventory › setInputFiles attaches files named from the project root 258ms
🟢 control inventory › the details view is left through the browser history 332ms
🟢 control inventory › scrollIntoView brings the footnote into view 291ms
🟢 control inventory › every exercise done shows the success message 1.5s
🟢 tests/css-content-ui.e2e.ts · 2 passed 508ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 276ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 232ms
🟢 tests/date-picker.e2e.ts · 2 passed 945ms
🟢 date picker › navigates three months ahead and books the required date 557ms
🟢 date picker › confirming without the exact date shows the error 388ms
🟢 tests/debounced-search.e2e.ts · 2 passed 3.1s
🟢 debounced search › a decoy one character off is refused 1.5s
🟢 debounced search › picking the exact item adds it to the cart 1.5s
🟢 tests/deferred-dialog.e2e.ts · 1 passed 1.2s
🟢 one submit opens one confirm, even when double-clicked 1.2s
🟢 tests/div-soup.e2e.ts · 2 passed 966ms
🟢 div soup › a wrong code is rejected 449ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 517ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 863ms
🟢 drag and drop › an out-of-order item resets the dropzone 414ms
🟢 drag and drop › dropping Banana then Cherry passes 449ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 583ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 267ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 316ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 415ms
🟢 filter deep link › filtering writes the query to the URL 229ms
🟢 filter deep link › opening a shared link restores the filter 186ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 866ms
🟢 gift card purchase › refuses to buy without an amount 233ms
🟢 gift card purchase › refuses a recipient without an at sign 293ms
🟢 gift card purchase › sends the gift card 340ms
🟢 tests/hover-menu.e2e.ts · 2 passed 722ms
🟢 hover menu › a decoy leaf is refused 296ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 426ms
🟢 tests/iframe-form.e2e.ts · 2 passed 926ms
🟢 iframe form › a wrong code is refused by the host page 445ms
🟢 iframe form › the code read from one frame applies through the other 481ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 751ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 170ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 267ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 314ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 3.1s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 3.1s
🟢 tests/kanban-board.e2e.ts · 3 passed 1.1s
🟢 kanban board › pointer drags move both cards into the goal layout 499ms
🟢 kanban board › a swipe along a path drags a card as well 240ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 354ms
🟢 tests/login-form.e2e.ts · 4 passed 1.2s
🟢 login form › rejects a malformed email 300ms
🟢 login form › rejects a short password 310ms
🟢 login form › rejects an unknown account 291ms
🟢 login form › signs in and logs out 334ms
🟢 tests/lying-labels.e2e.ts · 4 passed 1.1s
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 280ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 196ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 331ms
🟢 lying labels › visible text drives the payment through 330ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 817ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 278ms
🟢 native dialogs › dismissing the confirm cancels the order 266ms
🟢 native dialogs › a wrong gift code is rejected 273ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 730ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 377ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 353ms
🟢 tests/newsletter-signup.e2e.ts · 1 passed 2.3s
🟢 subscribe renders no feedback and logs a TypeError (planted bug) 2.3s
🟢 tests/onboarding-wizard.e2e.ts · 5 passed 6.5s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 388ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 513ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.7s
🟢 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.0s
🟢 tests/order-history.e2e.ts · 2 passed 1.6s
🟢 order history › overview and settings render their panels 266ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.3s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.7s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 550ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 251ms
🟢 otp auto-advance › a wrong code clears every box and starts over 879ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 739ms
🟢 continues only after the banner and the overlay are gone 739ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 725ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 387ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 338ms
🟢 tests/price-sorting.e2e.ts · 3 passed 615ms
🟢 price sorting › opens in the featured order with sale prices struck through 165ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 195ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 255ms
🟢 tests/product-reviews.e2e.ts · 1 passed 1.2s
🟢 the running-shoe page lists coffee-grinder reviews (planted bug) 1.2s
🟢 tests/promo-storefront.e2e.ts · 1 passed 1.4s
🟢 buys a deal once the promo chrome is out of the way 1.4s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 648ms
🟢 rich text editor › bolding exactly the required word passes the check 331ms
🟢 rich text editor › bold that spills into the previous word fails the check 317ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 792ms
🟢 saved addresses › adds an address and clears the form 280ms
🟢 saved addresses › ignores an add with an empty field 237ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 275ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 468ms
🟢 shadow DOM form › rejects a wrong access code 236ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 232ms
🟢 tests/smoke.e2e.ts · 1 passed 347ms
🟢 home lists the scenarios and opens one 347ms
🟢 tests/stale-dom.e2e.ts · 1 passed 4.1s
🟢 taps the moving target three times across rebuilds of the list 4.1s
🟢 tests/sticky-chrome.e2e.ts · 1 passed 260ms
🟢 accepts the terms once the button clears the sticky footer 260ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 18.3s
🟢 scrolls the windowed table to the Golden Row and claims it 18.3s
🟢 tests/wishlist.e2e.ts · 2 passed 1.7s
🟢 wishlist › saving toggles the button and the tab badge 298ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.4s

Tested by e2e 0.24.0 · 1m 20s · 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 · 134.2k tokens (94% cached) · $0.0056

All 34 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 8.0s
🟢 control inventory › check sets the checkbox and the radio 1 step 835ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 325ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 983ms
🟢 control inventory › a right-click opens the file menu and Rename renames the file 1 step 2.6s
🟢 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 322ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 431ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 410ms
🟢 act signs in with the benchmark account 1 step 410ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 4 steps · 8 calls 12.5s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 6.9s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.8s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 3.8s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 17 calls 1m 25s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.5s
🟢 act completes lying-labels 1 step · 3 calls 4.7s
🟢 act completes iframe-form 1 step · 3 calls 4.3s
🟢 act completes infinite-scroll 1 step 3.4s
🟢 act completes virtualized-table 1 step 23.0s
🟢 act completes overlay-trap 1 step 1.2s
🟢 act completes sticky-chrome 1 step 1.2s
🟢 act completes async-states 1 step · 3 calls 7.9s
🟢 act completes debounced-search 1 step 2.5s
🟢 act completes hover-menu 1 step 758ms
🟢 act completes drag-and-drop 1 step 591ms
🟢 act completes kanban-board 1 step 766ms
🟢 act completes context-menu-trap 1 step 2.7s
🟢 act completes stale-dom 1 step 534ms
🟢 act completes otp-auto-advance 1 step 751ms
🟢 act completes date-picker 1 step 1.3s
🟢 act completes rich-text-editor 1 step 10.5s
🟢 act completes playbook-cleanup 1 step 975ms
🟢 act completes promo-storefront 1 step 1.5s
🟢 act completes new-tab-flow 1 step · 5 calls 9.5s
🟢 act completes gift-card-purchase 1 step 2.6s
🟢 act filters the list and the URL carries the filter 1 step 351ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 519ms
🟢 act adds an address with a run-unique label 1 step 519ms

Tested by e2e 0.24.0 · 1m 47s · 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 · 251.8k tokens (87% cached) · $0.0144

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 40 calls 5m 48s
🟢 act completes Login Form 1 step 21.2s
🟢 act completes Infinite Scroll List 1 step 20.2s
🟢 act completes Modal Flow 1 step 11.3s
🟢 act completes Bottom Tabs 1 step 7.5s
🟢 act completes Text Input Variations 1 step 7.9s
🟢 act completes Broken Accessibility 2 steps · 5 calls 13.7s
🟢 act completes Vision Only 2 steps · 1 call 6.3s
🟢 act completes Gestures 1 step · 11 calls 27.4s
🟢 act completes Async States 1 step · 12 calls 25.8s
🟢 act completes Debounced Search 1 step 6.7s
🟢 act completes Huge Virtualized List 1 step 1m 50s
🟢 act completes Flattened Registration Form 2 steps · 1 call 8.6s
🟢 act completes Flattened Login 2 steps · 6 calls 16.6s
🟢 act completes Sticky Chrome Target 1 step 9.4s
🟢 act completes WebView Accessibility 1 step · 4 calls 13.4s
🟢 act completes Permission Prompt 1 step 7.1s
🟢 act completes Product Catalog 1 step 8.4s
🟢 act completes Error Recovery 1 step 8.9s
🟢 act completes Choice Controls 1 step 8.4s
🟢 act completes Sequential Onboarding 1 step 9.4s

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 59 passed, 1 skipped

All 60 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 23 passed, 1 skipped 2m 57s
🟢 control inventory › a label query resolves a labeled text field 12.8s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 15.2s
🟢 control inventory › a placeholder query and attribute reads find the field 5.4s
🟢 control inventory › a secure field takes a fill and denies value reads 8.0s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.5s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.2s
🟢 control inventory › toBeFocused follows the focus 8.7s
🟢 control inventory › a switch checks, unchecks, and reports its state 9.7s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.3s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 12.5s
🟢 control inventory › a radio group reports the checked option 8.6s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.6s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.0s
🟢 control inventory › a header answers its accessible name 4.2s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 5.9s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.5s
⏭️ 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.3s
🟢 control inventory › pointer verbs land at the point asked for 9.4s
🟢 control inventory › an ambiguous locator fails at once 5.5s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 11.8s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 259ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.2s
🟢 tests/device-fixture.e2e.ts · 14 passed 2m 2s
🟢 device fixture › setAppearance flips the color scheme the app reads 12.2s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 7.3s
🟢 device fixture › the clipboard reads back what was written 5.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 8.2s
🟢 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.0s
🟢 device fixture › openLink opens the scenario a deep link names 13.3s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 6.5s
🟢 device fixture › uninstallApp removes the app until installApp puts it back 10.0s
🟢 device fixture › device.back pops the scenario 5.8s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 4.2s
🟢 device fixture › setLocation and clearLocation change what the app reads 10.3s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 9.7s
🟢 tests/device.e2e.ts · 4 passed 52.9s
🟢 sequential onboarding echoes the exact values 24.8s
🟢 isKeyboardShown follows the keyboard up and through a dismissal 7.5s
🟢 onboarding rejects a malformed email before advancing 9.3s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.3s
🟢 tests/flows-lists.e2e.ts · 7 passed 4m 2s
🟢 infinite scroll reaches the target item 31.7s
🟢 product catalog adds exactly two of the right variant 10.0s
🟢 gestures: long-press, then swipe left 8.7s
🟢 sticky chrome: accept below the fold, then continue 12.6s
🟢 async states: load, pull to refresh, claim through the toast 11.4s
🟢 huge virtualized list reaches row 512 2m 36s
🟢 web view coupon form applies the code shown on the page 11.8s
🟢 tests/flows.e2e.ts · 7 passed 1m 6s
🟢 text inputs unlock the submit button 12.1s
🟢 filled text inputs report their values 10.1s
🟢 modal flow confirms through the native alert 9.6s
🟢 bottom tabs act inside the last tab 7.3s
🟢 error recovery retries, then confirms the delete 9.2s
🟢 choice controls place the exact order 7.2s
🟢 debounced search selects the target once results arrive 11.0s
🟢 tests/login-form.e2e.ts · 3 passed 43.6s
🟢 login form › rejects a malformed email 12.3s
🟢 login form › rejects an unknown account 12.3s
🟢 login form › signs in and logs out 19.0s
🟢 tests/smoke.e2e.ts · 1 passed 7.3s
🟢 home lists the scenarios and opens one 7.3s

Tested by e2e 0.24.0 · 6m 58s · ios-simulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 21 passed, 1 skipped

25 agent steps · 12 replayed from cache · 60 model calls · 426.2k tokens (81% cached) · $0.0293

All 22 tests in 1 file
Test Agent Time
⏭️ tests-agent/scenarios.e2e.ts · 21 passed, 1 skipped 25 steps · 60 calls 8m 33s
🟢 act completes Login Form 1 step 39.6s
🟢 act completes Infinite Scroll List 1 step 39.1s
🟢 act completes Modal Flow 1 step 10.5s
🟢 act completes Bottom Tabs 1 step 7.4s
🟢 act completes Text Input Variations 1 step 12.4s
🟢 act completes Broken Accessibility 2 steps · 5 calls 22.9s
🟢 act completes Vision Only 2 steps · 6 calls 24.4s
🟢 act completes Gestures 1 step · 11 calls 45.7s
🟢 act completes Async States 1 step · 9 calls 26.9s
🟢 act completes Debounced Search 1 step · 1 call 27.7s
🟢 act completes Flattened Registration Form 2 steps · 1 call 24.2s
🟢 act completes Flattened Login 2 steps · 10 calls 51.5s
🟢 act completes Sticky Chrome Target 1 step 13.1s
🟢 act completes WebView Accessibility 1 step 11.6s
🟢 act completes Permission Prompt 1 step 12.2s
🟢 act completes Photo Picker 1 step · 2 calls 28.0s
🟢 act completes Product Catalog 1 step 10.2s
🟢 act completes Error Recovery 1 step 9.8s
🟢 act completes Choice Controls 1 step · 5 calls 33.4s
🟢 act completes Stripe PaymentSheet 1 step · 10 calls 47.8s
🟢 act completes Apple Pay 1 step 14.1s
⏭️ 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 · 8m 33s · ios-simulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android: 60 passed, 1 skipped

All 61 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 2m 49s
🟢 control inventory › a label query resolves a labeled text field 26.5s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 12.2s
🟢 control inventory › a placeholder query and attribute reads find the field 6.3s
🟢 control inventory › a secure field takes a fill and denies value reads 6.9s
🟢 control inventory › press sends a character and Enter through the soft keyboard 8.6s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.0s
🟢 control inventory › toBeFocused follows the focus 8.1s
🟢 control inventory › a switch checks, unchecks, and reports its state 8.2s
🟢 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 10.3s
🟢 control inventory › a tab role answers getByRole 3.9s
🟢 control inventory › a radio group reports the checked option 7.8s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.8s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 6.2s
🟢 control inventory › a header answers its accessible name 3.9s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 5.4s
🟢 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 7.1s
🟢 control inventory › a double tap lands inside the 300 ms window 6.1s
🟢 control inventory › an ambiguous locator fails at once 5.3s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 7.4s
🟢 refusals › verbs a device never declares are refused before the engine 9ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.3s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 13 passed 1m 27s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 5.0s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.5s
🟢 device fixture › foregroundApp sees the home screen after home() 4.2s
🟢 device fixture › closeApp then openApp relaunches on the home list 6.5s
🟢 device fixture › closeApp leaves the next commands on the same device 6.7s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.1s
🟢 device fixture › openLink opens the scenario a deep link names 4.8s
🟢 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 8.1s
🟢 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 14.8s
🟢 device fixture › setLocation and clearLocation change what the app reads 17.0s
🟢 tests/device.e2e.ts · 5 passed 39.9s
🟢 permission prompt › allowing the system dialog enables the microphone 5.8s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 12.5s
🟢 sequential onboarding echoes the exact values 9.6s
🟢 onboarding rejects a malformed email before advancing 5.6s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.4s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 10s
🟢 infinite scroll reaches the target item 28.2s
🟢 product catalog adds exactly two of the right variant 8.9s
🟢 gestures: long-press, then swipe left 8.0s
🟢 gestures: double-tap completes the flow 9.8s
🟢 sticky chrome: accept below the fold, then continue 11.0s
🟢 async states: load, pull to refresh, claim through the toast 12.1s
🟢 huge virtualized list reaches row 512 1m 52s
🟢 tests/flows.e2e.ts · 7 passed 56.7s
🟢 text inputs unlock the submit button 6.4s
🟢 filled text inputs report their values 6.4s
🟢 modal flow confirms through the native alert 10.8s
🟢 bottom tabs act inside the last tab 8.0s
🟢 error recovery retries, then confirms the delete 9.8s
🟢 choice controls place the exact order 6.8s
🟢 debounced search selects the target once results arrive 8.6s
🟢 tests/login-form.e2e.ts · 3 passed 29.5s
🟢 login form › rejects a malformed email 7.7s
🟢 login form › rejects an unknown account 8.1s
🟢 login form › signs in and logs out 13.7s
🟢 tests/smoke.e2e.ts · 1 passed 6.7s
🟢 home lists the scenarios and opens one 6.7s

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

@satya164

Copy link
Copy Markdown
Collaborator Author

Moved to #2116

@satya164 satya164 closed this Nov 23, 2026
@satya164
satya164 deleted the t3/default-visible-locators branch November 23, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e team Opened by the e2e team size: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.

1 participant