status-desktop/test/e2e/constants/commands.py

14 lines
275 B
Python
Raw Normal View History

from configs import system
# Buttons
BACKSPACE = 'Backspace'
COMMAND = 'Command'
CTRL = 'Ctrl'
ESCAPE = 'Escape'
RETURN = 'Return'
SHIFT = 'Shift'
# Combinations
SELECT_ALL = f'{CTRL if system.get_platform() == "Windows" else COMMAND}+A'
OPEN_GOTO = f'{COMMAND}+{SHIFT}+G'