mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 07:49:48 -05:00
Add tests to make sure URL, QR Code, description etc are hidden when server stops
This commit is contained in:
parent
58a96ef787
commit
e68b4c674d
@ -358,6 +358,11 @@ class GuiBaseTest(unittest.TestCase):
|
||||
):
|
||||
tab.get_mode().server_status.server_button.click()
|
||||
self.assertEqual(tab.get_mode().server_status.status, 0)
|
||||
self.assertFalse(tab.get_mode().server_status.show_url_qr_code_button.isVisible())
|
||||
self.assertFalse(tab.get_mode().server_status.copy_url_button.isVisible())
|
||||
self.assertFalse(tab.get_mode().server_status.url.isVisible())
|
||||
self.assertFalse(tab.get_mode().server_status.url_description.isVisible())
|
||||
self.assertFalse(tab.get_mode().server_status.copy_hidservauth_button.isVisible())
|
||||
|
||||
def web_server_is_stopped(self, tab):
|
||||
"""Test that the web server also stopped"""
|
||||
|
Loading…
Reference in New Issue
Block a user