Skip to content

feat(web): read range widgets in toHaveValue (ENG-1259) - #2242

Merged
KrzysztofMoch merged 8 commits into
mainfrom
takeover/expect-have-value-widgets
Nov 25, 2026
Merged

KrzysztofMoch merged 8 commits into
mainfrom
takeover/expect-have-value-widgets

Conversation

@KrzysztofMoch

@KrzysztofMoch KrzysztofMoch commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

What

expect(locator).toHaveValue and locator.inputValue() read ARIA range widgets on the web: a slider, spinbutton, progressbar, meter, or scrollbar that is not a native form control reads its aria-valuetext, else its aria-valuenow. A native <progress> or <meter> with a value attribute reads the browser's own clamped .value.

await expect(screen.getByRole('slider', { name: 'Volume' })).toHaveValue('50');
await expect(screen.getByRole('progressbar', { name: 'Download' })).toHaveValue('7');

Why

The web reader set a node's value only on native form controls, so toHaveValue('50') on <div role="slider" aria-valuenow="50"> failed with observed: value "". Mobile already reports these values. Playwright's toHaveValue and inputValue() throw Not an input element on these nodes, so reading a value turns a throw into a passing assertion and changes no migrated test. inputValue() diverging from Playwright here is deliberate (maintainer decision): it reads what toHaveValue compares, as it already does on mobile.

This takes over #2061 by @Asheesh7298, rebased onto main, with the last review round addressed. Their commits are kept as they wrote them.

How it works

  1. A locator read describes a range-role element that is not a form control or an editor through rangeValueOf (packages/web/src/in-page/read-semantics.ts:664). A blank ARIA value counts as none.
  2. Without an ARIA value, a <progress> or <meter> in the HTML namespace with a value attribute reads through HTMLProgressElement.prototype / HTMLMeterElement.prototype's built-in getter. A customized built-in (<progress is>) that overrides value never runs, an element adopted from another frame still reads, and each browser parses the attribute its own way (Firefox reads value="70%" as 0, Chromium as 70). This replaces feat(web): read range widgets in toHaveValue #2061's hand-written attribute parser, as the last review asked.
  3. A slider or spinbutton with no value reads '', as before. Any other widget with none (an indeterminate <progress>, a <meter> with no value attribute, a stray value attribute on a div, a <progress> inside <svg>) has no value and fails with no value (not a form control).
  4. Form controls adopted from another frame skip the range branch by tag (read-semantics.ts:1779), so they read as on main.
  5. Only the locator projection reads the value (rangeValue: true). The tree projection keeps rangeValue: false, so model input, replay cache evidence, and committed recordings do not change. Main's toBeEmpty field emptyState sits beside it; web toBeEmpty reads emptyOf, not value, so a valued slider is still empty, as in Playwright.
  6. Docs: reference/expect.mdx, reference/screen.mdx, the Detox guide (an Android text view whose value repeats its label uses toHaveText), and the writing-tests skill line. Changeset: @e2e-dev/web patch.

Trust boundary: the reader runs in the page's main world. A page that redefines HTMLProgressElement.prototype.value itself is read through, the same as HTMLInputElement.prototype.value is for inputs on main.

Issue

Part of #1855 (expect(locator).toHaveValue('On')). Replaces #2061.

Verified

Ran it locally: yes

  • packages/e2e/tests/integration/to-have-value-widgets.test.ts runs the built CLI against a real Chromium page: every range role, aria-valuetext over aria-valuenow, blank values, the native clamps, the refused cases, a throwing customized built-in next to an unrelated getByLabel('Email', { exact: true }), and controls adopted from another frame. Passes. Removing the HTML-namespace check fails it with Illegal invocation.
  • Firefox, through the built CLI with web({ browser: 'firefox' }), comparing inputValue() with the page's own document.querySelector('progress').value:
<progress> Firefox .value #2061 head (attribute parser) this PR
value="70%" max="100" 0 70 0
value="5 " max="10" 0 5 0
value="20" max="10" 10 10 10

Chromium reads 70, 5, 10 on both. WebKit not run.

  • @e2e-dev/web read-node-checked.test.ts and crosscheck.test.ts, mobile locate.test.ts, e2e scripted-matchers, scripted-reads, and web-platform pass. pnpm check passes.
  • Not run on a device: no mobile source changed.

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

