Wait longer, and Windows tests work

This commit is contained in:
Micah Lee 2020-08-21 19:14:53 -04:00
parent 0b962d18ef
commit 283554a655
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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,