mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
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:
1 parent
108f0e33da
commit
f49ea7f2cb
1 file changed
+7
@@ -3,6 +3,13 @@ export type Snapshots = Record<string, unknown>;
|
||||
export interface AccessibilityElement {
|
||||
id?: 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 };
|
||||
x?: number;
|
||||
y?: number;
|
||||
|
||||
Reference in new issue
Block a user