Co-authored-by: Asheesh Kumar asheeshkumarklg712@gmail.com


Takeover and follow-up by Claude Opus 5.5 (claude-opus-5-5) in Claude Code on T3 Code.

Asheesh7298 and others added 8 commits November 25, 2026 10:22
The web reader set a value only on native form controls, so toHaveValue
could not read an ARIA slider, spinbutton, progressbar, meter, or scrollbar,
or a native progress or meter. A locator read now gives them aria-valuetext,
else aria-valuenow, else the value attribute. The agent tree is unchanged.

Part of #1855.
… the docs

A generic element with a range role but no aria-valuenow/aria-valuetext no
longer reads a stray value attribute; only a native progress or meter reads
a non-aria value, as Chrome reports. The docs qualify the clamp to valued
progress/meter, note an indeterminate progress is refused, name the
Playwright inputValue throw, and drop a verb-less fragment. Adds scrollbar
and indeterminate-progress tests.
…e case

A progress or meter adopted from another frame keeps that frame's prototype,
so instanceof missed it. The read now goes by tag. The indeterminate progress
gets its own expected-failure test, since the assertion after a failing one
never ran, and the comment says only the native clamp follows Chrome.
Replaces the hand-written float parser and clamps with the prototype's
own value getter, so a <progress> or <meter> reads what the browser
parses (Firefox and WebKit differ from Chromium on trailing text and
overflow) while a customized built-in's override still never runs.
An element outside the HTML namespace is refused, since the HTML
getter throws on it.
@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 25, 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 618ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 482ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 136ms
🟢 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 296ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 167ms
🟢 canvas only › a shape out of order paints the error and resets progress 129ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 425ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 241ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 184ms
🟢 tests/cart-totals.e2e.ts · 2 passed 405ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 239ms
🟢 cart totals › a quantity never drops below one 166ms
🟢 tests/checkout-review.e2e.ts · 1 passed 179ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 179ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 630ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 323ms
🟢 context menu trap › the decoy menu items refuse and keep the file 307ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.7s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 317ms
🟢 control inventory › check picks a radio the pick replaces with its summary 215ms
🟢 control inventory › a long press and a double click are told apart from a tap 1.1s
🟢 control inventory › the file menu opens on right-click only and Rename renames the file 254ms
🟢 control inventory › setInputFiles attaches files named from the project root 145ms
🟢 control inventory › the details view is left through the browser history 164ms
🟢 control inventory › scrollIntoView brings the footnote into view 186ms
🟢 control inventory › every exercise done shows the success message 1.3s
🟢 tests/css-content-ui.e2e.ts · 2 passed 385ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 223ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 162ms
🟢 tests/date-picker.e2e.ts · 2 passed 711ms
🟢 date picker › navigates three months ahead and books the required date 393ms
🟢 date picker › confirming without the exact date shows the error 318ms
🟢 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.0s
🟢 one submit opens one confirm, even when double-clicked 1.0s
🟢 tests/div-soup.e2e.ts · 2 passed 595ms
🟢 div soup › a wrong code is rejected 260ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 335ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 679ms
🟢 drag and drop › an out-of-order item resets the dropzone 333ms
🟢 drag and drop › dropping Banana then Cherry passes 346ms
🟢 tests/file-round-trip.e2e.ts · 2 passed 333ms
🟢 file round trip › downloads the issued voucher and verifies the same file uploaded back 168ms
🟢 file round trip › rejects a file that is not the voucher, then accepts the issued one 165ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 250ms
🟢 filter deep link › filtering writes the query to the URL 142ms
🟢 filter deep link › opening a shared link restores the filter 108ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 636ms
🟢 gift card purchase › refuses to buy without an amount 151ms
🟢 gift card purchase › refuses a recipient without an at sign 229ms
🟢 gift card purchase › sends the gift card 256ms
🟢 tests/hover-menu.e2e.ts · 2 passed 494ms
🟢 hover menu › a decoy leaf is refused 197ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 297ms
🟢 tests/iframe-form.e2e.ts · 2 passed 624ms
🟢 iframe form › a wrong code is refused by the host page 296ms
🟢 iframe form › the code read from one frame applies through the other 328ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 447ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 108ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 143ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 196ms
🟢 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 736ms
🟢 kanban board › pointer drags move both cards into the goal layout 381ms
🟢 kanban board › a swipe along a path drags a card as well 138ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 217ms
🟢 tests/login-form.e2e.ts · 4 passed 828ms
🟢 login form › rejects a malformed email 196ms
🟢 login form › rejects a short password 185ms
🟢 login form › rejects an unknown account 201ms
🟢 login form › signs in and logs out 246ms
🟢 tests/lying-labels.e2e.ts · 4 passed 733ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 150ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 102ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 232ms
🟢 lying labels › visible text drives the payment through 249ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 480ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 181ms
🟢 native dialogs › dismissing the confirm cancels the order 150ms
🟢 native dialogs › a wrong gift code is rejected 149ms
🟢 tests/new-tab-flow.e2e.ts · 2 passed 465ms
🟢 new tab flow › reads the code in the tab the app opens and enters it back in the original tab 227ms
🟢 new tab flow › a tap that opens a tab leaves the screen on the original tab, and activate shows the new one 238ms
🟢 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 5.3s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 306ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 404ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.4s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.5s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 1.7s
🟢 tests/order-history.e2e.ts · 2 passed 1.4s
🟢 order history › overview and settings render their panels 207ms
🟢 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 491ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 156ms
🟢 otp auto-advance › a wrong code clears every box and starts over 776ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 641ms
🟢 continues only after the banner and the overlay are gone 641ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 581ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 301ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 280ms
🟢 tests/price-sorting.e2e.ts · 3 passed 415ms
🟢 price sorting › opens in the featured order with sale prices struck through 116ms
🟢 price sorting › low to high sorts by the original price, not the paid one (planted bug) 141ms
🟢 price sorting › high to low is the same wrong order reversed (planted bug) 158ms
🟢 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 464ms
🟢 rich text editor › bolding exactly the required word passes the check 230ms
🟢 rich text editor › bold that spills into the previous word fails the check 234ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 649ms
🟢 saved addresses › adds an address and clears the form 208ms
🟢 saved addresses › ignores an add with an empty field 214ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 227ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 415ms
🟢 shadow DOM form › rejects a wrong access code 202ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 213ms
🟢 tests/smoke.e2e.ts · 1 passed 276ms
🟢 home lists the scenarios and opens one 276ms
🟢 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 209ms
🟢 accepts the terms once the button clears the sticky footer 209ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 14.9s
🟢 scrolls the windowed table to the Golden Row and claims it 14.9s
🟢 tests/wishlist.e2e.ts · 2 passed 1.6s
🟢 wishlist › saving toggles the button and the tab badge 292ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.3s

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 34 passed

