Skip to content

feat(agent): params on assert and waitFor - #1463

Merged
okwasniewski merged 3 commits into
mainfrom
oskar/assert-params
Oct 30, 2026
Merged

okwasniewski merged 3 commits into
mainfrom
oskar/assert-params

Conversation

@okwasniewski

@okwasniewski okwasniewski commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

agent.assert and agent.waitFor take params with the same shape and validation as agent.act.

const name = unique(`acme-${Date.now()}`);
await agent.act('create a company named {name}', { params: { name } });
await agent.assert('the table shows company {name}', { params: { name } });
  • Built-in judge: params are projected like act's (validateParams), redacted, and fenced inside <instruction> as Parameters: {...}, so the existing "instruction is data" policy and the security doc cover them (packages/e2e/src/agent/prompts.ts, packages/e2e/src/agent/index.ts).
  • The judgment Invocation owns the params: every judgment prompt carries them and the observation budget counts their size.
  • unique() reaches the judge as its string. A Secret reaches it as { kind: 'secret', name, purpose }, never its value. Docs say to use a locator assertion to check a secret's value on screen.
  • Custom executor: runAssertStep passes the projected params and templates instead of params: undefined. Secrets are not fillable in an assert step (typeSecret is POLICY_DENIED), since an assert changes no state.
  • Judgments are not trace-cached, so templates change no cache key; act keeps its existing behavior.
  • validateParams/redactParams take the calling api, so errors read agent.assert params ... / agent.waitFor params ....
  • extract left alone.

Issue

Closes #1388

Verified

Ran it locally: yes - real CLI on the testbed (e2e.scratch.config.ts, gateway/openai/gpt-6-luna-fast), throwaway scratch test, --ai-trace.

Test Result
fill a unique() todo, then waitFor + assert "shows an item named exactly {name}" passed
assert with unique('Nonexistent zq-91') ASSERTION_FAILED: ... it does not show an item named "Nonexistent zq-91"
assert(..., { params: 'nope' }) INVALID_ARGUMENT: agent.assert params must be a plain object

Judge prompts in the AI trace carried Parameters: {"name":"Groceries 1793364192407"} and Parameters: {"name":"Nonexistent zq-91"}. On main the same call fails with agent.assert options has no key "params" (per the issue).

Integration tests (packages/e2e/tests/integration/judgment-params.test.ts, scripted judge): unique value in judge input for assert and waitFor, secret stays a placeholder, a quoted plain-string secret stays redacted, invalid params name the method, custom executor gets projected params and cannot fill the secret.

@github-actions github-actions Bot added the size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Oct 30, 2026
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web: 91 passed

