diff --git a/src/bitmessagekivy/tests/test_payment_subscription.py b/src/bitmessagekivy/tests/test_payment_subscription.py index f5d3fd2b..f664c1a5 100644 --- a/src/bitmessagekivy/tests/test_payment_subscription.py +++ b/src/bitmessagekivy/tests/test_payment_subscription.py @@ -16,6 +16,8 @@ class PaymentScreen(TeleniumTestProcess): self.assertCheckScrollDown('//ContentNavigationDrawer//ScrollView[0]', timeout=3) # this is for opening Payment screen self.cli.wait_click('//NavigationItem[@text=\"Purchase\"]', timeout=5) + # Checking the navbar is in closed state + self.assertExists('//MDNavigationDrawer[@status~=\"closed\"]', timeout=5) # Assert for checking Current Screen self.assertExists("//ScreenManager[@current=\"payment\"]", timeout=5) # Scrolling Down Product list diff --git a/src/bitmessagekivy/tests/test_setting_screen.py b/src/bitmessagekivy/tests/test_setting_screen.py index 949a6f51..1a44bc7d 100644 --- a/src/bitmessagekivy/tests/test_setting_screen.py +++ b/src/bitmessagekivy/tests/test_setting_screen.py @@ -1,13 +1,11 @@ # pylint: disable=too-few-public-methods from .telenium_process import TeleniumTestProcess -from .common import skip_screen_checks class SettingScreen(TeleniumTestProcess): """Setting Screen Functionality Testing""" - @skip_screen_checks def test_setting_screen(self): """Show Setting Screen""" # This is for checking Current screen @@ -37,7 +35,3 @@ class SettingScreen(TeleniumTestProcess): '//MDTabs[0]//MDLabel[@text=\"Username:\"]', '//MDTabs[0]//MDLabel[@text=\"Port:\"]', 1, timeout=5) # Checking state of 'Resends Expire' sub tab should be 'normal'(inactive) self.assertExists('//MDTabs[0]//MDTabsLabel[@text=\"Resends Expire\"][@state=\"normal\"]', timeout=5) - # Scrolling down currrent screen - self.cli.wait_click('//MDTabs[0]//MDTabsLabel[@text=\"Resends Expire\"]', timeout=5) - # Checking state of 'Resends Expire' sub tab should be 'down'(active) - self.assertExists('//MDTabs[0]//MDTabsLabel[@text=\"Resends Expire\"][@state=\"down\"]', timeout=5)