From 4be622ac42a59cca526735ccbb7b0ee3a400613c Mon Sep 17 00:00:00 2001 From: cis Date: Wed, 14 Jul 2021 15:39:59 +0530 Subject: [PATCH] added assert on app wakeup --- src/bitmessagekivy/tests/test_setting_screen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitmessagekivy/tests/test_setting_screen.py b/src/bitmessagekivy/tests/test_setting_screen.py index 76844817..a5c66951 100644 --- a/src/bitmessagekivy/tests/test_setting_screen.py +++ b/src/bitmessagekivy/tests/test_setting_screen.py @@ -8,6 +8,8 @@ class SettingScreen(TeleniumTestProcess): """Show Setting Screen""" print("=====================Test -Show Setting Screen=====================") self.cli.sleep(3) + # this is for checking current screen + self.assertExists("//Inbox[@name~=\"inbox\"]", timeout=2) # this is for opening Nav drawer self.cli.wait_click('//MDActionTopAppBarButton[@icon=\"menu\"]', timeout=2) # checking state of Nav drawer