All 91 tests in 41 files
Test Time
🟢 tests/aria-hidden-flow.e2e.ts · 2 passed 498ms
🟢 aria hidden flow › picks the Pro plan by its visible text and confirms it 344ms
🟢 aria hidden flow › another plan shows the error and keeps the picker open 154ms
🟢 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 266ms
🟢 canvas only › taps square, circle, then diamond at their pixel coordinates 140ms
🟢 canvas only › a shape out of order paints the error and resets progress 126ms
🟢 tests/canvas-whiteboard.e2e.ts · 2 passed 355ms
🟢 canvas whiteboard › drags both shapes into their slots and saves 204ms
🟢 canvas whiteboard › bounces a shape off the wrong slot and refuses to save early 151ms
🟢 tests/cart-totals.e2e.ts · 2 passed 427ms
🟢 cart totals › increasing a quantity updates the line total but the order summary stays stale (planted bug) 246ms
🟢 cart totals › a quantity never drops below one 181ms
🟢 tests/checkout-review.e2e.ts · 1 passed 178ms
🟢 shows a raw greeting token and an undefined delivery date (planted bug), yet places the order 178ms
🟢 tests/context-menu-trap.e2e.ts · 2 passed 610ms
🟢 context menu trap › right-click opens nothing; the row menu renames the file 350ms
🟢 context menu trap › the decoy menu items refuse and keep the file 260ms
🟢 tests/control-inventory.e2e.ts · 8 passed 3.8s
🟢 control inventory › check sets the checkbox and the radio without flipping a set one 291ms
🟢 control inventory › check picks a radio the pick replaces with its summary 188ms
🟢 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 290ms
🟢 control inventory › setInputFiles attaches files named from the project root 156ms
🟢 control inventory › the details view is left through the browser history 170ms
🟢 control inventory › scrollIntoView brings the footnote into view 251ms
🟢 control inventory › every exercise done shows the success message 1.4s
🟢 tests/css-content-ui.e2e.ts · 2 passed 314ms
🟢 css content ui › the tile labelled Ship it advances and confirming ships 176ms
🟢 css content ui › a wrong tile shows the CSS-rendered error and keeps the picker 138ms
🟢 tests/date-picker.e2e.ts · 2 passed 642ms
🟢 date picker › navigates three months ahead and books the required date 377ms
🟢 date picker › confirming without the exact date shows the error 265ms
🟢 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 682ms
🟢 div soup › a wrong code is rejected 302ms
🟢 div soup › the right code grants access after the delete tile fixes a typo 380ms
🟢 tests/drag-and-drop.e2e.ts · 2 passed 630ms
🟢 drag and drop › an out-of-order item resets the dropzone 314ms
🟢 drag and drop › dropping Banana then Cherry passes 316ms
🟢 tests/filter-deep-link.e2e.ts · 2 passed 241ms
🟢 filter deep link › filtering writes the query to the URL 136ms
🟢 filter deep link › opening a shared link restores the filter 105ms
🟢 tests/gift-card-purchase.e2e.ts · 3 passed 573ms
🟢 gift card purchase › refuses to buy without an amount 177ms
🟢 gift card purchase › refuses a recipient without an at sign 195ms
🟢 gift card purchase › sends the gift card 201ms
🟢 tests/hover-menu.e2e.ts · 2 passed 466ms
🟢 hover menu › a decoy leaf is refused 200ms
🟢 hover menu › hovering Account, then Billing, reaches Redeem voucher 266ms
🟢 tests/iframe-form.e2e.ts · 2 passed 524ms
🟢 iframe form › a wrong code is refused by the host page 261ms
🟢 iframe form › the code read from one frame applies through the other 263ms
🟢 tests/image-only-ui.e2e.ts · 3 passed 469ms
🟢 image only ui › the icons have no names, so the bare svg locator is ambiguous 123ms
🟢 image only ui › a wrong icon shows the error image and keeps the icons 167ms
🟢 image only ui › tapping the star, then the heart, verifies the icons 179ms
🟢 tests/infinite-scroll.e2e.ts · 1 passed 3.0s
🟢 scrolls the feed until the Golden Ticket loads, then claims it 3.0s
🟢 tests/kanban-board.e2e.ts · 3 passed 747ms
🟢 kanban board › pointer drags move both cards into the goal layout 399ms
🟢 kanban board › a swipe along a path drags a card as well 150ms
🟢 kanban board › a plain tap moves nothing and the untouched board is rejected 198ms
🟢 tests/login-form.e2e.ts · 4 passed 766ms
🟢 login form › rejects a malformed email 181ms
🟢 login form › rejects a short password 169ms
🟢 login form › rejects an unknown account 182ms
🟢 login form › signs in and logs out 234ms
🟢 tests/lying-labels.e2e.ts · 4 passed 662ms
🟢 lying labels › the button whose accessible name says Pay now is the wrong one 152ms
🟢 lying labels › a text match for Pay now catches the decoy phrase too 105ms
🟢 lying labels › the field whose accessible name says Amount is the wrong one 189ms
🟢 lying labels › visible text drives the payment through 216ms
🟢 tests/native-dialogs.e2e.ts · 3 passed 468ms
🟢 native dialogs › answers the confirm, prompt, and alert chain 170ms
🟢 native dialogs › dismissing the confirm cancels the order 147ms
🟢 native dialogs › a wrong gift code is rejected 151ms
🟢 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.5s
🟢 onboarding wizard › back keeps what was typed and the brief comes back with it 295ms
🟢 onboarding wizard › the address step takes the brief through its bare-div dropdown 353ms
🟢 onboarding wizard › the profile step steers the calendar three decades back 1.5s
🟢 onboarding wizard › the preferences step flips the toggles the brief names and leaves the trap off 1.7s
🟢 onboarding wizard › the review step repeats the brief and finishes with the PIN 1.6s
🟢 tests/order-history.e2e.ts · 2 passed 1.4s
🟢 order history › overview and settings render their panels 213ms
🟢 order history › the orders tab never leaves its loading state (planted bug) 1.2s
🟢 tests/otp-auto-advance.e2e.ts · 3 passed 1.5s
🟢 otp auto-advance › focus advances with each digit and the full code verifies 500ms
🟢 otp auto-advance › backspace on an empty box clears and refocuses the previous one 161ms
🟢 otp auto-advance › a wrong code clears every box and starts over 810ms
🟢 tests/overlay-trap.e2e.ts · 1 passed 658ms
🟢 continues only after the banner and the overlay are gone 658ms
🟢 tests/playbook-cleanup.e2e.ts · 2 passed 603ms
🟢 playbook cleanup › deleting the draft removes it from an exact-name search 304ms
🟢 playbook cleanup › cancelling the dialog keeps the draft searchable 299ms
🟢 tests/price-sorting.e2e.ts · 3 passed 427ms
🟢 price sorting › opens in the featured order with sale prices struck through 124ms
🟢 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) 162ms
🟢 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.3s
🟢 buys a deal once the promo chrome is out of the way 1.3s
🟢 tests/rich-text-editor.e2e.ts · 2 passed 474ms
🟢 rich text editor › bolding exactly the required word passes the check 225ms
🟢 rich text editor › bold that spills into the previous word fails the check 249ms
🟢 tests/saved-addresses.e2e.ts · 3 passed 564ms
🟢 saved addresses › adds an address and clears the form 189ms
🟢 saved addresses › ignores an add with an empty field 177ms
🟢 saved addresses › delete shows its toast but keeps the address, on retry too (planted bug) 198ms
🟢 tests/shadow-dom-form.e2e.ts · 2 passed 548ms
🟢 shadow DOM form › rejects a wrong access code 284ms
🟢 shadow DOM form › grants access with the code from the hint inside the root 264ms
🟢 tests/smoke.e2e.ts · 1 passed 443ms
🟢 home lists the scenarios and opens one 443ms
🟢 tests/stale-dom.e2e.ts · 1 passed 2.1s
🟢 taps the moving target three times across rebuilds of the list 2.1s
🟢 tests/sticky-chrome.e2e.ts · 1 passed 202ms
🟢 accepts the terms once the button clears the sticky footer 202ms
🟢 tests/virtualized-table.e2e.ts · 1 passed 19.3s
🟢 scrolls the windowed table to the Golden Row and claims it 19.3s
🟢 tests/wishlist.e2e.ts · 2 passed 1.6s
🟢 wishlist › saving toggles the button and the tab badge 272ms
🟢 wishlist › the wishlist tab renders the empty state despite the badge count (planted bug) 1.3s

