From d1f570336945a7f5c63eb2a3440fb2dc1b9d367a Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 20 Aug 2020 00:11:05 +0200 Subject: [PATCH] Drop the mouseclick and just pass the value --- tests/test_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_gui.py b/tests/test_gui.py index 662a2f6b..e512fbca 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -1167,8 +1167,8 @@ def testOutline(qtbot, nwTempBuild, nwLipsum, nwTemp): assert nwGUI.projMeta.itemValue.text() == "Finished" # Click POV Link - qtbot.mouseClick(nwGUI.projMeta.povKeyValue, Qt.LeftButton) - qtbot.wait(500) + assert nwGUI.projMeta.povKeyValue.text() == "Bod" + nwGUI.projMeta._tagClicked("#pov=Bod") assert nwGUI.docViewer.theHandle == "4c4f28287af27" # qtbot.stopForInteraction()