diff --git a/tests/test_simulator_tab_gui.py b/tests/test_simulator_tab_gui.py index 0d8b53f287..d3215cb4a6 100644 --- a/tests/test_simulator_tab_gui.py +++ b/tests/test_simulator_tab_gui.py @@ -380,10 +380,7 @@ def test_open_simulator_dialog_and_send_mismatching_message(self): logger.debug("Waiting for mismatching message") time.sleep(1) - QTest.qWait(250) - QApplication.processEvents() - QTest.qWait(100) - + dialog.on_timer_timeout() # enforce writing to text view simulator_log = dialog.ui.textEditSimulation.toPlainText() self.assertIn("Received message 1", simulator_log) self.assertIn("preamble: 11111111", simulator_log)