diff --git a/tests/QtTestCase.py b/tests/QtTestCase.py index cadbba76..666b1a7b 100644 --- a/tests/QtTestCase.py +++ b/tests/QtTestCase.py @@ -31,6 +31,8 @@ class QtTestCase(unittest.TestCase): self.form = MainController() def add_signal_to_form(self, filename: str): + QApplication.instance().processEvents() + QTest.qWait(1) self.form.add_signalfile(get_path_for_data_file(filename)) def tearDown(self):