From 11b91ef7acb6ba1204817c5b2d35c7095f2e10f8 Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Thu, 26 Aug 2021 13:31:37 +0530 Subject: [PATCH] refactored --- src/bitmessagekivy/tests/test_network_screen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitmessagekivy/tests/test_network_screen.py b/src/bitmessagekivy/tests/test_network_screen.py index 03d53142..18ee938a 100644 --- a/src/bitmessagekivy/tests/test_network_screen.py +++ b/src/bitmessagekivy/tests/test_network_screen.py @@ -30,5 +30,5 @@ class NetworkStatusScreen(TeleniumTestProcess): self.assertExists("//ScreenManager[@current=\"networkstat\"]", timeout=5) # Clicking on Processes Tab self.cli.wait_click('//NetworkStat/MDTabs[0]//MDTabsLabel[@text=\"Processes\"]', timeout=3) - # this is for checking current screen - self.assertTrue('//NetworkStat/MDTabs[@disabled]', 'False') + # this is for checking current sub-tab + self.assertTrue('//NetworkStat/RelativeLayout[1]/Tab[@disabled]', 'False')