From 5b870f101ed90105d6f0966227835c01c579c9e4 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 2 Apr 2024 11:07:56 +0200 Subject: [PATCH] SquishTests: Adapt key sequence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/system/suite_HELP/tst_HELP02/test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/system/suite_HELP/tst_HELP02/test.py b/tests/system/suite_HELP/tst_HELP02/test.py index 9c5104087e0..31a3e7c2de4 100644 --- a/tests/system/suite_HELP/tst_HELP02/test.py +++ b/tests/system/suite_HELP/tst_HELP02/test.py @@ -4,11 +4,11 @@ source("../../shared/qtcreator.py") if platform.system() == 'Darwin': - keysToType = '' - expectedKeys = 'Cmd+Opt+A' + keysToType = '' + expectedKeys = 'Cmd+Opt+V' else: - keysToType = '' - expectedKeys = 'Ctrl+Alt+A' + keysToType = '' + expectedKeys = 'Ctrl+Alt+V' # test Qt Creator version information from file and dialog