refactored

This commit is contained in:
shekhar-cis 2021-08-26 13:31:37 +05:30
parent 0b5648e407
commit 11b91ef7ac
Signed by untrusted user: shekhar-cis
GPG Key ID: 8B2A6C8D5F7F1635

View File

@ -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')