SquishTests: Update tst_git_local for clarified menu

b13a2804f0 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 <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2024-08-30 13:12:29 +02:00
parent 6cb958de9a
commit 68074eae53

View File

@@ -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")