draft screen: calling side navbar method

This commit is contained in:
shekhar-cis 2021-10-22 17:10:42 +05:30
parent 5cad8632bd
commit 1bf3145455
Signed by untrusted user: shekhar-cis
GPG Key ID: 8B2A6C8D5F7F1635

View File

@ -123,9 +123,7 @@ class SendMessage(TeleniumTestProcess):
Checking Message in Sent Screen after sending a Message.
"""
# this is for opening Nav drawer
self.cli.wait_click('//MDActionTopAppBarButton[@icon=\"menu\"]', timeout=5)
# checking state of Nav drawer
self.assertExists("//MDNavigationDrawer[@state~=\"open\"]", timeout=5)
self.open_side_navbar()
# Clicking on Sent Tab
self.cli.wait_click('//NavigationItem[@text=\"Sent\"]', timeout=5)
# Checking current screen; Sent