fix(provider-webdriver): an orientation refused by every route reports dispatched no
Merged
TH
2mo ago+59+59+01234567890123456789-3-3-0123456789
Summary
setWebDriverOrientation tries two routes and, when the driver refuses both as not implemented, threw a COMMAND_FAILED with attempts only: no reason, no dispatched. The router then stamped that failure dispatched: unknown although nothing reached the device. Found by cubic on #3090.
webdriver-transport.ts: the one owner of the refusal details,unsupportedRouteRefusal()(reason: webdriver_route_unsupported,dispatched: no), used bywebdriverErrorand now by the orientation fallback's final error.webdriver-orientation.ts: the every-route-refused error carries those details besiderotationandattempts.- Golden table: one row,
webdriver.orientation.every-route-unsupported→no, driven inwebdriver-orientation.test.ts(the owner map gains thewebdriver.orientation.prefix). Mutation: dropping the spread fails the row and the existing both-endpoints test.
Part of #3069. +1 row (80).
Validation
webdriver-orientation.test.ts, webdriver-transport.test.ts, contracts/dispatch-disclosure.test.ts (40 tests), pnpm typecheck, check:layering, check:fallow --base 8c0edab4c7, oxfmt on the five files.