|
| 1 | +import type { RawSnapshotNode } from '@agent-device/kernel/snapshot'; |
| 2 | + |
| 3 | +const roomRowRect = { x: 0, y: 400, width: 402, height: 96 }; |
| 4 | + |
| 5 | +export const elementClassicRoomListNodes: RawSnapshotNode[] = [ |
| 6 | + { index: 0, depth: 0, type: 'Application', label: 'Element Classic' }, |
| 7 | + { index: 1, depth: 1, parentIndex: 0, type: 'Table', label: 'HomeVCTableView' }, |
| 8 | + { |
| 9 | + index: 2, |
| 10 | + depth: 2, |
| 11 | + parentIndex: 1, |
| 12 | + type: 'Cell', |
| 13 | + identifier: 'RecentTableViewCell', |
| 14 | + label: 'Vertical scroll bar, 1 page', |
| 15 | + rect: roomRowRect, |
| 16 | + }, |
| 17 | + { index: 3, depth: 3, parentIndex: 2, type: 'StaticText', label: 'Book Club' }, |
| 18 | + { |
| 19 | + index: 4, |
| 20 | + depth: 3, |
| 21 | + parentIndex: 2, |
| 22 | + type: 'StaticText', |
| 23 | + label: 'Dave: Loving it so far, the worldbuilding is great.', |
| 24 | + }, |
| 25 | + { index: 5, depth: 3, parentIndex: 2, type: 'StaticText', label: '03:55' }, |
| 26 | + { |
| 27 | + index: 6, |
| 28 | + depth: 2, |
| 29 | + parentIndex: 1, |
| 30 | + type: 'Cell', |
| 31 | + identifier: 'RecentTableViewCell', |
| 32 | + label: 'Vertical scroll bar, 1 page', |
| 33 | + rect: { ...roomRowRect, y: 496 }, |
| 34 | + }, |
| 35 | + { index: 7, depth: 3, parentIndex: 6, type: 'StaticText', label: 'Team Standup' }, |
| 36 | + { index: 8, depth: 3, parentIndex: 6, type: 'StaticText', label: 'Dave: No blockers from me.' }, |
| 37 | + { index: 9, depth: 3, parentIndex: 6, type: 'StaticText', label: '03:55' }, |
| 38 | +]; |
| 39 | + |
| 40 | +export const legitimatelyLabeledCellNodes: RawSnapshotNode[] = [ |
| 41 | + { index: 0, depth: 0, type: 'Application', label: 'Example' }, |
| 42 | + { |
| 43 | + index: 1, |
| 44 | + depth: 1, |
| 45 | + parentIndex: 0, |
| 46 | + type: 'Cell', |
| 47 | + label: 'Stem Cell', |
| 48 | + rect: roomRowRect, |
| 49 | + }, |
| 50 | + { index: 2, depth: 2, parentIndex: 1, type: 'StaticText', label: 'Research details' }, |
| 51 | +]; |
0 commit comments