diff --git a/src/bitmessagekivy/tests/telenium_process.py b/src/bitmessagekivy/tests/telenium_process.py index 23c177cd..4ae97942 100644 --- a/src/bitmessagekivy/tests/telenium_process.py +++ b/src/bitmessagekivy/tests/telenium_process.py @@ -73,14 +73,14 @@ class TeleniumTestProcess(TeleniumTestCase): try: if self.cli.getattr(selector, 'current') == value: self.assertTrue(selector, value) - return True + break except TeleniumHttpException: sleep(0.1) continue finally: # Finally Sleep is used to make the menu button funcationlly available for the click process. # (because Transition is little bit slow) - sleep(0.1) + sleep(0.2) def drag(self, xpath1, xpath2): """this method is for dragging""" diff --git a/src/bitmessagekivy/tests/test_network_screen.py b/src/bitmessagekivy/tests/test_network_screen.py index 7f347974..ff586b66 100644 --- a/src/bitmessagekivy/tests/test_network_screen.py +++ b/src/bitmessagekivy/tests/test_network_screen.py @@ -9,7 +9,7 @@ class NetworkStatusScreen(TeleniumTestProcess): @skip_screen_checks def test_network_status(self): - """Show NetwrokStatus""" + """Show NetworkStatus""" # This is for checking Current screen self.assert_wait_no_except('//ScreenManager[@current]', timeout=15, value='inbox') # This is for checking the Side nav Bar id closed diff --git a/src/bitmessagekivy/tests/test_setting_screen.py b/src/bitmessagekivy/tests/test_setting_screen.py index d81d267c..f3c18d87 100644 --- a/src/bitmessagekivy/tests/test_setting_screen.py +++ b/src/bitmessagekivy/tests/test_setting_screen.py @@ -12,7 +12,7 @@ class SettingScreen(TeleniumTestProcess): """Show Setting Screen""" # This is for checking Current screen self.assert_wait_no_except('//ScreenManager[@current]', timeout=15, value='inbox') - # This is for checking the Side nav Bar id closed + # This is for checking the Side nav Bar is closed self.assertExists('//MDNavigationDrawer[@status~=\"closed\"]', timeout=5) # This is for checking the menu button is appeared self.assertExists('//MDActionTopAppBarButton[@icon~=\"menu\"]', timeout=5)