diff --git a/tests/system/suite_editors/tst_rename_macros/test.py b/tests/system/suite_editors/tst_rename_macros/test.py index 0ad013cc9a2..49737f3b492 100644 --- a/tests/system/suite_editors/tst_rename_macros/test.py +++ b/tests/system/suite_editors/tst_rename_macros/test.py @@ -78,6 +78,7 @@ def testRenameMacroAfterSourceMoving(): if not content: return False formerTexts["testfiles.Headers.testfile\\.h"] = content + waitForProjectTreeItem("testfiles.Headers.anothertestfile\\.h", 5000) content = openDocumentPlaceCursor("testfiles.Headers.anothertestfile\\.h", "#define ANOTHERTESTFILE_H", __paste__) if not content: