mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 23:45:04 -04:00
Test that the Private Key button is not present in public mode, in GUI share tests
This commit is contained in:
parent
baba958040
commit
5f16be8bf3
2 changed files with 17 additions and 0 deletions
|
@ -507,6 +507,17 @@ class TestShare(GuiBaseTest):
|
|||
|
||||
self.close_all_tabs()
|
||||
|
||||
# Now try in public mode
|
||||
tab = self.new_share_tab()
|
||||
tab.get_mode().mode_settings_widget.public_checkbox.click()
|
||||
self.run_all_common_setup_tests()
|
||||
self.run_all_share_mode_setup_tests(tab)
|
||||
self.run_all_share_mode_started_tests(tab)
|
||||
self.clientauth_is_not_visible(tab)
|
||||
|
||||
self.close_all_tabs()
|
||||
|
||||
|
||||
def test_405_page_returned_for_invalid_methods(self):
|
||||
"""
|
||||
Our custom 405 page should return for invalid methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue