From 0b5648e4078b7ee71e208cf0ccf798a35e1f2c28 Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Tue, 24 Aug 2021 13:47:54 +0530 Subject: [PATCH] assert check for active sub-tab in network screen --- src/bitmessagekivy/tests/test_network_screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessagekivy/tests/test_network_screen.py b/src/bitmessagekivy/tests/test_network_screen.py index e4a5f0f4..03d53142 100644 --- a/src/bitmessagekivy/tests/test_network_screen.py +++ b/src/bitmessagekivy/tests/test_network_screen.py @@ -31,4 +31,4 @@ class NetworkStatusScreen(TeleniumTestProcess): # Clicking on Processes Tab self.cli.wait_click('//NetworkStat/MDTabs[0]//MDTabsLabel[@text=\"Processes\"]', timeout=3) # this is for checking current screen - self.assertExists("//ScreenManager[@current=\"networkstat\"]", timeout=3) + self.assertTrue('//NetworkStat/MDTabs[@disabled]', 'False')