Toggle dev mode to change network

Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
This commit is contained in:
Serhy 2018-05-18 20:31:01 +03:00 committed by Anton Danchenko
parent c0bad8f848
commit 26c819cc9c
No known key found for this signature in database
GPG Key ID: C2D4819B698627E4
1 changed files with 2 additions and 0 deletions

View File

@ -266,6 +266,8 @@ class ProfileView(BaseView):
self.select_from_gallery_button = SelectFromGalleryButton(self.driver)
def switch_network(self, network):
self.advanced_button.click()
self.debug_mode_toggle.click()
self.network_settings_button.scroll_to_element()
self.network_settings_button.click()
network_button = NetworkSettingsButton.NetworkButton(self.driver, network)