assert check for active sub-tab in network screen

This commit is contained in:
shekhar-cis 2021-08-24 13:47:54 +05:30
parent e8c2d4116d
commit 0b5648e407
Signed by untrusted user: shekhar-cis
GPG Key ID: 8B2A6C8D5F7F1635

View File

@ -31,4 +31,4 @@ class NetworkStatusScreen(TeleniumTestProcess):
# Clicking on Processes Tab # Clicking on Processes Tab
self.cli.wait_click('//NetworkStat/MDTabs[0]//MDTabsLabel[@text=\"Processes\"]', timeout=3) self.cli.wait_click('//NetworkStat/MDTabs[0]//MDTabsLabel[@text=\"Processes\"]', timeout=3)
# this is for checking current screen # this is for checking current screen
self.assertExists("//ScreenManager[@current=\"networkstat\"]", timeout=3) self.assertTrue('//NetworkStat/MDTabs[@disabled]', 'False')