You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bd0aff2
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(replay): read the readiness-budgeted commands from their declaration
Replay hardcoded press/click/longpress as the commands that get a default
readinessTimeoutMs. Nothing declared that set per command:
readinessTimeoutMs is a common input field every command reads.
press, click and longpress now declare `targetReadiness: 'budgeted'` in the
command registry. Replay reads it through commandAcceptsReadinessBudget.
resolveCommandTimeoutPolicy attaches the trait to the resolved timeout
policy, and resolveCommandRequestTimeoutMs widens the envelope by the
readiness budget only when that trait is present. Before, it widened for
any command whose flags carried readinessTimeoutMs; only these three
commands forward the field to request flags, so no request changes.
A test asserts that the commands with the trait equal the commands the
`runtime` targetReadiness guarantee cells in interaction-guarantees.ts
apply to. The replay default test iterates the declared set.
0 commit comments