added assert on app wakeup
This commit is contained in:
parent
7e87ece36b
commit
4be622ac42
|
@ -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
|
||||||
|
|
Reference in New Issue
Block a user