AI_UIAutomation/locators/lock-locators.ts

70 lines
2.1 KiB
TypeScript

import { ElementLocator } from '../drivers/types';
export const LOCK_LOCATORS: Record<string, ElementLocator> = {
lockButton: {
name: 'Lock button',
ios: { using: 'name', value: 'Lock' },
android: { using: 'text', value: 'Lock' },
},
unlockButton: {
name: 'Unlock button',
ios: { using: 'name', value: 'Unlock' },
android: { using: 'text', value: 'Unlock' },
},
pairKeypadItem: {
name: 'Pair Keypad menu item',
ios: { using: 'name', value: 'Pair Keypad' },
android: { using: 'text', value: 'Pair Keypad' },
},
pairRemoteItem: {
name: 'Pair Remote menu item',
ios: { using: 'name', value: 'Pair Remote' },
android: { using: 'text', value: 'Pair Remote' },
},
logsItem: {
name: 'Logs menu item',
ios: { using: 'name', value: 'Logs' },
android: { using: 'text', value: 'Logs' },
},
autoLockSwitch: {
name: 'Auto Lock switch',
ios: { using: 'name', value: 'Auto Lock' },
android: { using: 'text', value: 'Auto Lock' },
},
notificationSwitch: {
name: 'Notification switch',
ios: { using: 'name', value: 'Notification' },
android: { using: 'text', value: 'Notification' },
},
indicatorLightSwitch: {
name: 'Indicator Light switch',
ios: { using: 'name', value: 'Indicator Light' },
android: { using: 'text', value: 'Indicator Light' },
},
settingsButton: {
name: 'Settings button',
ios: { using: 'name', value: 'Settings' },
android: { using: 'text', value: 'Settings' },
},
firmwareItem: {
name: 'Firmware & Battery menu item',
ios: { using: 'name', value: 'Firmware & Battery' },
android: { using: 'text', value: 'Firmware & Battery' },
},
deviceInfoItem: {
name: 'Device Info menu item',
ios: { using: 'name', value: 'Device Info' },
android: { using: 'text', value: 'Device Info' },
},
nfcItem: {
name: 'NFC menu item',
ios: { using: 'name', value: 'NFC' },
android: { using: 'text', value: 'NFC' },
},
deleteItem: {
name: 'Delete menu item',
ios: { using: 'name', value: 'Delete' },
android: { using: 'text', value: 'Delete' },
},
};