36 agent steps · 26 replayed from cache · 26 model calls · 135.0k tokens (93% cached) · $0.0060

All 34 tests in 5 files
Test Agent Time
🟢 tests-agent/control-inventory.e2e.ts · 7 passed 7 steps 7.4s
🟢 control inventory › check sets the checkbox and the radio 1 step 689ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 256ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 898ms
🟢 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 308ms
🟢 control inventory › scroll_to brings the footnote into view 1 step 395ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 414ms
🟢 act signs in with the benchmark account 1 step 414ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 5 steps · 9 calls 15.7s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 7.3s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.4s
🟢 wishlist: a judgment catches the lost saved items 2 steps · 4 calls 7.0s
🟢 tests-agent/scenarios.e2e.ts · 22 passed 22 steps · 17 calls 1m 12s
🟢 act completes shadow-dom-form 1 step · 3 calls 3.4s
🟢 act completes lying-labels 1 step · 3 calls 4.0s
🟢 act completes iframe-form 1 step · 3 calls 3.9s
🟢 act completes infinite-scroll 1 step 3.3s
🟢 act completes virtualized-table 1 step 17.6s
🟢 act completes overlay-trap 1 step 843ms
🟢 act completes sticky-chrome 1 step 927ms
🟢 act completes async-states 1 step · 3 calls 7.0s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 520ms
🟢 act completes drag-and-drop 1 step 465ms
🟢 act completes kanban-board 1 step 628ms
🟢 act completes context-menu-trap 1 step 2.6s
🟢 act completes stale-dom 1 step 489ms
🟢 act completes otp-auto-advance 1 step 707ms
🟢 act completes date-picker 1 step 826ms
🟢 act completes rich-text-editor 1 step 10.0s
🟢 act completes playbook-cleanup 1 step 570ms
🟢 act completes promo-storefront 1 step 1.3s
🟢 act completes new-tab-flow 1 step · 5 calls 7.9s
🟢 act completes gift-card-purchase 1 step 2.4s
🟢 act filters the list and the URL carries the filter 1 step 216ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 292ms
🟢 act adds an address with a run-unique label 1 step 292ms

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

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 20 passed

