From 68074eae5322c6cb054db779e64a24ed4ed73204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Fri, 30 Aug 2024 13:12:29 +0200 Subject: [PATCH] SquishTests: Update tst_git_local for clarified menu b13a2804f0e67b130a7223e235cded8d95906c49 clarifies that "Current Project" referred to the directory's content, not the actual project. Therefore, commits in files which are not part of the project shall appear in the log if they are in the same directory. Task-number: QTCREATORBUG-10170 Change-Id: Id95c18ae66ce1a80f387432e1b6b3dcdaf1ef6bf Reviewed-by: Christian Stenger --- tests/system/suite_tools/tst_git_local/test.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/system/suite_tools/tst_git_local/test.py b/tests/system/suite_tools/tst_git_local/test.py index 70459e455e8..44083878bed 100644 --- a/tests/system/suite_tools/tst_git_local/test.py +++ b/tests/system/suite_tools/tst_git_local/test.py @@ -175,10 +175,9 @@ def main(): "Verify that no unrelated commits are displayed in file log") invokeMenuItem("File", "Close All") - invokeMenuItem('Tools', 'Git', 'Current Project', 'Log Project "%s"' % projectName) - projectLog = verifyItemsInGit(commitsInProject) - test.xverify(not commitOutsideProject in projectLog, # QTCREATORBUG-10170 - "Verify that no unrelated commits are displayed in project log") + invokeMenuItem('Tools', 'Git', 'Current Project Directory', + 'Log Directory of Project "%s"' % projectName) + verifyItemsInGit(commitMessages) invokeMenuItem("File", "Close All") invokeMenuItem("Tools", "Git", "Local Repository", "Log")