e2e 0.21.3 · 1m 8s · web · run artifacts

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e web agent: 33 passed

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

All 33 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 527ms
🟢 control inventory › check picks a radio the pick replaces with its summary 1 step 272ms
🟢 control inventory › a long press and a double click are chosen over a plain tap 1 step 933ms
🟢 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.4s
🟢 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 377ms
🟢 tests-agent/login-form.e2e.ts · 1 passed 1 step 343ms
🟢 act signs in with the benchmark account 1 step 343ms
🟢 tests-agent/planted-bugs.e2e.ts · 3 passed 4 steps · 8 calls 11.9s
🟢 cart totals: a judgment catches the stale order summary 2 steps · 4 calls 6.4s
🟢 checkout review: a judgment catches the broken copy 1 step · 1 call 1.6s
🟢 wishlist: a judgment catches the lost saved items 1 step · 3 calls 3.9s
🟢 tests-agent/scenarios.e2e.ts · 21 passed 21 steps · 12 calls 1m 42s
🟢 act completes shadow-dom-form 1 step · 3 calls 4.4s
🟢 act completes lying-labels 1 step · 3 calls 4.8s
🟢 act completes iframe-form 1 step · 3 calls 3.9s
🟢 act completes infinite-scroll 1 step 5.0s
🟢 act completes virtualized-table 1 step 51.7s
🟢 act completes overlay-trap 1 step 827ms
🟢 act completes sticky-chrome 1 step 845ms
🟢 act completes async-states 1 step · 3 calls 6.8s
🟢 act completes debounced-search 1 step 2.3s
🟢 act completes hover-menu 1 step 463ms
🟢 act completes drag-and-drop 1 step 424ms
🟢 act completes kanban-board 1 step 638ms
🟢 act completes context-menu-trap 1 step 2.6s
🟢 act completes stale-dom 1 step 451ms
🟢 act completes otp-auto-advance 1 step 697ms
🟢 act completes date-picker 1 step 816ms
🟢 act completes rich-text-editor 1 step 10.1s
🟢 act completes playbook-cleanup 1 step 565ms
🟢 act completes promo-storefront 1 step 2.3s
🟢 act completes gift-card-purchase 1 step 2.4s
🟢 act filters the list and the URL carries the filter 1 step 219ms
🟢 tests-agent/unique-cache.e2e.ts · 1 passed 1 step 301ms
🟢 act adds an address with a run-unique label 1 step 301ms