24 agent steps · 15 replayed from cache · 36 model calls · 218.1k tokens (79% cached) · $0.0165

All 20 tests in 1 file
Test Agent Time
🟢 tests-agent/scenarios.e2e.ts · 20 passed 24 steps · 36 calls 5m 13s
🟢 act completes Login Form 1 step 20.3s
🟢 act completes Infinite Scroll List 1 step 19.5s
🟢 act completes Modal Flow 1 step 9.0s
🟢 act completes Bottom Tabs 1 step 6.0s
🟢 act completes Text Input Variations 1 step 5.8s
🟢 act completes Broken Accessibility 2 steps · 5 calls 12.4s
🟢 act completes Vision Only 2 steps · 1 call 5.7s
🟢 act completes Gestures 1 step · 9 calls 20.7s
🟢 act completes Async States 1 step · 9 calls 17.2s
🟢 act completes Debounced Search 1 step 6.4s
🟢 act completes Huge Virtualized List 1 step 1m 47s
🟢 act completes Flattened Registration Form 2 steps · 1 call 7.6s
🟢 act completes Flattened Login 2 steps · 7 calls 14.6s
🟢 act completes Sticky Chrome Target 1 step 8.5s
🟢 act completes WebView Accessibility 1 step · 4 calls 11.8s
🟢 act completes Permission Prompt 1 step 6.0s
🟢 act completes Product Catalog 1 step 7.9s
🟢 act completes Error Recovery 1 step 8.8s
🟢 act completes Choice Controls 1 step 8.1s
🟢 act completes Sequential Onboarding 1 step 9.5s

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

@github-actions

Copy link
Copy Markdown
Contributor

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

⚠️ 1 flaky test passed on a retry

⚠️ device fixture › the clipboard reads back what was written
tests/device-fixture.e2e.ts:60

ASSERTION_FAILED

expected "" to be "e2e clipboard 1795598844917"

  • Screen: dev.e2e.benchmark / Control Inventory

Evidence: screenshot, log

All 63 tests in 7 files
Test Time
⚠️ tests/device-fixture.e2e.ts · 1 flaky, 13 passed 2m 0s
🟢 device fixture › setAppearance flips the color scheme the app reads 14.3s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 7.4s
⚠️ device fixture › the clipboard reads back what was written (1 failed attempt first) 5.4s
🟢 device fixture › home leaves the app, openApp brings it back where it was 6.8s
🟢 device fixture › closeApp then openApp relaunches on the home list 8.1s
🟢 device fixture › closeApp leaves the next commands on the same device 12.1s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 5.8s
🟢 device fixture › openLink opens the scenario a deep link names 13.2s
🟢 device fixture › isAppInstalled finds the app under test and no app that is absent 6.8s
🟢 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.3s
🟢 device fixture › setLocation and clearLocation change what the app reads 9.9s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 10.1s
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 3m 0s
🟢 control inventory › a label query resolves a labeled text field 12.1s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 13.5s
🟢 control inventory › a placeholder query and attribute reads find the field 4.9s
🟢 control inventory › a secure field takes a fill and denies value reads 7.5s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.2s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 9.5s
🟢 control inventory › toBeFocused follows the focus 8.5s
🟢 control inventory › a switch checks, unchecks, and reports its state 9.6s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.4s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 12.9s
🟢 control inventory › a radio group reports the checked option 8.6s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.4s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.0s
🟢 control inventory › a header answers its accessible name 4.3s
🟢 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.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.2s
🟢 control inventory › tap({ count: 3 }) lands three presses 8.1s
🟢 control inventory › pointer verbs land at the point asked for 8.9s
🟢 control inventory › an ambiguous locator fails at once 5.5s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 12.2s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 185ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device.e2e.ts · 6 passed 1m 9s
🟢 permissions all grants the microphone without a system dialog 11.4s
🟢 sequential onboarding echoes the exact values 24.6s
🟢 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.8s
🟢 dismissing the keyboard over choice controls leaves them as they were 10.7s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 57s
🟢 infinite scroll reaches the target item 34.5s
🟢 product catalog adds exactly two of the right variant 10.0s
🟢 gestures: long-press, then swipe left 8.5s
🟢 sticky chrome: accept below the fold, then continue 12.4s
🟢 async states: load, pull to refresh, claim through the toast 12.6s
🟢 huge virtualized list reaches row 512 2m 26s
🟢 web view coupon form applies the code shown on the page 12.5s
🟢 tests/flows.e2e.ts · 7 passed 1m 8s
🟢 text inputs unlock the submit button 12.3s
🟢 filled text inputs report their values 10.6s
🟢 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.3s
🟢 choice controls place the exact order 7.4s
🟢 debounced search selects the target once results arrive 11.1s
🟢 tests/login-form.e2e.ts · 3 passed 46.1s
🟢 login form › rejects a malformed email 13.1s
🟢 login form › rejects an unknown account 13.1s
🟢 login form › signs in and logs out 19.8s
🟢 tests/smoke.e2e.ts · 1 passed 8.9s
🟢 home lists the scenarios and opens one 8.9s

