added assert on app wakeup

This commit is contained in:
cis 2021-07-14 15:39:59 +05:30
parent 7e87ece36b
commit 4be622ac42
No known key found for this signature in database
GPG Key ID: 11DC6F36E8B65B24

View File

@ -8,6 +8,8 @@ class SettingScreen(TeleniumTestProcess):
"""Show Setting Screen""" """Show Setting Screen"""
print("=====================Test -Show Setting Screen=====================") print("=====================Test -Show Setting Screen=====================")
self.cli.sleep(3) self.cli.sleep(3)
# this is for checking current screen
self.assertExists("//Inbox[@name~=\"inbox\"]", timeout=2)
# this is for opening Nav drawer # this is for opening Nav drawer
self.cli.wait_click('//MDActionTopAppBarButton[@icon=\"menu\"]', timeout=2) self.cli.wait_click('//MDActionTopAppBarButton[@icon=\"menu\"]', timeout=2)
# checking state of Nav drawer # checking state of Nav drawer