From d32451be1c52438bec0d0091c8ece60198aa9459 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 20 Aug 2020 00:02:56 +0200 Subject: [PATCH] Add a delay for loading the document view ite from outline --- tests/test_gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_gui.py b/tests/test_gui.py index 9f211dd9..662a2f6b 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -1168,6 +1168,7 @@ def testOutline(qtbot, nwTempBuild, nwLipsum, nwTemp): # Click POV Link qtbot.mouseClick(nwGUI.projMeta.povKeyValue, Qt.LeftButton) + qtbot.wait(500) assert nwGUI.docViewer.theHandle == "4c4f28287af27" # qtbot.stopForInteraction()