e2e 0.21.3 · 2m 3s · web · run artifacts

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 15 files

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

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

Comment thread packages/e2e/src/agent/prompts.ts Resolved
Comment thread packages/e2e/src/agent/prompts.ts Resolved
Comment thread AGENTS.md Resolved
Comment thread skills/e2e/references/agent.md Resolved
Comment thread docs/reference/agent.mdx Resolved
Comment thread packages/e2e/src/agent/index.ts Resolved
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

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

25 agent steps · 6 replayed from cache · 74 model calls · 615.3k tokens (81% cached) · $0.0445

⚠️ 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 3s and 12 model calls

agent.act failed: The recorded long-press and swipe advanced the scenario to Step 3. I tried the last target with double_tap and two taps, but the screen stayed on “Step 3 of 3” with “Double-tap me,” so completion was not confirmed.

  • Turn 9: double_tap({"target":"n4688"}) → [double_tap] Double-tapped #n4688.
  • Turn 10: tap({"target":"n4724"}) → [tap] Tapped #n4724.
  • Turn 11: tap({"target":"n4760"}) → [tap] Tapped #n4760.
  • 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 · 74 calls 11m 27s
🟢 act completes Login Form 1 step 40.3s
🟢 act completes Infinite Scroll List 1 step · 1 call 44.6s
🟢 act completes Modal Flow 1 step · 1 call 25.7s
🟢 act completes Bottom Tabs 1 step · 1 call 23.8s
🟢 act completes Text Input Variations 1 step · 3 calls 33.1s
🟢 act completes Broken Accessibility 2 steps · 6 calls 25.4s
🟢 act completes Vision Only 2 steps · 6 calls 29.3s
⚠️ act completes Gestures (1 failed attempt first) 1 step · 10 calls 46.6s
🟢 act completes Async States 1 step · 7 calls 25.5s
🟢 act completes Debounced Search 1 step · 1 call 27.6s
🟢 act completes Flattened Registration Form 2 steps · 1 call 28.5s
🟢 act completes Flattened Login 2 steps · 19 calls 1m 51s
🟢 act completes Sticky Chrome Target 1 step · 2 calls 56.2s
🟢 act completes WebView Accessibility 1 step 11.7s
🟢 act completes Permission Prompt 1 step 10.6s
🟢 act completes Photo Picker 1 step · 2 calls 30.2s
🟢 act completes Product Catalog 1 step 9.9s
🟢 act completes Error Recovery 1 step 9.5s
🟢 act completes Choice Controls 1 step · 5 calls 35.6s
🟢 act completes Stripe PaymentSheet 1 step · 8 calls 32.9s
🟢 act completes Apple Pay 1 step · 1 call 29.2s
⏭️ 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)

e2e 0.21.3 · 12m 35s · ios-simulator · run artifacts

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 1 flaky, 19 passed

24 agent steps · 15 replayed from cache · 45 model calls · 82.7k tokens (87% cached) · $0.0050

⚠️ 1 flaky test passed on a retry

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

ACTION_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 31.5s and 12 model calls

agent.act failed: The cached long-press completed, but multiple leftward swipes across the visible “Swipe me left” card did not advance the scenario; it remains on Step 2 of 3.

  • Failed the same way on 2 attempts: ACTION_FAILED at step 4. The retry that passed is the exception.
  • Turn 9: screenshot({}) → [screenshot] The screen changed substantially since revision b12. Current screen (revision b14, path dev.e2e.benchmark, 18 nodes):
  • Turn 10: swipe({"from":{"x":245,"y":460},"to":{"x":80,"y":460}}) → [swipe] Swiped from (245, 460) to (80, 460).
  • Turn 11: screenshot({}) → [screenshot] The screen changed substantially since revision b14. Current screen (revision b16, path dev.e2e.benchmark, 18 nodes):
  • Screen: dev.e2e.benchmark

Evidence: screenshot, log

All 20 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 1 flaky, 19 passed 24 steps · 45 calls 5m 47s
🟢 act completes Login Form 1 step 26.2s
🟢 act completes Infinite Scroll List 1 step 23.1s
🟢 act completes Modal Flow 1 step 10.4s
🟢 act completes Bottom Tabs 1 step 7.7s
🟢 act completes Text Input Variations 1 step 6.8s
🟢 act completes Broken Accessibility 2 steps · 5 calls 16.0s
🟢 act completes Vision Only 2 steps · 1 call 6.7s
⚠️ act completes Gestures (2 failed attempts first) 1 step · 13 calls 40.5s
🟢 act completes Async States 1 step · 14 calls 36.1s
🟢 act completes Debounced Search 1 step 7.3s
🟢 act completes Huge Virtualized List 1 step 1m 6s
🟢 act completes Flattened Registration Form 2 steps · 1 call 8.7s
🟢 act completes Flattened Login 2 steps · 6 calls 19.9s
🟢 act completes Sticky Chrome Target 1 step 7.6s
🟢 act completes WebView Accessibility 1 step · 5 calls 21.6s
🟢 act completes Permission Prompt 1 step 6.8s
🟢 act completes Product Catalog 1 step 8.2s
🟢 act completes Error Recovery 1 step 8.9s
🟢 act completes Choice Controls 1 step 8.6s
🟢 act completes Sequential Onboarding 1 step 9.6s

e2e 0.21.3 · 7m 5s · android-emulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 55 passed, 1 skipped

All 56 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 23 passed, 1 skipped 3m 1s
🟢 control inventory › a label query resolves a labeled text field 12.2s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 16.7s
🟢 control inventory › a placeholder query and attribute reads find the field 4.7s
🟢 control inventory › a secure field takes a fill and denies value reads 8.5s
🟢 control inventory › press sends a character and Enter through the soft keyboard 8.8s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.2s
🟢 control inventory › toBeFocused follows the focus 8.8s
🟢 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.1s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 12.5s
🟢 control inventory › a radio group reports the checked option 9.1s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 8.3s
🟢 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.7s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.7s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 7.0s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 8.7s
🟢 control inventory › pointer verbs land at the point asked for 10.3s
🟢 control inventory › an ambiguous locator fails at once 5.5s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 11.3s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 485ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.2s
🟢 tests/device-fixture.e2e.ts · 11 passed 1m 27s
🟢 device fixture › setAppearance flips the color scheme the app reads 12.6s
🟢 device fixture › setOrientation rotates the window the app measures 9.8s
🟢 device fixture › the clipboard reads back what was written 6.4s
🟢 device fixture › home leaves the app, openApp brings it back where it was 6.3s
🟢 device fixture › closeApp then openApp relaunches on the home list 7.1s
🟢 device fixture › closeApp leaves the next commands on the same device 10.5s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 5.1s
🟢 device fixture › device.back pops the scenario 5.4s
🟢 device fixture › unstable_raw reaches the test session through agent-device 4.2s
🟢 device fixture › setLocation and clearLocation change what the app reads 9.8s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 9.6s
🟢 tests/device.e2e.ts · 3 passed 1m 10s
🟢 sequential onboarding echoes the exact values 42.6s
🟢 onboarding rejects a malformed email before advancing 15.2s
🟢 dismissing the keyboard over choice controls leaves them as they were 12.3s
🟢 tests/flows-lists.e2e.ts · 7 passed 3m 23s
🟢 infinite scroll reaches the target item 26.0s
🟢 product catalog adds exactly two of the right variant 10.1s
🟢 gestures: long-press, then swipe left 9.4s
🟢 sticky chrome: accept below the fold, then continue 10.3s
🟢 async states: load, pull to refresh, claim through the toast 11.8s
🟢 huge virtualized list reaches row 512 2m 2s
🟢 web view coupon form applies the code shown on the page 13.6s
🟢 tests/flows.e2e.ts · 7 passed 1m 11s
🟢 text inputs unlock the submit button 13.7s
🟢 filled text inputs report their values 11.0s
🟢 modal flow confirms through the native alert 9.8s
🟢 bottom tabs act inside the last tab 7.5s
🟢 error recovery retries, then confirms the delete 9.5s
🟢 choice controls place the exact order 7.5s
🟢 debounced search selects the target once results arrive 11.9s
🟢 tests/login-form.e2e.ts · 3 passed 52.9s
🟢 login form › rejects a malformed email 14.2s
🟢 login form › rejects an unknown account 14.5s
🟢 login form › signs in and logs out 24.2s
🟢 tests/smoke.e2e.ts · 1 passed 8.4s
🟢 home lists the scenarios and opens one 8.4s

