feat(spec): add desc, class, clickable, enabled, checked, focused, selected to AccessibilityElement

Runtime fields set by the verifier were missing from the TypeScript type,
causing linting errors on el.desc and related accesses in specs.
This commit is contained in:
pj committed 2026-04-25 20:02:29 +07:00
1 parent 108f0e33da
commit f49ea7f2cb
1 file changed
+7
+7
View File
@@ -3,6 +3,13 @@ export type Snapshots = Record<string, unknown>;
export interface AccessibilityElement { export interface AccessibilityElement {
id?: string; id?: string;
text?: string; text?: string;
desc?: string;
class?: string;
clickable?: boolean;
enabled?: boolean;
checked?: boolean;
focused?: boolean;
selected?: boolean;
bounds?: { left: number; top: number; right: number; bottom: number }; bounds?: { left: number; top: number; right: number; bottom: number };
x?: number; x?: number;
y?: number; y?: number;