Tested by e2e 0.24.0 · 6m 59s · 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 48s
🟢 control inventory › a label query resolves a labeled text field 20.4s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 11.1s
🟢 control inventory › a placeholder query and attribute reads find the field 5.5s
🟢 control inventory › a secure field takes a fill and denies value reads 6.6s
🟢 control inventory › press sends a character and Enter through the soft keyboard 8.4s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.5s
🟢 control inventory › toBeFocused follows the focus 7.9s
🟢 control inventory › a switch checks, unchecks, and reports its state 9.2s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 7.0s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 10.1s
🟢 control inventory › a tab role answers getByRole 4.1s
🟢 control inventory › a radio group reports the checked option 7.4s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.6s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 6.3s
🟢 control inventory › a header answers its accessible name 3.9s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 5.0s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 5.4s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 7.1s
🟢 control inventory › a double tap lands inside the 300 ms window 6.7s
🟢 control inventory › tap({ count: 3 }) lands three presses 5.9s
🟢 control inventory › an ambiguous locator fails at once 5.0s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 6.8s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.2s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 13 passed 1m 28s
🟢 device fixture › setOrientation rotates the window and viewport dimensions 5.2s
🟢 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.1s
🟢 device fixture › closeApp then openApp relaunches on the home list 6.6s
🟢 device fixture › closeApp leaves the next commands on the same device 6.6s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.3s
🟢 device fixture › openLink opens the scenario a deep link names 4.5s
🟢 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 7.3s
🟢 device fixture › device.back pops the scenario 4.2s
🟢 device fixture › unstable_raw reaches the test session through the raw driver 3.1s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 15.3s
🟢 device fixture › setLocation and clearLocation change what the app reads 18.7s
🟢 tests/device.e2e.ts · 7 passed 50.3s
🟢 permission prompt › allowing the system dialog enables the microphone 6.0s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 11.8s
🟢 permissions all grants the microphone without a system dialog 6.8s
🟢 sequential onboarding echoes the exact values 9.5s
🟢 a shake is sent without an error and leaves the screen readable 4.4s
🟢 onboarding rejects a malformed email before advancing 5.4s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.3s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 3s
🟢 infinite scroll reaches the target item 27.2s
🟢 product catalog adds exactly two of the right variant 8.2s
🟢 gestures: long-press, then swipe left 7.7s
🟢 gestures: double-tap completes the flow 9.1s
🟢 sticky chrome: accept below the fold, then continue 10.5s
🟢 async states: load, pull to refresh, claim through the toast 11.6s
🟢 huge virtualized list reaches row 512 1m 49s
🟢 tests/flows.e2e.ts · 7 passed 48.0s
🟢 text inputs unlock the submit button 5.8s
🟢 filled text inputs report their values 5.2s
🟢 modal flow confirms through the native alert 8.5s
🟢 bottom tabs act inside the last tab 6.4s
🟢 error recovery retries, then confirms the delete 8.3s
🟢 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.9s
🟢 login form › rejects a malformed email 6.8s
🟢 login form › rejects an unknown account 7.1s
🟢 login form › signs in and logs out 12.0s
🟢 tests/smoke.e2e.ts · 1 passed 5.1s
🟢 home lists the scenarios and opens one 5.1s

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

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 1 flaky, 20 passed, 1 skipped

