SquishTests: Adapt key sequence

The key sequence used by the test can interfere with other shortcuts
or special handling provided by the OS itself (e.g. Ctrl+Alt can be
understood as AltGr on Windows and treated differently).
Current approach modifies the detected key on Win11, so move over to
another key sequence which may likely be usable cross platform for
some time.

Change-Id: I33e981215ef09fc62c4c2913b3a72b43f39f8684
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2024-04-02 11:07:56 +02:00
parent 1e05c45d8f
commit 5b870f101e

View File

@@ -4,11 +4,11 @@
source("../../shared/qtcreator.py")
if platform.system() == 'Darwin':
keysToType = '<Command+Alt+a>'
expectedKeys = 'Cmd+Opt+A'
keysToType = '<Command+Alt+v>'
expectedKeys = 'Cmd+Opt+V'
else:
keysToType = '<Ctrl+Alt+a>'
expectedKeys = 'Ctrl+Alt+A'
keysToType = '<Ctrl+Alt+v>'
expectedKeys = 'Ctrl+Alt+V'
# test Qt Creator version information from file and dialog