e2e 0.21.3 · 6m 0s · ios-simulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android: 57 passed, 1 skipped

All 58 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 2m 32s
🟢 control inventory › a label query resolves a labeled text field 19.6s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 10.1s
🟢 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 5.6s
🟢 control inventory › press sends a character and Enter through the soft keyboard 7.1s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 7.3s
🟢 control inventory › toBeFocused follows the focus 6.9s
🟢 control inventory › a switch checks, unchecks, and reports its state 7.8s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 6.9s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 9.9s
🟢 control inventory › a tab role answers getByRole 3.9s
🟢 control inventory › a radio group reports the checked option 7.6s
🟢 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 5.9s
🟢 control inventory › a header answers its accessible name 3.5s
🟢 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.0s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 6.9s
🟢 control inventory › a double tap lands inside the 300 ms window 6.3s
🟢 control inventory › an ambiguous locator fails at once 4.9s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 7.0s
🟢 refusals › verbs a device never declares are refused before the engine 3ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.6s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.0s
🟢 tests/device-fixture.e2e.ts · 10 passed 1m 13s
🟢 device fixture › setOrientation rotates the window the app measures 4.4s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.4s
🟢 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.4s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.2s
🟢 device fixture › device.back pops the scenario 4.4s
🟢 device fixture › unstable_raw reaches the test session through agent-device 3.5s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 14.6s
🟢 device fixture › setLocation and clearLocation change what the app reads 20.4s
🟢 tests/device.e2e.ts · 5 passed 36.9s
🟢 permission prompt › allowing the system dialog enables the microphone 5.2s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 11.5s
🟢 sequential onboarding echoes the exact values 9.1s
🟢 onboarding rejects a malformed email before advancing 5.0s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.1s
🟢 tests/flows-lists.e2e.ts · 7 passed 1m 50s
🟢 infinite scroll reaches the target item 14.8s
🟢 product catalog adds exactly two of the right variant 8.2s
🟢 gestures: long-press, then swipe left 7.8s
🟢 gestures: double-tap completes the flow 9.2s
🟢 sticky chrome: accept below the fold, then continue 7.9s
🟢 async states: load, pull to refresh, claim through the toast 11.5s
🟢 huge virtualized list reaches row 512 50.2s
🟢 tests/flows.e2e.ts · 7 passed 47.1s
🟢 text inputs unlock the submit button 5.7s
🟢 filled text inputs report their values 5.1s
🟢 modal flow confirms through the native alert 8.5s
🟢 bottom tabs act inside the last tab 6.3s
🟢 error recovery retries, then confirms the delete 8.1s
🟢 choice controls place the exact order 5.5s
🟢 debounced search selects the target once results arrive 7.9s
🟢 tests/login-form.e2e.ts · 3 passed 25.3s
🟢 login form › rejects a malformed email 6.8s
🟢 login form › rejects an unknown account 6.7s
🟢 login form › signs in and logs out 11.8s
🟢 tests/smoke.e2e.ts · 1 passed 4.6s
🟢 home lists the scenarios and opens one 4.6s

e2e 0.21.3 · 7m 29s · android-emulator · run artifacts

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Oct 30, 2026
@okwasniewski
okwasniewski merged commit 7372b0a into main Oct 30, 2026
39 of 41 checks passed
@okwasniewski
okwasniewski deleted the oskar/assert-params branch October 30, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size: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.

Feature: support params (unique) on agent.assert

1 participant