25 agent steps · 11 replayed from cache · 66 model calls · 650.1k tokens (84% cached) · $0.0428

⚠️ 1 flaky test 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 1m 11s and 14 model calls

agent.act failed: Long-pressed the first target and swiped the card left, reaching Step 3 of 3. Double-tap attempts on the last target did not advance or otherwise change the screen; it remains on “Double-tap the button below.”

  • Failed the same way on 2 attempts: ASSERTION_FAILED at step 4. The retry that passed is the exception.
  • Turn 11: tap({"target":"n5979"}) → [tap] Tapped #n5979.
  • Turn 12: tap_at({"x":177,"y":464}), tap_at({"x":177,"y":464}) → [tap_at] Tapped the point (202, 528); no listed control is there (under it: #n6015 other "Double-tap me" testid="double-tap-target").
  • Turn 13: double_tap({"target":"n6087"}) → [double_tap] Double-tapped #n6087.
  • Screen: dev.e2e.benchmark / Gestures

Evidence: screenshot, log

All 22 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 1 flaky, 20 passed, 1 skipped 25 steps · 66 calls 8m 41s
🟢 act completes Login Form 1 step · 6 calls 1m 10s
🟢 act completes Infinite Scroll List 1 step 37.5s
🟢 act completes Modal Flow 1 step 9.9s
🟢 act completes Bottom Tabs 1 step 7.3s
🟢 act completes Text Input Variations 1 step 12.6s
🟢 act completes Broken Accessibility 2 steps · 6 calls 22.1s
🟢 act completes Vision Only 2 steps · 6 calls 24.4s
⚠️ act completes Gestures (2 failed attempts first) 1 step · 12 calls 54.3s
🟢 act completes Async States 1 step · 7 calls 21.0s
🟢 act completes Debounced Search 1 step · 1 call 28.2s
🟢 act completes Flattened Registration Form 2 steps · 1 call 25.4s
🟢 act completes Flattened Login 2 steps · 10 calls 48.6s
🟢 act completes Sticky Chrome Target 1 step 13.0s
🟢 act completes WebView Accessibility 1 step 11.5s
🟢 act completes Permission Prompt 1 step 11.9s
🟢 act completes Photo Picker 1 step · 2 calls 29.1s
🟢 act completes Product Catalog 1 step 10.4s
🟢 act completes Error Recovery 1 step 10.5s
🟢 act completes Choice Controls 1 step · 6 calls 33.1s
🟢 act completes Stripe PaymentSheet 1 step · 9 calls 29.1s
🟢 act completes Apple Pay 1 step 10.7s
⏭️ 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 · 10m 50s · 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
@KrzysztofMoch

Copy link
Copy Markdown
Member Author

[claude-opus-5-5] responding on behalf of @KrzysztofMoch

Green and labeled. Four things need a human:

  • feat(web): read range widgets in toHaveValue #2061 is still open. I left it alone. Close it in favor of this one when you agree.
  • The open maintainer decision from feat(web): read range widgets in toHaveValue #2061 carries over: locator.inputValue() now returns a range widget's value, where Playwright's throws Not an input element. The last review there recommended accepting it.
  • iOS agentic reported act completes Gestures failed on both attempts: the model's double-tap on the last target did not advance the screen. The job and mobile gate are green, this PR changes no mobile or core runtime code, and the same suite passed on another PR's run at the same time. I did not rerun it.
  • WebKit was not run. Chromium and Firefox were (table under ## Verified).

@KrzysztofMoch
KrzysztofMoch added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit ee915ed Nov 25, 2026
44 checks passed
@KrzysztofMoch
KrzysztofMoch deleted the takeover/expect-have-value-widgets branch November 25, 2026 09:52
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:M Up to 99 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants