From 283554a655da9ae9859ccc25903ede90a215bce2 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 21 Aug 2020 19:14:53 -0400 Subject: [PATCH] Wait longer, and Windows tests work --- tests/test_gui_share.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_gui_share.py b/tests/test_gui_share.py index 58c90977..414472c0 100644 --- a/tests/test_gui_share.py +++ b/tests/test_gui_share.py @@ -199,6 +199,7 @@ class TestShare(GuiBaseTest): self.add_remove_buttons_hidden(tab) self.mode_settings_widget_is_hidden(tab) self.set_autostart_timer(tab, 10) + QtTest.QTest.qWait(500) QtTest.QTest.mousePress( tab.get_mode().server_status.server_button, QtCore.Qt.LeftButton ) @@ -206,6 +207,7 @@ class TestShare(GuiBaseTest): QtTest.QTest.mouseRelease( tab.get_mode().server_status.server_button, QtCore.Qt.LeftButton ) + QtTest.QTest.qWait(500) self.assertEqual( tab.get_mode().server_status.status, tab.get_mode().server_status.STATUS_STOPPED,