docs(replay-ui): the enumeration reaches step rows now

the comment said role="option" is not in the tappable selector set,
which stopped being true a few commits ago. selectAStep stays, for the
reason the tab weight below it stays: one row among the page's clickable
elements is a thin chance, and both step-facing properties go vacuous on
a run that never selects one.
This commit is contained in:
pj committed 2026-08-15 12:46:32 +05:30
1 parent f09c6b5d4d
commit 7c26eac322
1 file changed
+4 -2
+4 -2
View File
@@ -143,8 +143,10 @@ export const properties = {
badgeCountMatchesThePanel,
};
// Step rows are <li role="option">, which is not in the tappable selector set
// the default enumeration draws from, so selecting a step needs its own action.
// Step rows get their own weight for the same reason tabs do below: the default
// enumeration reaches them now that role="option" is in the tappable set, but
// one row out of the page's clickable elements is a thin chance, and both
// step-facing properties are vacuous on a run that never selects one.
const rowElements = extract("rowElements", (s) => s.ax.findAll({ "data-testid": "step-row" }));
const selectAStep = actions(() => {