From aef093a3e57a95bc33377e383af86caded8bc846 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 20 Aug 2020 20:48:07 +0200 Subject: [PATCH] Try calling the function directly --- tests/test_gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_gui.py b/tests/test_gui.py index 1f553a8c..ee2510c8 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -336,7 +336,8 @@ def testProjectEditor(qtbot, nwTempGUI, nwRef, nwTemp): qtbot.wait(stepDelay) projEdit.tabReplace.listBox.clearSelection() - qtbot.mouseClick(projEdit.tabReplace.addButton, Qt.LeftButton) + # qtbot.mouseClick(projEdit.tabReplace.addButton, Qt.LeftButton) + projEdit.tabReplace._addEntry() newIdx = -1 for i in range(projEdit.tabReplace.listBox.topLevelItemCount()):